Two possible solutions that worked with earlier versions of IBM FTP: 1: Instead of instream //INPUT DD * or //SYSIN DD * (or whatever) just point DD to a sequential file/dataset with line length or record length greater than 72. Say 200. That will be your command file.
2: I had modified earlier versions of IBM FTP under MVS & OS/390 to mimic the PLUS ("+") continuation support in TSO commands. You could code: PUT ABCDEFGH.IJKLMNOP.QRSTUVWX.YZ012345 + QWERTYUI.OPASDFGH.JKLZXCVB.NM098765 Note the trailing continuation plus sign ("+") must be preceded by a blank. I do not know if these, err, enhancements, err, kludges, are still present in current z/OS FTP. My off and on work for IBM hasn't involved FTP since about 1998. Jim Keohane Multi-Platforms, Inc. > [Original Message] > From: Mautalen Juan Guillermo <[EMAIL PROTECTED]> > To: <IBM-MAIN@BAMA.UA.EDU> > Date: 10/12/2005 9:11:32 AM > Subject: FTP continuation character > > Hi, > > I have a batch job that makes an FTP from the Mainframe (acting as FTP > client) to a Windows machine (acting as FTP server). > It works fine, but because of the file names being very long, the 72 > limit of JCL is insufficient. > > Question: > what is the continuation character, in order to continue the FTP command > in the next line? > > Thanks in advance, > > > JUAN MAUTALEN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html