sergeyken wrote:You need to know the exact "layout" of records in your file: e.g. the sequence of "fields", and the format of data in each of those fields.
Without this information any attempt to "HEX ON" wouldn't help even to understand the meaning of data, to say nothing about the correct transmission to another platform.
Typical method of data transfer to a different platform is:
1) Convert each field to its character presentation, in EBCDIC character set.
2) Perform conversion from EBCDIC to either ASCII, or Unicode, or any other encoding scheme used on the target platform.
3) Transmit the character file to another platform (this can be often combined with step 2).
4) Use the transferred text file with proper encoding for any further operation on the target platform.
From the style of your question I can conclude that you are trying to do the job while you have no idea about the basic, fundamental information "how the things work" in this computer world.
Hello, friend! Well, I had the Copybook, and yes, I can read and understand the file on the Mainframe. My difficulty was mainly in exporting this file from the mainframe, already decompressed, to be sent to other areas for analysis.
But you gave me an idea of how to do it. I appreciate your Hekp.