CC - Error Processing in Batch Mode

This Natural profile parameter specifies the action to be taken if an error is detected during the compilation/execution of a Natural program in batch mode.

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.

If all input is processed, Natural terminates with Return Code 61 and writes the Natural error 9987 (Error occurred during execution/compilation.) to the batch output file (if the profile parameter ENDMSG is set to ON).

Default setting OFF
Dynamic specification yes
Specification within session yes Applicable Statements:  
Applicable command:  
Application programming interface USR1005N See SYSEXT - Natural Application Programming Interfaces in the Utilities documentation.

Notes:

  1. This Natural profile parameter only applies in batch mode.
  2. It does not apply if user-written error-handling routines are used.