I would like to know if PIC 9(003) is represented/same as PIC S9(3)
Thanks in advance.
Almost, the 'S' forces COBOL to deal with each just a little differentl.riship wrote:I would like to know if PIC 9(003) is represented/same as PIC S9(3)
If the field is S9(3), cobol will generate a "C" sign. If the field is 9(3), cobol should generate an "F" sign. Both C and F are positive. A "D" sign is negative.COBOL will insure the last byte (where the sign is stored) has a positive sign.