User Defined Program/File Error Handler
To enable program/file errors which occur within LANSA or LANSA user applications to be recorded, a User Defined program/file error handler program can be called. To invoke the specified program these steps must be taken:
1. Enter the name of the user defined program/file error handler program into the Work with Execution and Security Settings.
in2. The user defined program/file error handler program must be set up to receive 3 parameters which are as follows:
Parameter Number |
Type |
Length |
Description |
1 |
A |
10 |
Program name - contains the program name in which a program/file error has occurred. |
2 |
A |
1 |
Type of Error - contains the type of error which has occurred. Values: |
3 |
A |
varies |
Information. |