MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to load a PDS members to PC file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Tue Jul 22, 2008 9:52 pm    Post subject: How to load a PDS members to PC file Reply with quote

Hi,

I have reterived set of programs to a PDS from endevor based on Processor group. Now i want to load all the members from PDS to a windows Folders. Each member may transfer thru FTP to text / word file.

How we will load PDS to a Folder? I searched earlier posts but couldnt find my requirement. Please share me your knowledge or earlier posting links. Thank you.
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Tue Jul 22, 2008 11:35 pm    Post subject: Reply with quote

CD to the pds, eg: cd 'user1.foo.bar', and use the mget and possibly prompt commands within FTP. you may also need a few other commands like ascii depending on your system's defaults.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Wed Jul 23, 2008 1:15 am    Post subject: Reply with quote

most emulators have a batch transfer process built-in.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Jul 23, 2008 10:36 am    Post subject: Reply with quote

sabarisavi,

Please search before posting. Check premkumar's solution in this link

http://www.mvsforums.com/helpboards/viewtopic.php?t=96&highlight=pds
Back to top
View user's profile Send private message Send e-mail Visit poster's website
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Wed Jul 23, 2008 3:35 pm    Post subject: Reply with quote

Kolusu,

Thanks. I already seen this posting, but my requirement has a marginal changes. We are doing some re-engineering stuffs in our module, so retrieved set of COBOL programs from endeavor then load into PC in text file / any format, using FTP. If we have 10 members in a PDS, the FTP file will route into 10 PC different files not into a single file.

For instance, if we have a 7 members in a library
Back to top
View user's profile Send private message
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Thu Jul 24, 2008 11:13 am    Post subject: Reply with quote

I used the below Sysin, but it is not working. I did some research to know MGET will work, but in the spool we received "The system cannot find the file specified"

Below are the SYSIN, What is the concept of MGET, appriciate your reply.

<IP address>
<User id>
<Pasword>
CD <Directory>
ASCII
MGET 'D#MMA.PTEST.LIB (*)'
QUIT
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 24, 2008 11:16 am    Post subject: Reply with quote

sabarisavi,

I wasnt talking about FTP MGET. Read premkumar's solution in the link once again bonk
Back to top
View user's profile Send private message Send e-mail Visit poster's website
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jul 24, 2008 11:17 am    Post subject: Reply with quote

and reread my response too
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Thu Jul 24, 2008 11:36 am    Post subject: Reply with quote

For my understanding, Premkumar
Back to top
View user's profile Send private message
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Thu Jul 24, 2008 11:43 am    Post subject: Reply with quote

semigeezer

I used your approch, by using MGET, but we received RC=0 but the files are not transfered. we got "The system cannot find the file specified" .

Please see my Today's first post, i have mentioned the code.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Jul 24, 2008 11:51 am    Post subject: Reply with quote

Quote:
For my understanding, Premkumar
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Thu Jul 24, 2008 4:54 pm    Post subject: Reply with quote

I always use the PC emulator session. you can select with '*', define an output name mask, define the folder (or it will do it for you), hit enter, minimize the emulator window and then logon to kolusu's site for a while.
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Thu Jul 24, 2008 6:34 pm    Post subject: Reply with quote

no, I said cd into the directory. You tried to transfer using a the dsname and a wildcard for the member.
_________________
New members are encouraged to read the How To Ask Questions The Smart Way FAQ at http://www.catb.org/~esr/faqs/smart-questions.html.
Back to top
View user's profile Send private message Visit poster's website
sabarisavi
Beginner


Joined: 25 Apr 2008
Posts: 30
Topics: 6
Location: Ashburn, VA

PostPosted: Fri Jul 25, 2008 10:38 am    Post subject: Reply with quote

Thanks to everyone, I found another way also easiest too. Not required any third party tools, like XMIT / XMITMANAGER.

use Simple JCL of PGM=FTP and use the below SYSIN.

<IP address>
<User id>
<Pasword>
CD <Directory>
MPUT 'D#MMA.PTEST.LIB(*)'
QUIT

Now, all the 7 members will be Loaded (FTP) to 7 different windows file in your CD <directory>, now you can Open with Text file and save to Text / Word file.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group