First, my short list for unexpected/undesired translations is: Windows. IIRC, 
the only way to prevent this is to use the binary (image) FTP command -and- 
suffix the file .BIN. 

I do seem to recall a FTP option on some flavors of *nix that causes z/os to 
run the data all together.  Some digging in the archives might be useful if you 
suspect that. 

  
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Lizette Koehler
Sent: Monday, October 24, 2011 3:10 PM
To: [email protected]
Subject: CRLF in Unix being translated on Mainframe to x'25'

A programmer I am working with is getting a file from Unix which will be sent 
to the mainframe.  This will be using FTP.

The process is we receive the file from the Unix system and it is placed on a 
Windows 2008 server.

Then from the Windows 2008 it is going to be FTP'd to the mainframe.

Is there a way to keep the CRLF command at the end of each line?  And will the 
mainframe recognize it as a newline?

What we really want is the UNIX file to be individual (FB Lrecl 946) going into 
the mainframe.

It seems the Unix CRLF is x'0A' whereas the mainframe is x'25'


Thanks for any advice

Lizette
 

----------------------------------------------------------------------
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
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.

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