Re: Copy replacing - Procedure Division
From: Vijay Shankar (avijayshankar_at_coolgoose.com)
Date: 02/20/04
- Previous message: PAUL RAULERSON: "Re: Looking for Progress Information"
- In reply to: William M. Klein: "Re: Copy replacing - Procedure Division"
- Next in thread: Howard Brazee: "Re: Copy replacing - Procedure Division"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: PAUL RAULERSON: "Re: Looking for Progress Information"
- In reply to: William M. Klein: "Re: Copy replacing - Procedure Division"
- Next in thread: Howard Brazee: "Re: Copy replacing - Procedure Division"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|