Thank you for the responses. 

I could not find an OCOPY option that would fix CRLF, unless it was meant for 
me to build a character conversion table to handle CR? We do not have Info-ZIP 
installed, and are using the Java JAR command to perform the unzip.

It appears the suggestion to run:

tr -d "\r" <input.txt> input_tr.txt 

will provide what we need. Another option may be to run a SORT to perform a 
character replacement after the data is moved from z/OS Unix files to z/OS data 
sets. 

Thanks again for the suggestions, 
Kevin Landin

-----Original Message-----
From: Paul Gilmartin [mailto:paulgboul...@aim.com] 
Sent: Thursday, March 19, 2015 12:26 PM
Subject: Re: CR on records using OCOPY converting from ASCII to EBCDIC

On Thu, 19 Mar 2015 09:44:56 -0500, Kevin Landin wrote:

>We FTP a zip file from a vendor as binary to a z/OS Unix file. ...
>    ...
>Besides editing the file and removing the CR, is there a way to prevent the CR 
>from being written to the z/OS data set during the translation?
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to