Differences in the TEST compiler option
This section provides information about changes
to the TEST compiler option that you need to know when you upgrade
programs and compile with the TEST compiler option. Enterprise COBOL Version 5 and Version 6 has a simplified
TEST compiler option compared to earlier compilers. If the TEST
option is specified in JCL or CBL/PROCESS statements in COBOL source,
you may want to change them. The following TEST suboptions have been removed, but some continue to be tolerated
to ease migration. Compiler diagnostics messages are issued if they
are used. The removed suboptions may not be
specified together with new suboptions in the same TEST option specification.
Removed suboption | Behavior if specified with compiler | Diagnostic message level or category |
---|---|---|
ALL | Diagnostic message is issued. No hooks are generated in object. | Error (Invalid
option diagnostic, option discarded ) |
BLOCK | Diagnostic message is issued. No hooks are generated in object. | Error (Invalid
option diagnostic, option discarded ) |
PATH | Diagnostic message is issued. No hooks are generated in object. | Error (Invalid
option diagnostic, option discarded ) |
STMT | Diagnostic message is issued. No hooks are generated in object. | Error (Invalid
option diagnostic, option discarded ) |
NONE | Diagnostic message is issued. No hooks are generated in object. | Error (Invalid
option diagnostic, option discarded ) |
SYM | Diagnostic message is issued. Symbolic debugging information is always generated. | Error (Invalid
option diagnostic, option discarded ) |
NOSYM | Diagnostic message is issued. Symbolic debugging information is always generated. | Error (Invalid
option diagnostic, option discarded ) |
HOOK | Diagnostic message is issued. No hooks are generated in object. | Informational
message about NOHOOK behavior always in effect (Suboption
tolerated, TEST in effect ) |
NOHOOK | Diagnostic message is issued. No hooks are generated in object. | Informational
message about NOHOOK behavior always in effect (Suboption
tolerated, TEST in effect ) |
![]() ![]() |
![]() In Enterprise COBOL V6.2: TEST(SEPARATE) causes the generated DWARF debugging information to be written to the SYSDEBUG data set instead of to the object program. ![]() |
![]() Suboption
tolerated, TEST in effect ) In Enterprise COBOL V6.2: No diagnostic messages will be issued. ![]() |
![]() ![]() |
![]() In Enterprise COBOL V6.2: TEST(NOSEPARATE) causes the generated DWARF debugging information to be written to the object program. ![]() |
![]() Suboption
tolerated, TEST in effect ) In Enterprise COBOL V6.2: No diagnostic messages will be issued. ![]() |
Note: None of the old TEST suboptions are recognized when
specified in IGYCDOPT for setting installation default options.