Correction:

In
<6598855.1319487016267.javamail.r...@elwamui-darkeyed.atl.sa.earthlink.net>,
on 10/24/2011
   at 04:10 PM, Lizette Koehler <[email protected]> said:

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

What are the original and final character sets?

>Is there a way to keep the CRLF command at the end of each line?

Do you mean that the original file has CRLF rather than LF? Also, CRLF
isn't a command just a CR character followed by an LF character. The
easiest way is to use binary mode.

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

No; the Unix new line indication is LF (X'0A'), the windoze/DOS new
line indication is CRLF (X'0D0A') and the z/OS new line indication for
EBCDIC is NL (X'15'). The LF and NL represent new line, which is
logically distinct from CRLF.

BTW, do local politics allow going directly to z/OS instead of
therough the W2008 box?
 
-- 
     Shmuel (Seymour J.) Metz, SysProg and JOAT
     ISO position; see <http://patriot.net/~shmuel/resume/brief.html> 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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