Balu5491
New User
Joined: 01 Aug 2016 Posts: 14 Location: India
|
|
|
|
Actual data in the GDG have below data in it.
Code: |
*************** Top of Data
0001IA
************************* |
when i give HEX ON, the below is the result.
Code: |
*************** Top of Data **
0001IA
FFFFCC67A676476467764444444444
00019194C754053076630000000000
------------------------------ |
For a space, it should be 40, but this hexadecimal shows there were some character is hidden.
When i try downloading through option 6>filetransfer, i get the extract file as below.
Code: |
0001IA¹¾Ô·¿´ ¿³ ·ÀÀ³ |
Could any one please explain me what is happening here?
Thanks.
Coded by moderator |
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 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. |
|