Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Copy an entire library with all of its members

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
SysProg

New User


Joined: 03 Jul 2007
Posts: 2
Location: Israel

PostPosted: Tue Jul 31, 2007 11:00 am    Post subject: Copy an entire library with all of its members
Reply with quote

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

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue Jul 31, 2007 12:36 pm    Post subject:
Reply with quote

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

New User


Joined: 03 Jul 2007
Posts: 2
Location: Israel

PostPosted: Tue Jul 31, 2007 4:06 pm    Post subject: Batch process
Reply with quote

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

Active User


Joined: 25 Jun 2007
Posts: 196
Location: Bangalore

PostPosted: Tue Jul 31, 2007 5:24 pm    Post subject:
Reply with quote

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

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jul 31, 2007 8:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Compare and COPY using DFSORT pshongal DFSORT/ICETOOL 3 Fri Nov 17, 2017 9:49 am
No new posts Copy selected columns from 2 input fi... Poha Eater DFSORT/ICETOOL 3 Thu Nov 02, 2017 3:43 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts XMITIP sends it out. Can it copy on l... Rommel Dayon Rustia IBM Tools 0 Tue Sep 05, 2017 10:16 am
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us