What is the syntax of a MacKinney Batch to CICS CNTL=NEW command?

Document ID : KB000046259
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

What is the syntax of a MacKinney Batch to CICS CNTL=NEW command?

Answer:

After making changes to a program and recompiling, one needs to perform a CNTL=NEW each time CEMT SET PROG NEW is executed.  We execute CEMT SET PROG NEW from a batch job using MacKinney Batch To CICS.  So we are trying to do the same thing with CNTL=NEW.

The command to use is:

STAR CNTL 22 CNTL=NEW,PROG=XXXXX

Here is a breakdown of the command:

STAR -- MacKinney command to start a transaction
CNTL -- The transaction to be executed (limited to 4 characters)
CRLP -- The terminal that will be attached to the transaction
16 -- The length of the data to be passed to the transaction
=NEW,PROG,XXXXX -- The data to be passed to the transaction