View previous topic :: View next topic |
Author |
Message |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Tue Jul 22, 2008 9:52 pm Post subject: How to load a PDS members to PC file |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Tue Jul 22, 2008 11:35 pm Post subject: |
|
|
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 |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jul 23, 2008 1:15 am Post subject: |
|
|
most emulators have a batch transfer process built-in. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Wed Jul 23, 2008 3:35 pm Post subject: |
|
|
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 |
|
 |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Thu Jul 24, 2008 11:13 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 24, 2008 11:16 am Post subject: |
|
|
sabarisavi,
I wasnt talking about FTP MGET. Read premkumar's solution in the link once again  |
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
|
Back to top |
|
 |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Thu Jul 24, 2008 11:36 am Post subject: |
|
|
For my understanding, Premkumar |
|
Back to top |
|
 |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Thu Jul 24, 2008 11:43 am Post subject: |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Thu Jul 24, 2008 11:51 am Post subject: |
|
|
Quote: | For my understanding, Premkumar |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu Jul 24, 2008 4:54 pm Post subject: |
|
|
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 |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Thu Jul 24, 2008 6:34 pm Post subject: |
|
|
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 |
|
 |
sabarisavi Beginner
Joined: 25 Apr 2008 Posts: 30 Topics: 6 Location: Ashburn, VA
|
Posted: Fri Jul 25, 2008 10:38 am Post subject: |
|
|
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 |
|
 |
|
|
|
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
|
|