convert Pic 9(8) comp. to pic 9(8)?
Posted: Tue Mar 31, 2009 8:45 am
hi,my friends,
I have a dataset in cobol, display the content of one record as following(file aid hex on):
how to read the Hex x(01328f63), and then convert it decimal?
is the hex field pic 9(8) comp. or pic 9(4) comp. ? after conversion, is the
decimal field pic 9(8)? could you give me a good idea or suggestion? thank you
very much!
I have a dataset in cobol, display the content of one record as following(file aid hex on):
AA62 2A1
CCFF0386FCF
116212f3211
CCFF0386FCF
116212f3211
how to read the Hex x(01328f63), and then convert it decimal?
is the hex field pic 9(8) comp. or pic 9(4) comp. ? after conversion, is the
decimal field pic 9(8)? could you give me a good idea or suggestion? thank you
very much!