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
 

 

How to download all members from pds at 1 time?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
kwhong

New User


Joined: 09 Jun 2006
Posts: 3

PostPosted: Sat Jun 10, 2006 9:30 am    Post subject: How to download all members from pds at 1 time?
Reply with quote

Hi, May I know how to download all members from pds at 1 time?

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

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Sun Jun 11, 2006 6:29 am    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

Download how? And to where - another server?
Back to top
View user's profile Send private message
kwhong

New User


Joined: 09 Jun 2006
Posts: 3

PostPosted: Sun Jun 11, 2006 1:36 pm    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

transfer file from host to PC.
Currently what I am doing is transfer file 1 by 1 from the host to PC.
If the PDS has 50 members. I hv to do it 1 by 1 for 50 times..
I am looking for a method which can transfer all from host to PC at 1 time..
any idea. thanks..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Sun Jun 11, 2006 6:08 pm    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

If you're using FTP, and you are "pushing" files from the mainframe host to the PC server, a simple "mput *" would work, as long as the PDS is the working directory.

If you're using FTP, and you are "pulling" files from the mainframe host to the PC, a simple "mget *" would work, as long as the PDS is the working directory.

If you're using some other method, then you most likely need to convert the PDS into a single sequential dataset. You could ZIP the entire PDS into a single .zip archive file. You could use IEBPTPCH or TSO PRINTDS to "punch" the PDS into a single sequential dataset. If the data is not intended to be used on the PC, the TSO XMIT command will convert the PDS into a single dataset that can be re-converted into a PDS on another mainframe. The same process works for and IEBCOPY unload.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Mon Jun 12, 2006 11:48 am    Post subject:
Reply with quote

Yes mget and mput should work for you if you are using ftp. You may have to ftp from command prompt and supply the server name, user id , password.
Back to top
View user's profile Send private message
kwhong

New User


Joined: 09 Jun 2006
Posts: 3

PostPosted: Thu Jun 15, 2006 6:36 am    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

Sorry... I think I not using FTP.
Or I not understand the command u given.
Hv a look on print screen.
my Host download file looks different ???
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Thu Jun 15, 2006 12:36 pm    Post subject:
Reply with quote

As I answered earlier, you have to open a command prompt window and key in FTP, it will prompt you for the servers name folllowed by user id and password. supply those (if you don't know seek your tech support team) and key in mget 'your pds' it will get all the members in your PDS.
Back to top
View user's profile Send private message
mfibm

New User


Joined: 12 Sep 2006
Posts: 13

PostPosted: Fri Sep 15, 2006 4:59 pm    Post subject:
Reply with quote

ya prasad is right.........

mget pdsname(*) will work for u in dos...

Likki
Back to top
View user's profile Send private message
graswant

New User


Joined: 29 Apr 2006
Posts: 93
Location: Singapore

PostPosted: Wed Sep 20, 2006 12:49 am    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

Hi Kwhong..

U are using IND$FILE GET which will let you get the member 1 at a time... As told by Prasad... Go to Dos prompt and then type FTP with the Server name followed by User Id and password...then after loging in just type "MGET PDSNAME(*)" It will let you download all the members at one go...you don't need to do it again and again 50 times...

CORRECT ME IF I AM WRONG....

Thanks...
Back to top
View user's profile Send private message
msjia

New User


Joined: 21 Aug 2004
Posts: 1

PostPosted: Fri Sep 22, 2006 3:22 pm    Post subject:
Reply with quote

kwhong

You may merge all those pds member into 1 ps file by using SAS, and download this ps file at a time. And it's easy to split such a file on PC platform.

You may refer to following JCL on how to merge pds member to ps file:

//*--------------------------------------------------------------*
//STEP020 EXEC SAS,WORK='200,200'
//WORK DD UNIT=SYSDA,SPACE=(CYL,(50,50))
//ISUCPY DD DISP=SHR,DSN=XXXX (PDS)
//*--------------------------------------------------------------*
//OSUCPY DD UNIT=SYSDA,SPACE=(CYL,(1,1),RLSE),DISP=(NEW,CATLG),
// DSN=YYYY (PS)
//*--------------------------------------------------------------*
//SASLIST DD SYSOUT=*
//SYSIN DD *
PROC SOURCE INDD=ISUCPY OUTDD=OSUCPY NOPRINT;
//*
Back to top
View user's profile Send private message
wangjiyi

New User


Joined: 14 Aug 2006
Posts: 12
Location: Shanghai, China

PostPosted: Sun Sep 24, 2006 8:48 am    Post subject: Re: How to download all members from pds at 1 time?
Reply with quote

I often use the xmit command to transfer files from host to pc. Once you want a shortcut to such transfer, because there are many file in the PDS. So if you use ftp to transfer the pds, it is also inconvenient for you to brouse them. While the xmit command will transfer all of the members in a pds to a xmi file which could be opened easily by ximt manager.
Back to top
View user's profile Send private message
nileshyp

New User


Joined: 22 Jun 2005
Posts: 65
Location: Mumbai

PostPosted: Wed Dec 15, 2010 4:52 pm    Post subject: Reply to: How to download all members from pds at 1 time?
Reply with quote

I have created PS file using above SAS script/program. However could someone let me know how can I again create PDS out of PS file?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Dec 15, 2010 5:05 pm    Post subject:
Reply with quote

why do you not use the terminal emulators upload/download built-in script.

they are the 4th and 5th button on your emulator. (they are under the COMMUNICATIONS verbiage).
Back to top
View user's profile Send private message
nileshyp

New User


Joined: 22 Jun 2005
Posts: 65
Location: Mumbai

PostPosted: Wed Dec 15, 2010 5:11 pm    Post subject: Reply to: How to download all members from pds at 1 time?
Reply with quote

I did not use IND$FILE GET (i.e. emulators upload/download tool) because I wanted to download all PDS members at one shot. And I did is successfully using above solution (i.e. SAS program ) However now I need to know now how can I delimit and create PDS again out of PS file created using SAS program.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Dec 15, 2010 5:19 pm    Post subject:
Reply with quote

Try this :

http://www2.sas.com/proceedings/sugi25/25/cc/25p101.pdf
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Wed Dec 15, 2010 5:34 pm    Post subject:
Reply with quote

Find the Utilities manual in the DF/SMS bookshelf and read up on IEBUPDTE. You can rebuild the PDS from the SAS PROC SOURCE output by using IEBUPDTE having SYSIN be the PROC SOURCE output.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Dec 15, 2010 6:01 pm    Post subject:
Reply with quote

most pc based development tools
(the ones used to create cobol systems on a pc for host implementation)
use the same scripts at the built in upload/download tool.

you simply do not understand your tools.
your skill set it limited.
and you are more than welcome to spend hours trying to rebuild your pds downloaded by the nifty sas tool.
Back to top
View user's profile Send private message
prino

Active Member


Joined: 07 Feb 2009
Posts: 984
Location: Oostende, Belgium

PostPosted: Wed Dec 15, 2010 9:26 pm    Post subject:
Reply with quote

Holy Sith,

Convert the PDS to an XMIT file, download it to the PC in one go (after first using AMATERSE to reduce its size), UnTerse it on the PC, and then use XmitManager or RECV390 to get all members out.

Building an XMIT file on the PC is possible with the paid-for Tachyon utilities.
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: Thu Dec 16, 2010 12:11 am    Post subject:
Reply with quote

Hello,

Every tcp/ip 3270-emulator that i've used for 15 years also has an FTP client.

To download an entire pds of text, i simply position myself at the pds which shows all of the members as files, select them all, and click the little arrow to send the lot of them to the target directory. . .

Quite handy for a one-time shot, but would be better to automate for something to be done regularly/repeatedly.
Back to top
View user's profile Send private message
rockish

Active User


Joined: 05 Jun 2009
Posts: 185
Location: Planet Earth

PostPosted: Thu Dec 16, 2010 8:39 pm    Post subject:
Reply with quote

I prefer using XMIT format. XMIT manager for Windows are available for free in CBT Tape's website.
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 -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. Get correct date and time when curren... balaji81_k DB2 24 Fri Oct 14, 2016 10:40 pm
No new posts How to download JES2 JOB LOG? White.Bai JCL & VSAM 9 Thu Sep 29, 2016 7:34 am
No new posts cics & real time monitoring icehat CICS 5 Wed Sep 07, 2016 2:29 am


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