View previous topic :: View next topic
|
Author |
Message |
GAFUR
New User
Joined: 19 May 2005 Posts: 31
|
|
|
|
Hi,
As part of my project i need to set the newcopy for more than 1000 CICS programs. Just wanted to know is there any jcl so that we can set the newcopy for all programs in single execution.
Thanks. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
When you recycle the region, the new versions should be present in your LOADLIB.
However, issuing a NEWCOPY is dangerous as it would be highly recommended to issue a PHASEIN instead.
As far as newcopying/phaseing-in 1000 programs, this is a procedure with which you need to discuss with your System's personnel. In fact, they should be the one's designated to perform such a task and should have a method in-place.
Besides, non-System's personnel should NOT have the ability to newcopy/phasein modules as this would not pass the SOX smell-test, providing you're performing work for a US-based corporation.
Regards,
Bill |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Search this forum for the terms 'batch' and 'cemt'. You will find some good examples.
O. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
|
|
Ask your systems people about a 3rd party product.
batchcics-connect (www.batchcics.com) has ability to run any CICS
transaction from batch, including> cemt
you can write your own logic to run cemt newcopy as
many times as you want from a single batch cobol program
and even check the results.
If SOX smell test' is a problem, then your systems people could write the code. pretty simple to use.
move 'set program (xyz) new' to ws-input
exec hbi run transaction ('cemt')
inbound (ws-input)
outbound (ws-results)
end-exec
|
|
Back to top |
|
|
|