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