

Error Handling › Common Error Subroutines › Locating the Error in the Code
Locating the Error in the Code
The following $ERROR functions are particularly useful in an error procedure designed to process all of the errors in an application. These $ERROR functions pinpoint the location of the error:
- $ERROR-NAME Name of error field
- $ERROR-PGM Name of program containing error
- $ERROR-PROC Name of procedure containing error
- $ERROR-STMT Sequence number of statement containing error
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|