问题
I am looking for the JCL equivalent of NEWCOPY method in CEMT/CICS:
CEMT SET PROG(xxxx) NEWCOPY
Any help would be appreciated.
回答1:
If your answer to NealB's question is "Yes," then here are some options.
- Invoke CEMT via an operator command. One way to do this is to run SDSF in batch, another is to use the TSO CONSOLE command. Be advised that this requires authorization.
- Write a program in your preferred programming language and invoke the CICS System Programming API SET PROGRAM. Then write another program, to be executed in batch, that uses the External CICS Interface (EXCI) to invoke your CICS program that does the SET PROGRAM.
- There exist third-party tools that do what you want, DADS PLUS is one. We use a facility built into our change management system, Change Man from Serena. There are likely others.
回答2:
You can just use the JCL COMMAND to embed the COMMAND in your job stream:
//CMD1 COMMAND 'F CICSRGN1, CEMT SET PROG(xxx) NEWCOPY'
I'm not sure of the syntax, but it is exactly what you would use from an opperator terminal.
来源:https://stackoverflow.com/questions/13740721/jcl-equivalent-of-cemt-newcopy