This is just a SWAG, but can you do  "mget *.BIN * (REPLACE"?  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Bill Ashton
Sent: Wednesday, August 05, 2015 8:45 AM
To: [email protected]
Subject: Problem with FTP into a PDS

This group has been so helpful to me in the last couple weeks, and I hope
for one more victory!

I am trying to download a group of fixes from our server into a PDS, to do
some reporting on it. I am not sure what my problem is, but let me explain
the commands I am using.

CD     the file server
LCD   'MY.PDS'
mget  *.BIN   (REPLACE

This results in the following messages:
EZA1701I >>> TYPE A
200 Type okay.
EZA1701I >>> PORT 141,202,65,11,170,236
200 PORT command successful.
EZA1701I >>> NLST *.BIN
150 Opening ASCII mode data connection for /bin/ls.
226 Listing completed.
EZA1701I >>> TYPE I
200 Type okay.
EZA1685W Invalid local file identifier
EZA1735I Std Return Code = 22000, Error Code = 00018

I have confirmed that the files are on the server in the directory, and
have *.BIN as their mask.

Could the problem be due to the server filename like ABCDEF.BIN and that
this can't create the desired member ABCDEF? Is there some other command to
tell FTP that my file is called ABCDEF.BIN, but store it locally as ABCDEF
in the PDS?

Thanks once again!
Billy

-- 
Thank you and best regards,
*Billy Ashton*

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN


The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to