Bill Klein wrote:
This is a follow-up on an earlier IBM-MAIN thread.

I thought that it might be interesting AND USEFUL to "document" which
IBM Enterprise COBOL compiler options can "impact" run-time behavior. By this I mean that the same source code will compile "cleanly" with any setting of these options but that for programs that COMPLETE their "run" the "output" might be different. (I phrase it this way to avoid options that impact "storage" usage at compile or run-time. I am also "ignoring" performance differences.).

Looking at the list of options at:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3PG30/CCON
TENTS

My initial list of "potentially impacting" options is:

    -      ADV
    -       CICS  (depending on suboptions)
    -       CODEPAGE
    -       CURRENCY
    -       DATEPROC
    -       DYNAM  (only if CANCEL is used)
This impacts runtime behavior whether or not CANCEL is used

    -       FASTSRT (only if DECLARATIVES are used)
This impacts runtime behavior whether or not DECLARATIVES are used,
I believe

    -       INTDATE
    -       NUMPROC
    -       PGMNAME
I don't see the runtime behavior impact of this

    -       QUOTE/APOST (figurative constant, not literals)
I don't see the runtime behavior impact of this

    -       SQL (depending on suboptions)
    -       SSRANGE (if checking is turned on at run-time)
    -       THREAD
    -       TRUNC
    -       YEARWINDOW
    -       ZWB

****

Of you "IBM COBOL" types, do you have any opinions on any that I have
missed - or that I have included that you think do NOT impact run-time behavior?



In some sense, TEST can impact runtime behavior.

ARITH can impact runtime behavior

DLL can impact runtime behavior

OPTIMIZE can impact runtime behavior

OUTDD can impact runtime behavior

RENT can impact runtime behavior (along with DATA)

In some sense, RMODE can impact runtime behavior

So, my opinion, for what it's worth.

Kind regards,

-Steve Comstock

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to