Instead of put e:MONRTERM.txt try lcd e: put MONRTERM.txt ....
Lionel B. Dyck <>< Website: https://www.lbdsoftware.com Github: https://github.com/lbdyck "Worry more about your character than your reputation. Character is what you are, reputation merely what others think you are." - - - John Wooden -----Original Message----- From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of esst...@juno.com Sent: Saturday, March 19, 2022 09:29 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Uploading a PC File to a Mainframe PDS Hello , , . I have WINDOWS DOS .bat file which I use to execute a script. The script contains about 1000 FTP get commands. I have executed this script many many times to backup source code from a mainframe. . I need to restore several files on the Mainframe, so I created a script which contains several statements like this: put e:MONRTERM.txt 'PAULD01.WORK.SRCLIB.OLD(MONRTERM)' . However I consistently receive the following statements: ftp> put e:MONRTERM.txt 'PAULD01.WORK.SRCLIB.OLD(MONRTERM)' 200 Port request OK. 125 Storing data set PAULD01.WORK.SRCLIB.OLD(MONRTERM) > M:No Such file or directory 250 Transfer completed s . The PDS on the Mainframe exists. I can browse the PDS on the mainframe and I see the members BUT they are empty. I searched google for assistance - and made some of the suggestions such as using bin option, and LOCSITE options. The results ae the same. . What do I need to add to my script to FTP upload the PC Files to the PDS on the Mainframe ? What Am I misunderstanding ? .. Paul D. ******* . ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN