Syntactic Confectionery Delight | |
PerlMonks |
Re^3: EBCDIC and COBOL recordsby Aim9b (Monk) |
on Jul 14, 2008 at 12:14 UTC ( [id://697456]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|