COBOL - Opções de compilação - RULES
You can use the RULES option to request information about your program from the compiler to improve the program by flagging certain types of source code at compile time.
Default is: NORULES
Abbreviations are:
You can specify the following suboptions for RULES:
For more information about the OCCURS DEPENDING ON clause, see Variable-length tables in the Enterprise COBOL for z/OS® Language Reference.
When NOUNREFALL is specified, all level-01 and level-77 data items in the FILE SECTION, WORKING-STORAGE SECTION, LOCAL-STORAGE SECTION, and LINKAGE SECTION that are unreferenced, including no subordinate items referenced when the item is a group, are reported, regardless of whether the definition of the data item appears directly in the user source program or was included in the program from a copy member.
When NOUNREFSOURCE is specified, all level-01 and level-77 data items in the FILE SECTION, WORKING-STORAGE SECTION, LOCAL-STORAGE SECTION, and LINKAGE SECTION that are unreferenced, including no subordinate items referenced when the item is a group, are reported only if the definition of the data item appears directly in the user source program.
Notes:
If the RULES option is specified with no suboptions, the default is RULES(ENDPERIOD,EVENPACK,LAXPERF,SLACKBYTES,OMITODOMIN,UNREF).