Starting the batch container automatically

You can start the batch container automatically by using a PLT program.

Before you begin

A sample assembler program, DFHBAPLT is supplied in source and compiled forms. The code in DFHBAPLT specifies a JVM server name of DFHBATJS. If you use a different JVM server name, you must modify and compile the DFHBAPLT source code.

Procedure

  1. Add program DFHBAPLT to the CSD group DFHBATCH.
  2. Add program DFHBAPLT to a PLT table as a second phase program.
    For example:
    ********************************************
    * PLT FOR BATCH 
    ********************************************
    DFHPLT TYPE=INITIAL,SUFFIX=BA 
    DFHPLT TYPE=ENTRY,PROGRAM=DFHDELIM 
    DFHPLT TYPE=ENTRY,PROGRAM=DFHBAPLT 
    DFHPLT TYPE=FINAL 
    END 

    For more information about program list tables, see Writing initialization programs.

  3. Assemble the PLT table into a LOAD library and add to the DFHRPL concatenation.
  4. Add the CSD group DFHBATCH to a group list installed as part of CICS® startup.
  5. Specify the following parameters in the CICS System Initialization Table:
    PLTPI=<two letter indicator for PLT table to load>
    TCPIP=YES
    DB2CONN=YES


startingbatch_auto.html | Timestamp icon Last updated: Sunday, 4 June 2017