Re: Copy replacing - Procedure Division

From: Vijay Shankar (avijayshankar_at_coolgoose.com)
Date: 02/20/04

  • Next message: JerryMouse: "Re: Copy replacing - Procedure Division"
    Date: 20 Feb 2004 05:33:18 -0800
    
    

    Thanks.. I had the same hunch and you confirmed it..
    I kinda' figured a work-around by having by "key field" appear in area
    B for the paragraph headings and i could compile the program

    I used PRINT(**)-WA3-EXIT so that the "(**)" string is pushed to area
    B

    thanks again for your response

    "William M. Klein" <wmklein@nospam.netcom.com> wrote in message news:<WHhZb.1035$yZ1.530@newsread2.news.pas.earthlink.net>...
    > "Obscure" rule in the ANSI/ISO Standard. You will need to place your COPY
    > statement in the A-Margin in order to get the "inserted" text there.
    > Unfortunately, if you have additional lines that should be in the B-Margin, this
    > may not work.
    >
    > Happily this "goes" away with the ISO 2002 Standard, but for an IBM mainframe
    > compiler, you may have PROBLEMS inserting COPY members with both A- and B-margin
    > source in it.
    >
    > --
    > Bill Klein
    > wmklein <at> ix.netcom.com
    > "Vijay Shankar" <avijayshankar@coolgoose.com> wrote in message
    > news:4232178f.0402191835.6f402dd4@posting.google.com...
    > > Iam using a Common copybook in a cobol program and using copy replacing
    > > statement to reuse the copybook.
    > >
    > > Iam getting a compile time error with the following message
    > >
    > > IGYPS2010-E Procedure-name "PRT08-WA3-EXIT" was found in area "B"
    > > followed by a period or section. The procedure-name was processed as if
    > > found in area "A".
    > >
    > > My copybook looks like this
    > >
    > > (**)-WA3-EXIT.
    > > EXIT.
    > >
    > > I use COPY GENRPPRT REPLACING ==(**)== BY ==PRT08==.
    > >
    > > My (**)- starts in Area A in the copybook. After replacing it moves to area
    > > B.
    > >
    > > Could somebody throw some light into this problem ?? Any help will be
    > > appreciated
    > >
    > > thanks
    > > Vijay


  • Next message: JerryMouse: "Re: Copy replacing - Procedure Division"

    Relevant Pages

    • Re: Redhat linux cannot print euro on console
      ... Iam trying to compile a simple program to print euro symbol on redhat linux system. ...
      (RedHat)
    • Redhat linux cannot print euro on console
      ... Iam trying to compile a simple program to print euro symbol on redhat linux system. ...
      (RedHat)
    • Redhat linux cannot print euro on console
      ... Iam trying to compile a simple program to print euro symbol on redhat linux system. ...
      (RedHat)
    • Fortran90 Help
      ... Iam using Fortran90 to compile a program which I have ... Iam enclosing the subroutine. ... END TYPE punktzonentyp ... END TYPE punktblocktyp ...
      (Tru64-UNIX-Managers)
    • Re: Copy replacing - Procedure Division
      ... > Iam using a Common copybook in a cobol program and using copy ... > replacing statement to reuse the copybook. ... > Iam getting a compile time error with the following message ... Compile the procedure division "copybook" ...
      (comp.lang.cobol)