Checking Error Codes

You can check error codes by calling CDEMATCH. It compares error codes in a message to a set of automation-unique error codes to determine the action to take.

In some cases you may be able to use the code matching capabilities of ISSUEACT and TERMMSG.