XCOM Windows to z/OS (Mainframe) transfer using CODE=EBCDIC does not remove the Windows "new line" CRLF characters resulting in corrupted text e.g.
Windows file:test line 1'test line 2’test line 3`test line 4test line 5Result on z/OS: -----------test line 1' -----------..test line -----------2...test lin -----------e 3`..test l -----------ine 4 ..test ----------- line 5 -----------
XCOM™ Data Transport® for Windows 11.6 SP03
11.6 SP03 GA version ("r11.6 20035 SP03") is being used.
Under "r11.6 20035 SP03" the default value of parameter CARRIAGE_FLAG is NO and CARRIAGE_FLAG=YES is not being manually set for this transfer.
Per doc. page CARRIAGE_FLAG:
*****
YES
Indicates that the transferred file is a text file and a new-line character should be added to the end of incoming records. Also, new-line characters are removed from the ends of lines before an outgoing record is sent.
*****
The first patch after GA did change the default to YES which is as per the documented default value on page CARRIAGE_FLAG.
After including CARRIAGE_FLAG=YES in the transfer the file on z/OS was not corrupted i.e. -----------test line 1' -----------test line 2. -----------test line 3` -----------test line 4 -----------test line 5 -----------
To avoid having to set CARRIAGE_FLAG=YES in the xcomtcp transfer parameters apply the latest 11.6 SP03 patch.
XCOM for Windows 11.6 Solutions page: XCOM Data Transport for Windows Family Server WINDOWS-ALL 11.6