View previous topic :: View next topic
|
Author |
Message |
SysProg
New User
Joined: 03 Jul 2007 Posts: 2 Location: Israel
|
|
|
|
Hello there,
Can you help me with a statement that will copy an entire library with all of her members into a new one?
I need to compress a cics library so before the compression i want to copy the library and her members (with all the info) to another library.
Thanks,
SysProg |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Sysprog,
If your shop has FILEAID, you could use the follwoing -
(1) Goto 3.3 (UTILITIES -> COPY). Provide FROM and TO dataset names.
(2) In the next screen, provide the attributes of TO dataset or let as it is.
(3) At the bottom of the screen, give N for DISPLAY MEMBER SELECTION LIST. |
|
Back to top |
|
|
SysProg
New User
Joined: 03 Jul 2007 Posts: 2 Location: Israel
|
|
|
|
Hey Murali,
About the fileaid - thanks, I know this process and I did it.
But I need a Job that does the same so I could run it automatically without any human interference.
Do you familiar with a job like that?
Thanks again
SysProg |
|
Back to top |
|
|
shankar.v
Active User
Joined: 25 Jun 2007 Posts: 196 Location: Bangalore
|
|
|
|
// EXEC PGM=IEBCOPY
//IN DD DSN=IN,DISP=SHR
//OUT DD DSN=OUT,DISP=(NEW,CATLG),
// DCB=(IN),SPACE=(CYL,(1,1,10),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY OUTDD=OUT,INDD=IN
Give the directory blocks in SPACE parameter as required. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
After you run the IEBCOPY, it is advisable to verify the content of your copy before doing anything to the original pds. Going into tso/ispf 3.4 and browsing the dataset would be sufficient. |
|
Back to top |
|
|
|