copying members from pds to pds.mem in ps file



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

copying members from pds to pds.mem in ps file

Postby srikkanth.lovable » Thu Mar 31, 2011 8:33 pm

Friends,

Iam intrested to write a JCL to copy PDS Members to another NEW PDS,where the names of the members should be picked from ps file.

For Eg:

SOURCE.PDS------->Selected members copied to ------------->TARGET.PDS ( NEW)
( List existing in an PS file )


It would be great if JCL is provided.
srikkanth.lovable
 
Posts: 12
Joined: Wed Mar 16, 2011 12:34 pm
Has thanked: 0 time
Been thanked: 0 time

Re: copying members from pds to pds.mem in ps file

 

Re: copying members from pds to pds.mem in ps file

Postby enrico-sorichetti » Thu Mar 31, 2011 9:07 pm

look at iebcopy !

here is a hint for the buzzwords copy indd outdd select member
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: copying members from pds to pds.mem in ps file

Postby steve-myers » Thu Mar 31, 2011 9:17 pm

Read the discussion of the IEBCOPY and IEHMOVE utilities in this manual. I think either utility will do what you want.

In addition, you might investigate the ISPF copy function. In most ISPF implementations select option 3, Utiliies in the ISPF Primary Option Menu and press Enter, then select option 3, Move/Copy in the Utility Selection Panel and press Enter.

As for writing JCL for you, many people here will be eager to accept consulting assignments providing an appropriate fee is paid.
steve-myers
Global moderator
 
Posts: 1886
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post