Joined: 06 Jun 2008 Posts: 8339 Location: Dubuque, Iowa, USA
First, when you post data where spacing can be critical, use the Code tag to preserve spacing.
Second, what is happening is that your data set has non-display characters (binary values). When non-display data is transferred as text, the data is converted from EBCDIC to ASCII during the transfer (assuming the data is going to a Unix / Windows machine); this destroys the values since conversions are done byte by byte.
To preserve the values, you have two choices: (1) transfer the data as binary, or (2) convert the non-display data to display data by finding the format of the data set and convert each field from binary to display. If you transfer the data as binary, the Windows or Unix system MUST be able to handle EBCDIC data.