The CAF error procedure
Lines 118 through 126 of the following figure are the CAF error procedure, which the product runs when encountering a CAF processing error, for example in lines 45 and 46.
The procedure returns the CAF error code and message.
Reporting CAF error code and message
117
118 /*------------------------------------------------------------------*/
119
120 caferror - output caf error msg
121
122 /*------------------------------------------------------------------*/
123
124 caferror:
125 say 'Connect failed, rc = 'rc', cafreason = 'cafreason;
126 exit 8;
127
118 /*------------------------------------------------------------------*/
119
120 caferror - output caf error msg
121
122 /*------------------------------------------------------------------*/
123
124 caferror:
125 say 'Connect failed, rc = 'rc', cafreason = 'cafreason;
126 exit 8;
127
Line Number | Description |
---|---|
118-122 | These lines are comments. |
124 | This line marks the beginning of the CAF error procedure, which the product runs if the CONNECT fails (line 46) . |
125 | This line returns the CAF error message and CAFREASON to the SYSTSPRT DD. For more information on CAF error messages, see Call attachment return codes |
126 | This line exits the program and sets the return code to 8. |
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*