SET ERC
FUNCTION
This directive specifies a user-defined value for the ERC system variable. The variable will contain the value if an error occurred during processing. If no error occurred, ERC will contain 0, its initial value. SET ERC is a Thoroughbred Basic directive that can be executed from within a script.
SYNTAX
SET ERC numeric-value|CLEARnumeric-value is any valid negative or positive whole number.
NOTES
- The CLEAR option initializes the value of the ERC system variable.
- For more information on this Thoroughbred Basic directive see the Thoroughbred Basic Language Reference.
SEE ALSO
SET ERC in the Thoroughbred Basic Language Reference
From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF