Natural for Mainframes Version 8.2.6 for Mainframes
 —  Terminal Commands  —

%E= - Activate/Deactivate Error Processing

%E=

ON

OFF

With the terminal command %E=OFF any error transaction and ON ERROR processing is switched off, with %E=ON error transaction and ON ERROR processing is switched on again.

Command Function
%E=OFF

Switches any error transaction (as identified by the system variable *ERROR-TA or defined in Natural Security) and ON ERROR processing off; any error that occurs will then be handled by normal Natural error processing.

This may be used to locate an error in your applications' error processing if the structure of the application with various error-handling procedures on different levels makes it impossible for you to find out where exactly an error originally occurred.

%E=ON

Switches error transaction and ON ERROR processing on again.

For further information, see Using an Error Transaction Program in the Programming Guide

Top of page