On 2/05/2025 1:22 pm, Tom Ross wrote:
Hmm, if you don't want a sign, why have an 'S' in the PICTURE clause?
Signed:
    05 SIGNED-ITEM  PIC S9(x) COMP-3.
Unsigned:
    05 UNSIGNED-ITEM  PIC 9(x) COMP-3.

I guess I am too close to COBOL, but signed and unsigned are easy in COBOL!

What's the difference in the representation?
Is unsigned 1234:
0x01234F
or
0x001234

--
Andrew Rowley
Black Hill Software

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to