I highly recommend using the ISPF Workstation Agent (WSA.EXE). It makes file 
transfers really easy and doesn't require you to enter a userid and password. 
Check here for instructions:

http://www.tsotimes.com/articles/archive/spring04/wsafiletransfer.html

Hope that helps,
 
Dave Salt

SimpList(tm) - try it; you'll get it! 

http://www.mackinney.com/products/program-development/simplist.html  





> Date: Mon, 17 Jan 2011 10:38:19 -0800
> From: williebun...@yahoo.com
> Subject: DOWNLOADING PDS FROM MAINFRAME TO PC
> To: IBM-MAIN@bama.ua.edu
> 
> Hallo All,
>  
> It has been a long while since I downloaded a PDS from the MAINFRAME to my PC.
> I am having a bit of difficulty having them downloaded with  a .txt 
> extension.  I did the following :
> ftp-1
> open (ip address)
> supplied userid and password
> LCD U:\FTP
> CD 'NGL02D.UTIL.JCL'
> mget * *.txt
>  
> However all the files that were downloaded were not in .txt extension.  Is 
> there somethingelse I need to do.  I found an old post and I followed it 
> however it doesn't seem to work.  
> I would appreciate any of your suggestions.
> 
> 
> --- On Tue, 10/18/05, Farley, Peter x23353 <peter_far...@adp.com> wrote:
> 
> 
> From: Farley, Peter x23353 <peter_far...@adp.com>
> Subject: Re: FTP members from PC to Mainframe PDS
> To: IBM-MAIN@BAMA.UA.EDU
> Received: Tuesday, October 18, 2005, 2:56 PM
> 
> 
> When you used "mget *" to retrieve the members, what extension were they
> saved as on the PC?  *.txt?  *.mac? IOW, did you do "mget * *.txt"?  If not,
> did you rename them all to *.txt after they were downloaded so you could
> edit them easily?
> 
> If they were saved with any extension at all, you probably cannot use "mput
> *" to put them back.  If (for example) they were saved as *.txt, do the
> following before starting ftp on the PC:
> 
> C:\TEMP>ren *.txt *.
> 
> Then you may be able to use "mput *" as you want.  I just tested this with a
> small PDS, and had no problem using "mget *" followed by "mput *".  z/OS
> 1.6, in case it matters.  You do, however, lose all ISPF statistics in the
> directory entries when you do the mput back to the PDS.
> 
> HTH
> 
> Peter 
> 
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:wgeo...@dhs.ca.gov] 
> Sent: Tuesday, October 18, 2005 5:29 PM
> To: IBM-MAIN@BAMA.UA.EDU
> Subject: FTP members from PC to Mainframe PDS
> 
> I'm drawing a blank here and checking archives I've hit a wall.
> 
> I downloaded a PDS to my PC awhile back using the MGET command from my PC
> while connected to the mainframe remote host.
> I now want to upload them back to the mainframe from the PC, use the PC's
> FTP command, into a mainframe PDS.
> I tried
> 
> open (host address)
> <userid>
> <password>
> lcd temp  (individual members saved here) prompt
> cd ispf.test.rexx   (mainframe PDS name)
> mput *
> 
> Howerver, this creates a separate file for each member on the mainframe.
> I'd like them all IN  ISPF.TEST.REXX.
> 
> Thanks
> Bill
> 
> _
> This message and any attachments are intended only for the use of the 
> addressee and
> may contain information that is privileged and confidential. If the reader of 
> the 
> message is not the intended recipient or an authorized representative of the
> intended recipient, you are hereby notified that any dissemination of this
> communication is strictly prohibited. If you have received this communication 
> in
> error, please notify us immediately by e-mail and delete the message and any
> attachments from your system.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
> 
> 
> 
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html
                                          
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to