ITERM - Session Termination in Case of Initialization Error

This Natural profile parameter specifies whether or not the Natural session is to continue in the case of a session initialization error.

Possible settings ON

If a session initialization error occurs, the session is terminated immediately with message NAT9970 after the initialization error messages.

OFF

If session initialization errors occur, the following happens:

  • In online mode, the initialization errors are displayed, and you can choose to either continue or terminate the session.

  • In batch mode, the initialization errors are displayed, and the session is continued - possibly leading to errors or undesired results later in the session. In case no other errors occur during session execution, the message NAT9964 (with condition code 4) will be issued at session termination instead of NAT9995.

Note:
The setting ITERM=OFF is not honored when an INPL command is placed on the Natural command stack at the beginning of the Natural session, that is, with STACK=INPL. The setting ITERM=ON is forced in this case.

Default setting OFF  
Dynamic specification yes  
Specification within session no  

Note:
The setting of ITERM is irrelevant if profile parameter IMSG is set to OFF, because then any initialization errors are suppressed, and the session continues.