|
View previous topic :: View next topic
|
| Author |
Message |
lonewolf133
New User
Joined: 24 Nov 2007 Posts: 3 Location: Bangalore
|
|
|
|
When I read the file in the program, all the nondisplay(like X'0b', X'86' is lost. Also no lower case letters are read. I can see only Uppercase letters and special characters. Please let me know what I should do to get this problem corrected. Is there anything which needs to specifed in the JCL/program so that the nodisplay and lower case characters are also read. The file is a PS file, LRECL =32760. No problem with the FD part. I have used a singe PIC X(32760) variable to represent the record. Hope this can take care of Binary and Comp variables.
Part of actual record from file, in view mode(in hex mode):
0C ESSWC <?xml version="1.0" encoding="UTF-8"
444400000000000000004FC40300CEEEC44446A994A89A89977F4F748989889877EEC6F7
000000000000000000000030B20052263000CF74305592965EF1B0F055364957EF43608F
Inside the program, I am getting it like this(using Xpediter):
01 SEGMENT-ONE > 0C ....ESSWC <?... .......=
You can see that all the nondisplay and lowercase characters have disappeared. Please help. |
|
| Back to top |
|
 |
jaishus
New User
Joined: 20 Jul 2007 Posts: 9 Location: Bangalore
|
|
|
|
Hi,
Try displaying the content of the variable and XDC the sysout into a dataset. Try viewing the data in the dataset with HEX ON.
I dont think there will be any change in the data when its read. |
|
| Back to top |
|
 |
lonewolf133
New User
Joined: 24 Nov 2007 Posts: 3 Location: Bangalore
|
|
|
|
| The problem is not with the non display characters alone. What happended to the lower case letters then? Those atleast shoud be visible. The status code is 00. So no problem with the file read also. |
|
| Back to top |
|
 |
mmwife
Super Moderator

Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi LW,
I'm not an Expediter maven, but my guess is that the display you see is one of Exped's formats. The version I'm using you can enter an "H" beside the field and it will display the hex format of the data. Can you do that?
I can see the READ changing the data that it took from the file. |
|
| Back to top |
|
 |
|
|