Charles,

Remove the closing single quote on the DISPLAY statement line and you 
won't see that message. 

Here are the rules

If you want to continue a literal such that the continued lines and the 
continuation lines are part of one literal:
Code a hyphen in the indicator area of each continuation line.
Code the literal value using all columns of each continued line, up to and 
including column 72. (Do not terminate the continued lines with a single 
quotation mark followed by a space.)
Code a quotation mark before the first character of the literal on each 
continuation line.
Terminate the last continuation line with a single quotation mark followed 
by a space.

http://www-01.ibm.com/support/knowledgecenter/SS6SG3_4.2.0/com.ibm.entcobol.doc_4.2/PGandLR/ref/rlfmtcon.htm?lang=en

Thanks,
Kolusu

IBM Mainframe Discussion List <[email protected]> wrote on 
07/16/2015 08:03:52 AM:

> From: Charles Mills <[email protected]>
> To: [email protected]
> Date: 07/16/2015 08:06 AM
> Subject: Re: Not understanding COBOL diagnostic
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> ----1----+----2----+----3----+----4----+----5----+----6----+----7
>          DISPLAY '   YOU HAVE ACTIVATED STATISTICS WITH EXPLAIN' 
>  -               ' BUT HAVE NOT CREATED THE PLAN_TABLE.' 
>          DISPLAY '   EXPLAIN HAS BEEN DEACTIVATED TO ALLOW THE' 
>  -               ' PROGRAM TO RUN TO COMPLETION.' 
>          DISPLAY '   PLEASE CREATE THE PLAN_TABLE AND RESUBMIT' 
>  -               ' THE PROGRAM FOR EXPLAIN INFORMATION.' 
> 
> Charles
> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of Lizette Koehler
> Sent: Thursday, July 16, 2015 7:24 AM
> To: [email protected]
> Subject: Re: Not understanding COBOL diagnostic
> 
> Due to text wrap, I cannot tell what the original line looked like.
> 
> Could you post the original code above the compiler output? 
> 
> Do you have ending single quotes?
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to