Page 1 of 1

Transfering ASCII files to z/OS USS using Connect Direct

PostPosted: Sun Feb 21, 2021 2:24 pm
by golemis
Hi,
My Unix(AIX) app produces a ASCII file that has a Windows delimiters (i.e. CR/LF x'0D'/x'0A'). This has to be transfered to a z/OS USS LPAR, using Sterling Connect Direct, where it is to be consumed by anothe app, which again expects it to have Windows delimiters (CR/LF)

I tried three different options in SYSOPTS:

1. :datatype=binary,xlate=no: This produces an ASCII file but convers the delimiters to Unix (NL x'0C') style instead of Windows stype (CR/LF)
2. :datatype=text,xlate=no: This produces an ASCII file but converts the delimiters to NAK (x'15') !!!
3. datatype=binary,xlate=yes: This produces an EBCDIC file, as expeceted

None of the above formats is accepted by the receiving app in z/OS USS. The closest option is the first one, and with a script using sed might solve th eproblem, but:

Is there any other option I could use in Connect Direct SYSOPTS that could preserve the file in ASCII Windows type and not convert it to ASCII Unix type?

Thank you, GG

Re: Transfering ASCII files to z/OS USS using Connect Direct

PostPosted: Mon Feb 22, 2021 6:32 pm
by golemis
Sending application misled us, and now admits that the original file was built as a Unix type file and not DOS one. (I was always puzzled how Connect Direct could change the type of file during transmission, besides the :datatype=binary,xlate=no:)