MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Moving load modules

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
PHacker
Beginner


Joined: 08 Sep 2004
Posts: 9
Topics: 5

PostPosted: Thu Dec 15, 2005 10:24 am    Post subject: Moving load modules Reply with quote

I'm trying to make a JCL to move production load modules to backup so newer versions can be placed in production.

I can do source, proc, and JCL PDS easy(IEBGENER ), but the loads give me problems. I want to make sure I can execute them from the backup library (or copy them back to production if needed.) Is there a IBM standard utility that will move them correctly?

thanks,

Paul
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Thu Dec 15, 2005 10:33 am    Post subject: Reply with quote

IEBCOPY is the utility we usually use to copy members of a library.
Back to top
View user's profile Send private message Visit poster's website
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Dec 15, 2005 10:33 am    Post subject: Reply with quote

PHacker,

Search for "ADRDSSU" in this forum and you will find examples.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
PHacker
Beginner


Joined: 08 Sep 2004
Posts: 9
Topics: 5

PostPosted: Thu Dec 15, 2005 11:36 am    Post subject: Reply with quote

Due to a shortage of people, we are all doing alot of our own updates and moves to production. I have a bunch of payroll tax updates to move after testing (and testing is completed.)

This will work! This moves plain JCL to JCL PDS, and as long as the DCBs are the same the copy is perfect. Same goes for LOADLIBs (just don't mix the two up!) First move the production stuff to archive, then if cond code = 0, move test to production.
Code:

//STEP01    EXEC PGM=IEBCOPY                                           
//INGO      DD DSN=HACKEP1.LIB.TSTJCL,DISP=SHR                         
//OUTGO     DD DSN=HACKEP1.LIB.PRDJCL,DISP=SHR                           
//SYSPRINT  DD SYSOUT=*                                                 
//SYSOUT    DD SYSOUT=*                                                 
//SYSUT3    DD SPACE=(CYL,(10,2)),DISP=(,DELETE)                       
//SYSUT4    DD SPACE=(CYL,(10,2)),DISP=(,DELETE)                       
//SYSIN     DD *                                                       
  COPY INDD=INGO,OUTDD=OUTGO                                             
  SELECT    MEMBER=DUMPDIST                                             
  SELECT    MEMBER=JOBTERMS                                             
/*


Thanks for the help.

Paul
Back to top
View user's profile Send private message
warp5
Intermediate


Joined: 02 Dec 2002
Posts: 429
Topics: 18
Location: Germany

PostPosted: Fri Dec 16, 2005 2:47 am    Post subject: Reply with quote

Now that is a good reply to our help, I will be glad to help you again.

By the way, in some cases you might need to use a copymod instead of a copy for load modules.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group