Sysview and CICS NEWCOPY Using Batch

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

Customer would like to do a NEWCOPY of a CICS program using SYSVIEW in batch.

Question:

Is it possible to use SYSVIEW in batch (PGM=GSVXBAT) to submit Newcopy functions ? 

 

 

Environment:
z/OS and CICS
Answer:

Yes and here are two examples of the GSVXBAT (SYSVIEW batch) control cards to be used as input one which uses the CEMT command an one which uses the CICSSET SYSVIEW commands :

 

Example 1) 


COMMAND=(CICSSET JOB ZINCICBQ PROGRAM MBDUMP NEWCOPY)

COMMAND=(END) END THE BATCH SESSION 

or

Example 2)

 
COMMAND=(MVS F CICSREGN,CEMT SET PROG(ProgName)) NEW

COMMAND=(END) END THE BATCH SESSION