PIC S9(11).9(2) USAGE DISPLAY illegal?

From: Lueko Willms (l.willms_at_jpberlin.de)
Date: 07/29/04

  • Next message: Tukla Ratte: "Re: Layout Hell-o"
    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


  • Next message: Tukla Ratte: "Re: Layout Hell-o"

    Relevant Pages

    • Re: Get summery of a jpeg file
      ... localtime $epoch; ... $path.$nfile_name or die "There was an error renaming ... to get is called "Date Picture Taken". ... I then need to rename the ...
      (perl.beginners)
    • Re: DD IS AN ANIMAGUS, Snape is Good & LILY & JAMES RETURN IN BO
      ... > Since Snape didn't die, ... > DD's picture appears in his office. ... It's interesting to see that Dumbledore is sleeping in his portrait. ... Have we seen people in portraits sleeping before? ...
      (alt.fan.harry-potter)
    • Re: ok, what is this wrench really?
      ... the bottom in the picture) that apparently goes into the recess in the ... generic wrench with a unique design - kinda cool, think I'll keep it for a ... hole, but I suspect a screw securing the die, via some sort of strap ...
      (rec.crafts.metalworking)
    • Re: *Mapping UKs teen murder toll*
      ... White people twice as likely to die from violence but no mention of the colour of those who have murdered them. ... What colour of people are likely to be the murderer of these white people? ... Every picture as a 'full story' link, like this relatively recent high profile case, with pictures of the perpetrators included in some of the reports, as in this one ...
      (uk.legal)
    • Re: Portable Unicycle
      ... GILD wrote: ... TV god angry! ... You die now! ... The picture should explain everything. ...
      (rec.sport.unicycling)