JCL equivalent of CEMT NEWCOPY

时间秒杀一切 提交于 2019-12-13 06:22:19

问题


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.

  1. 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.
  2. 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.
  3. 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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!