For the mainframe file, you can also reference the file as a DD name.
That drops you down to 11 characters max of the local file name.  

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On
Behalf Of Martin Kline
Sent: Wednesday, October 12, 2005 1:31 PM
To: [email protected]
Subject: Re: FTP continuation character


> 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.

Try using the CD and LCD FTP commands to get to the lower level
qualifier.
To send AAAAAAAA.BBBBBBBB.CCCCCCCC.DDDDDDDD.EEEEEEEE you should be able
to
do:

LCD AAAAAAAA.BBBBBBBB.CCCCCCCC.DDDDDDDD
PUT EEEEEEEE AAAAAAAA.BBBBBBBB.CCCCCCCC.DDDDDDDD.EEEEEEEE



CONFIDENTIALITY NOTICE:  This electronic transmission (including any
accompanying attachments) is intended solely for its authorized
recipient(s), and may contain confidential and/or legally privileged
information.  If you are not an intended recipient, or responsible for
delivering some or all of this transmission to an intended recipient, be
aware that any review, copying, printing, distribution, use or
disclosure of
the contents of this message is strictly prohibited.  If you have
received
this electronic message in error, please contact us immediately by
electronic mail at [EMAIL PROTECTED] or notify us
immediately by telephone at 1-800-345-2021 or 816-531-5575 and destroy
the
original and all copies of this transmission (including any
attachments).
Thank you.

----------------------------------------------------------------------
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

Reply via email to