PIC S9(3) COMP = gives compile error with fujitsu power cobol

d.castignone_at_axenta.com
Date: 01/18/04


Date: 18 Jan 2004 01:08:27 -0800

Hi

i'm a Cobol newbie and
i have a strange problem with free fujitsu cobol32 compiler on a
Windows 2000 System.

when i define for e.g

01 MYVAR PIC S9(3) COMP.
OR
01 MYVAR PIC s9(3) COMP-3.

I get the compile error
JMN2012I-S BINARY,COMPUTATIONAL,COMPUTATIONAL-3 OR
PACKED-DECIMAL MUST BE SPECIFIED FOR NUMERIC ITEM

when i define the PIC without 'S' like

01 MYVAR PIC 9(3) COMP.

every thing works fine.

is it a bug ?

thx for help !