Technote (troubleshooting)
Problem(Abstract)
Sending XML files from CDSA to Connect:Direct Z/OS adds additional
spaces at the end of the record when the files contain non-Latin characters
Symptom
Sending XML files from CDSA to Connect:Direct Z/OS adds additional
spaces at the end of the record when the files contain non-Latin characters.
Due to the XML file structure this additional space results in invalid
files. The spaces appear within the XML tags.
Cause
When the files contain non-Latin characters, these are 2 byte
characters within the UTF-8 file. On the mainframe they are single byte
characters.
Resolving the problem
In order to prevent the empty spaces or corruption when sending to a VB dataset it
is necessary to do it in a way that the line length will not change.
The best way to do that is do the conversion from UTF-8 to ASCII on Sterling B2B
Integrator and then send to the mainframe without using codepage conversion.
The file will then be sent in a standard ASCII to EBCDIC transfer with
a direct 1 to 1 translation and no blank spaces.
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.