This Natural profile and session parameter specifies the action to be taken if an error is detected during the compilation/execution of a Natural program in batch mode. It only applies in batch mode.
It does not apply if user-written error-handling routines are used.
Within a Natural session, the profile parameter
CC
can be overridden by the session parameter
CC
.
Possible settings | ON |
Natural flushes the input data
stream for the batch input files CMSYNIN and CMOBJIN
until a line containing %% in the first two positions is
encountered or until an end-of-file condition is detected. If more data are
available in the input stream, Natural resumes reading after the line
containing %% .
|
|
---|---|---|---|
OFF |
Natural attempts to process the next program (or command) in the input stream. |
||
Default setting | OFF |
||
Dynamic specification | |||
Specification within session | yes | Applicable Statements: | SET GLOBALS |
Applicable Command: | GLOBALS |
||
Application Programming Interface | USR1005N |
See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation. |
When a Natural session terminates, Return Code 4 is passed to the
invoking program with Register 15 if an error is detected (regardless of the
CC
setting).