How to stop AR-CTL from rereading a record during a restart

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    APPLICATION RESTART CONTROL for DB2


    APPLIES TO:

    All versions of Application Restart for IMS, DB2, and VSAM



    QUESTION:

    How can I prevent AR/CTL from trying to read the next record of a sequential dataset during restart ?


    ANSWER:

    There are a few ways to do this. They are all in the AR/CTL customization application, in option 3.10.2 (Program and data set options-> Data set option (FCB) members.  When you create a member here, it will automatically be put into the Data set option (FCB) library listed at the bottom of the page.

    This is what the page looks like:

                               Sequential Data Set Options                         
     Command ===>                                                                  
                                                                                   
                                                                   Commands: CANcel
     Data set option member:  EXAMPLE                                             
                                                                                   
      To store or change a value, type over the value.  Then press Enter.          
                                                                                   
          DDname . . . . . . . . . . . .       EXAMPLE                                 
          Stage Output . . . . . . . . .       N                (N/Y)                          
            Stage Blocks . . . . . . . .       0                (0-32767)                      
            Stage Error  . . . . . . . .         CONT         (CONT/ABEND)                   
          Reposition Options . . . . . .     RECORD    (BLKONLY/RECONLY/RECORD/N)     
          User Exit Name . . . . . . . .                                           
          Reread record at reposition. .  N         (N/Y)                          
          Bypass intercept . . . . . . .      N         (N/Y)                          
          Allow restart if empty . . . .      N         (N,Y)   

    If you want AR/CTL to control the data set, but not reread it in a restart, set Reposition Options to N . This stops AR/CTL from repositioning the data set during a restart,  You should use this if you will NEVER change that record before a restart.  If you set the Reposition Options to N, none of the following options will apply:

       
    1. Reread record at reposition.  If you leave this set to the default N, AR/CTL will reposition the data set AFTER the last record read in the previous run; if you set it to Y, it will position it BEFORE that last record read in the previous run , thus rereading the last record when it restarts.
    2.  
    3. Bypass intercept: If you set this to Y, AR/CTL will totally ignore this file, and will not do any special processing on it.  This means it will not be repositioned.
      
         

     


    Article Number:

    000184051


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles