Charles Mills wrote:

>Is anyone a COBOL syntax expert? 

I'm only a programmer who occassionally write COBOL programs and giving advice 
in case of more serious compiling problems.

So, I'm NOT an expert. Trust me on this one! ;-)

>The code is accepted without error by the IBM Enterprise COBOL compiler V4.1,
>Starting hint: The REMARKS paragraph heading is only a * comment and not 
>syntactically significant (I think).

I can only comment about that word 'REMARKS':

As documented in Enterprise COBOL for z/OS, Compiler and Runtime Migration 
Guide, Version 4 Release 1

this quote:

REMARKS paragraph OS/VS COBOL accepted the REMARKS paragraph.            
                                                                         
          Enterprise COBOL does not accept the REMARKS paragraph. As a   
          replacement, use comment lines beginning with an * in column 7.

Try doing the recommended replacement and then try out that pre-processor.

>00021      '*******************   ************'
>00022      '* VARIOUS COMMENT-LIKE TEXT      *'
>00023      '* VARIOUS COMMENT-LIKE TEXT      *'

I'm not sure if your problem could also be caused by appearance of the quote to 
the left of the FIRST star in column 7. Try revising your comment lines? I 
wonder if that quote is used to label a source line despite the star?

As I said, I'm not an expert, but hopefully above can helps you.

Groete / Greetings
Elardus Engelbrecht

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

Reply via email to