Thanks, but I don't think that would work here.
I think I have a solution.
I looked at the file and it looks like it has a fixed record length of 224.
I used LOCSITE LRECL=225 WRAP
The file is allocated with an LRECL of 224 (224 for the data and an extra byte 
for the LF character).
WRAP tells the ftp client to go to a new line instead of truncating the data.

Obviously, this will only work if the file has fixed length records.

Gadi


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Binyamin Dissen
Sent: Thursday, March 18, 2010 11:21 AM
To: [email protected]
Subject: Re: FTP problem

Look at http://www.mail-archive.com/[email protected]/msg78550.html

On Thu, 18 Mar 2010 11:07:25 +0200 ??? ?? ??? <[email protected]> wrote:

:>Unix files use just LF as the end of line character
:>Windows files use CR and LF as the end of line character.

:>-----Original Message-----
:>From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Binyamin Dissen
:>Sent: Thursday, March 18, 2010 11:01 AM
:>To: [email protected]
:>Subject: Re: FTP problem

:>On Thu, 18 Mar 2010 09:59:56 +0200 ??? ?? ??? <[email protected]> wrote:

:>:>I have to transfer a unix encoded file (has LF as line delimiter) that is 
stored on a windows platform to the MF.
:>:>The transfer is initiated in a batch job and is part of a production 
process.

:>:>Is there a ftp parameter that will help me?

:>What is a "UNIX encoded file"?

:>You can use the ASCII option and send it to a VB file.

--
Binyamin Dissen <[email protected]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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