View previous topic :: View next topic |
Author |
Message |
PHacker Beginner
Joined: 08 Sep 2004 Posts: 9 Topics: 5
|
Posted: Thu Dec 15, 2005 10:24 am Post subject: Moving load modules |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Thu Dec 15, 2005 10:33 am Post subject: |
|
|
IEBCOPY is the utility we usually use to copy members of a library. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Dec 15, 2005 10:33 am Post subject: |
|
|
PHacker,
Search for "ADRDSSU" in this forum and you will find examples.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
PHacker Beginner
Joined: 08 Sep 2004 Posts: 9 Topics: 5
|
Posted: Thu Dec 15, 2005 11:36 am Post subject: |
|
|
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 |
|
 |
warp5 Intermediate

Joined: 02 Dec 2002 Posts: 429 Topics: 18 Location: Germany
|
Posted: Fri Dec 16, 2005 2:47 am Post subject: |
|
|
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 |
|
 |
|
|