>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.
Not being a COBOL speaker and not using packed decimal in other than trivial ways over the past 59 years (since my first S/360), this discussion has been very interesting. It would appear that there is considerable interest in the details of the topic. A short paper on the topic, exploring the details mentioned over the last week or so, would find many readers. It could touch on the actual machine instructions used in various cases, anything relating to "newer" instructions, performance, decimal data viewed in hex, date fields, options, zoned decimal usage, etc, etc. (In the old days this might have been a small IBM RedBook or something similar). Bill Ogden ________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
