IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

copy the Mainframe PDS members into our PC.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
garuabhash

New User


Joined: 02 Nov 2005
Posts: 12
Location: Delhi

PostPosted: Mon Jul 10, 2006 12:19 pm
Reply with quote

Hi,
Can any one tell me
How to copy all the members from one PDS into our PC in Text format. I need some JCL. So that I can do at once, I mean I need one shot JOB. In my PDS almost 305 members are there. Like that almost 100 PDS are there.

Please help me ASAP.

Thanks
Abhash
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Mon Jul 10, 2006 12:29 pm
Reply with quote

Try this piece of Code:

//STEP01 EXEC PGM=FILEAID
//DDFROM DD DSN=xxxx.xxxx.xxxxx,DISP=SHR <<YOUR OLD PDS
//DDTOPDS DD DSN=xxxx.xxxx.xxxx, <<NEW PDS TO COPY
// DISP=(,CATLG,DELETE),
// UNIT=SYSDA,
// DCB=(xxxx.xxxx.xxxxx),
// SPACE=(58200,(14000,135,800),RLSE,,ROUND)
//SYSIN DD *
$$DD01 COPY MEMBERS=ALL
/*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
This will copy all the members from one pds to another

~Vamsi
Back to top
View user's profile Send private message
garuabhash

New User


Joined: 02 Nov 2005
Posts: 12
Location: Delhi

PostPosted: Mon Jul 10, 2006 12:59 pm
Reply with quote

Thanks Vamsi,
But your solution is going to solve my problem.
Actually I want from Mainframe to Our PC desktop or in any folder in .text format. Just you can say I need to do the FTP.

Regards
Abhash
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Duplicate several members of/in one l... JCL & VSAM 7
Search our Forums:

Back to Top