Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us