>Yes, of course, that's how we do it today, using a include file (or COPY=20
>BOOK, as it's called at other places),
>but it would be much nicer, if it could be defined as PIC S9(x) COMP-3=20
>UNSIGNED,

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!
Try defining a packed decimal item in Java :-)

Cheers,
TomR  (AKA Captain COBOL :-)    >> COBOL is the Language of the Future! <<

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to