Sorry for the holes in my description...I do issue the BIN command right below my login - missed that in my cut/paste. I am on z/OS 2.1, and trying to do this in FTP batch mode.
MGET does not allow a from/to filename...it only works with LCD, and will use the filename on the MGET command. I will try the Unix directory, as I can't rename the source files (I have read only access). On Wed, Aug 5, 2015 at 10:07 AM, Paul Gilmartin < [email protected]> wrote: > On Wed, 5 Aug 2015 09:51:10 -0400, Bill Ashton wrote: > > >As a side note, I can do the mget into a single PS file, but I would like > >to have them in a PDS if possible. > > > Or you could MGET them into a z/OS UNIX directory, where the naming > rules are far more liberal: > > ... > LCD /u/my/fixes > ... > > >On Wed, Aug 5, 2015 at 9:45 AM, Bill Ashton wrote: > >> ... > >> CD the file server > >> LCD 'MY.PDS' > >> mget *.BIN (REPLACE > >> ... > >> Could the problem be due to the server filename like ABCDEF.BIN and that > >> this can't create the desired member ABCDEF? > >> > Yes. Actually, it tries to create member ABCDEF.BIN. > > >> ... Is there some other command to > >> tell FTP that my file is called ABCDEF.BIN, but store it locally as > ABCDEF > >> in the PDS? > >> > I believe there is a command to map filenames. > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > -- 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
