Micro Focus and 'Dialects'
Micro Focus and 'Dialects'
Micro Focus and 'Dialects'
NOOSVS, NOVSC2,NODOSVS,NOBS2000,NODG,NORM,NOXPOPEN,NOISO2002
(possibly more - depending upon your release/version of MF COBOL)
and most importantly
NOMF,ANS85
Plus
FLAGSTD(H) *> and if you are using RW, Debugging, or another optional module,
its support
or FLAG(ANS85)
Plus
FLAGAS(x) *> depending upon which level of severity you want
***
If you want to allow features from the ISO 2002 Standard, you would need to
change from NOISO2002 to ISO2002 and you would want to change to
FLAG(ISO2002)
(I don't know how much of ISO2002 this actually ALLOWS and what it flags, but I
do see it documented in the current MF documentation).
To "emulate" another compiler (e.g. IBM's Enterprise COBOL) you would want to
change both the "reserved word" directives and the flagging directives.
***
Other directives, e.g
- FLAGSINEDIT
- HIDE-MESSAGE
- WARNING
will impact where and which messages you see.
***
What I am talking about here is
what will (or will not) COMPILE (check) with or without messages. There are
entire OTHER sets of directives that impact "run-time behavior". There are
actually two types of these directives, For example:
Type 1 - Impact compiler "emulation"
- STICKY-LINKAGE
- PERFORM-TYPE
- ODOSLIDE
- IBMCOMP
- OLDNEXT-SENTENCE
- RDW
etc
Type 2 - impact CHOICES that other compilers (especially IBM mainframe ones)
also provide
- DYNAM (with NODYNAM "cancels" are NO-OPs)
- TRUNC (impacts picture truncation)
- QUOTE/POST (what does the QUOTE figurative constant "use")
etc