in reply to Re^2: EBCDIC and COBOL records
in thread EBCDIC and COBOL records
plegall, I'm sorry, but all I can do is rule OUT some things...
First, Even though the name in your Data Division implies otherwise, your sample data is deffinitely not ASCII, it truely is EBCDIC.
Second, the 9(8) Comp fields do not look like anything I've seen before in a COMP field. The comp's I'm familiar with contain only 0-9, with one C/D for the + or - Sign. (ie. like the folowing, for $123.45...
0024 Zone portion
0135 numeric portion
or in the case of a signed value of -3697...
006D
0397
So, my questions would be, what sort of data is this, and are you sure these are COMP fields? Sorry, I couldn't be more help. Good Luck. Aim9b.
First, Even though the name in your Data Division implies otherwise, your sample data is deffinitely not ASCII, it truely is EBCDIC.
Second, the 9(8) Comp fields do not look like anything I've seen before in a COMP field. The comp's I'm familiar with contain only 0-9, with one C/D for the + or - Sign. (ie. like the folowing, for $123.45...
0024 Zone portion
0135 numeric portion
or in the case of a signed value of -3697...
006D
0397
So, my questions would be, what sort of data is this, and are you sure these are COMP fields? Sorry, I couldn't be more help. Good Luck. Aim9b.
In Section
Seekers of Perl Wisdom