Frank,

Have you tried FTPing it as binary into a Unix file instead of a dataset?  I 
would think the Unix file system would happily accept the newline delimiter.  

Rex


On Tue, 27 Jul 2021 17:01:56 -0500, Frank Swarbrick wrote:

>We have a vendor that is providing a file that is EBCDIC (IBM-1140) encoded, 
>but also includes an NL record/line terminator.  The source system is NOT a 
>mainframe system.  I'm trying to figure out how to FTP the file to the 
>mainframe and have it treat NL as, well, NL; i.e. a record terminator.  Binary 
>mode (no SITE options) doesn't work because it stores the NL characters.  
>ASCII mode (no SITE options) doesn't work, I believe because it still expects 
>the CRLF delimiter.  I tried specifying "SITE TYPE E" (EBCDIC) and that also 
>does not eliminate the NL delimiter.
>
>Any thoughts?  We're seeing if the vendor can just not use a delimiter at all, 
>but no luck yet.
> 

>Note: They can create it in UTF-8, but they are including the UTF-8 Byte Order 
>Mark (BOM).  I am able to get z/OS to strip the BOM, but I have to specify the 
>transmission as being "multi-byte", so the destination has to be VB.  Which we 
>can deal with, but we'd prefer FB as that is how we have it from the old 
>vendor.
>


The information contained in this message is confidential, protected from 
disclosure and may be legally privileged.  If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful.  If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format.  Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to