Is anyone a COBOL syntax expert? Is the following valid? (It's not a trick
question: there are no obscure PARM= options and nothing remarkable precedes
the fragment below.) It's not an academic question. The code is accepted
without error by the IBM Enterprise COBOL compiler V4.1, but not by a
proprietary pre-processor, and I'm trying to figure out if the code should
change or if the preprocessor is in error. Changing the code is not trivial:
multiple programs like this, corporate change control processes, etc., etc.
I think it's invalid, that the '.' strings are syntactically-invalid
character literals. Am I missing something?
Starting hint: The REMARKS paragraph heading is only a * comment and not
syntactically significant (I think).
Best viewed in a fixed-width font like Courier. FYI if you can't view it
that way, the leading quote in lines 20-23 is in CC 12 and the trailing
quote in CC 72.
Card columns:
1 2 3 6 7
1234567890123456789012345678901...0123456789012
00020 *REMARKS.
00021 '******************* ************'
00022 '* VARIOUS COMMENT-LIKE TEXT *'
00023 '* VARIOUS COMMENT-LIKE TEXT *'
Thanks for your help.
Charles
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN