PIC S9(11).9(2) USAGE DISPLAY illegal?
From: Lueko Willms (l.willms_at_jpberlin.de)
Date: 07/29/04
- Previous message: Tom Morrison: "Re: cobol woes"
- Next in thread: William M. Klein: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Reply: William M. Klein: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Reply: Robert Wagner: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 29 Jul 2004 18:36:00 GMT
During my exercises with Fujitsu COBOL and my CopyCSV program, I
tried to use a
COPY
REPLACING
--- among other things this:
==9V9== BY ==9.9==
==)V9== BY ==).9==
According to the program listing, the replacement occured as
wanted, so that the resulting PIC clause was as in the subject line,
but the compiler complained about an "Invalid combination in PICTURE
character string. PICTURE 9 assumed" (error msg JMN1434I-S).
I had specified a "SIGN IS LEADING SEPARATE" on the group level.
When I add this other REPLACING clause:
== S9== BY == -9==
I get another message:
JMN2008I-W WHEN SIGN CLAUSE IS SPECIFIED FOR GROUP ITEM,AT LEAST ONE
SIGNED EXTERNAL DECIMAL ITEM MUST BE SPECIFIED FOR SUBORDINATING
ELEMENTARY ITEM. SIGN CLAUSE IGNORED.
But there is, among others, this one, resulting from the REPLACING:
10 CTLGTOTAL-INVOICE-AM PIC -9(11).9(2) USAGE DISPLAY.
Is the compiler wrong or me?
Yours,
Lüko Willms http://www.mlwerke.de
/--------- L.WILLMS@jpberlin.de -- Alle Rechte vorbehalten --
"Es sind nicht die Generäle und Könige, die die Geschichte machen,
sondern die breiten Massen des Volkes" - Nelson Mandela
- Previous message: Tom Morrison: "Re: cobol woes"
- Next in thread: William M. Klein: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Reply: William M. Klein: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Reply: Robert Wagner: "Re: PIC S9(11).9(2) USAGE DISPLAY illegal?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|