rammraju
New User
Joined: 05 Mar 2005 Posts: 65 Location: Hyderabad
|
|
|
|
Hi all,
I have a sort card like the below way. input file is a VB flat file, output is a vsam file (FB).
Code: |
SORT FIELDS=(54,10,ZD,A,39,2,CH,A,50,2,CH,A)
OUTFIL FILES=01,VTOF,
IFTHEN=(WHEN=(50,2,CH,EQ,C'31'),
BUILD=(1:54,10,
11:39,2,
13:50,2)),
IFTHEN=(WHEN=(50,2,CH,EQ,C'34'),
BUILD=(1:54,10,
11:39,2,
13:50,2)) |
when i run this in a job, in the output i am only able to see the data which is in character format. the other data which is in numeric/Packed decimal, it is showing as hexadecimal values.
Can anyone let me know how to remove this hexadecimal format for the numberic items. |
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
an anyone let me know how to remove this hexadecimal format for the numberic items. |
Why do you want to remove the packed/hex values? I suspect they were created in this format for some reason.
If the file definition for the vsam file includes comp-3 or comp fields, you will need to keep the current definitions.
Why is this a problem for you? If your only concern is "seeing" the values, you can look at the input file with "HEX ON". |
|