IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need to set the Newcopy for for 1000 CICS programs


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
GAFUR

New User


Joined: 19 May 2005
Posts: 31

PostPosted: Tue Jan 22, 2008 12:32 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Tue Jan 22, 2008 6:30 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Jan 22, 2008 6:40 pm
Reply with quote

Search this forum for the terms 'batch' and 'cemt'. You will find some good examples.

O.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Tue Jan 22, 2008 8:00 pm
Reply with quote

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

icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top