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

Copying members of a PDS in different files on local machine


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Mon Sep 10, 2007 1:26 pm
Reply with quote

Hi all,

I got a strange requirement. I have to copy contents of the PDS members in different files on my PC. So is there any way I can copy contents of all the members of a PDS (in different files) in one go.

Thanks in advance...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Sep 10, 2007 1:53 pm
Reply with quote

FTP? XMIT? IEBPTPCH? Is this the kind of thing you are looking for?

O.
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Mon Sep 10, 2007 1:57 pm
Reply with quote

Hi I am looking for FTP. in Simple terms

If my PDS contains 10 members. Then I have to created 10 different files on my PC and have to copy the contents of each member in different files.

Hope this makes it clear in your mind....
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Sep 10, 2007 2:13 pm
Reply with quote

depends on the emulator that you are using. I have always used the up/download facility built into the emulator, selected all (or a portion) of a pds, privided a file extension (global), designated the destination folder and let it rip. Suggest you go thru the help section of your emulator.

by the way, this is not unusual. Most places i work have a pc based modeler/data dictionary - (rochade/key/or homegrown) and all copybooks originate on the pc and are uploaded to the mainframe for development. Then all the sources are downloaded to the pc for documentation.
Back to top
View user's profile Send private message
star_dhruv2000

New User


Joined: 03 Nov 2006
Posts: 87
Location: Plymouth, MN USA

PostPosted: Mon Sep 10, 2007 2:33 pm
Reply with quote

I am using Extra Attachment as emulator...
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Sep 10, 2007 3:16 pm
Reply with quote

Why not using plain FTP? The MGET command is exactly what you need...

O.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Thu Oct 04, 2007 6:05 pm
Reply with quote

Hi,

Actually mainframe doesn't support you to transfer between local system to m/f or from m/f to local ... so the plain ftp will do per ofer says,


Quote:
verbose
open servername Eg:DYibm
username
password
quote site trail
get 'MSD.MKT.C3423.IM234DTN.QUEUE(afd1)' Q_01.txt


Repeat the get command for diff file names which you have ....
try this and let us know if it wont help
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top