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
Transfering ASCII files to z/OS USS using Connect Direct
-
- Posts: 34
- Joined: Wed Apr 04, 2018 8:13 pm
- Skillset: z/OS, REXX, DB2, CICS, MQ, ISPF, DFSMS
- Referer: google
- Location: London, UK
Re: Transfering ASCII files to z/OS USS using Connect Direct
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:)
-
- Similar Topics
- Replies
- Views
- Last post
-
-
How to use ASCII condition in DFSORT
by Prasanna G » Tue Sep 20, 2022 10:15 pm » in DFSORT/ICETOOL/ICEGENER - 10
- 2532
-
by prino
View the latest post
Thu Sep 22, 2022 12:53 am
-
-
-
Joining 2 vb files into vsam files ended error
by newbiemainframe » Thu Nov 12, 2020 7:59 am » in JCL - 1
- 1752
-
by NicC
View the latest post
Thu Nov 12, 2020 7:15 pm
-
-
- 8
- 6129
-
by kbabu
View the latest post
Mon Mar 15, 2021 8:25 am
-
- 1
- 1237
-
by sergeyken
View the latest post
Tue Nov 08, 2022 7:22 pm
-
- 0
- 2570
-
by JIMDOOEY
View the latest post
Tue Mar 01, 2022 8:48 am