Information

This site will undergo a brief period of maintenance on Friday, 18 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Setting up AR/CTL with JCL changes


Depending on the type of application program and on the methods you choose to implement 

AR/CTL

 participation, perform these steps as applicable:

  1. If the program uses Db2 and is attached to run under any other program or product (except AR/CTL), change the JCL to invoke the program directly.Many batch Db2 programs that use the TSO attach method execute program IKJEFT01 and provide the Db2 attach and execute commands with the SYSTSIN DD statement. The following example shows this method of executing a Db2 program without AR/CTL:

    //S1      EXEC PGM=IKJEFT01
    //SYSTSIN DD   *
      DSN SYSTEM (DB2P)
      RUN PROGRAM (MYPROG)
      END
    /*
    // ADDITIONAL DD CARDS......

    To use AR/CTL for a Db2 program that is set up to use TSO attach (or any product that performs the attach on behalf of the application program), you must modify the EXEC statement in the JCL to execute the Db2 program in place of IKJEFT01. You can provide the Db2 attach information in the program execution record or with the ARCSSMLB DD statement, as explained in Setting-up-Db2-connections.

    Db2 programs that used AR/CTL Version 1 execute program ARCCTRL. You do not need to change this program name.

  2. If you want to use the AES$ssid DD statement, insert the AES$ssid DD DUMMY statement into the step JCL, where ssid is the four-character subsystem ID of the BCSS to use during execution.For more information, see Using-AR-CTL-DD-statements.

    Warning

    Note

    Even if you code the AES$ssid DD statement, you must still provide a program registration record that applies to the job step (unless the program name is DFSRRC00 or ARCCTRL).

  3. If you are using the AR/CTL Status Check utility (program AESUVBCS) to ensure that AR/CTL products, components, and functions are available, and if you want to execute this utility as a stand-alone program, insert the utility job step ahead of the application program execution job step.For more information, see Administering.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Application Restart Control for Db2, IMS and VSAM 4.2