The Rule Search API returns one of the following return codes in general register 15:
Table 256 Return Codes for the Rule Search API
Code  | 
Description  | 
|---|---|
0  | 
The Rule Search API was successfully completed.  | 
4  | 
No Control‑M/Tape rule currently in memory is triggered by the specified selection criteria.  | 
8  | 
GETMAIN error.  | 
12  | 
Internal error.  | 
16  | 
FREEMAIN error.  | 
20  | 
An invalid argument was specified in the CALL statement that was used to invoke the Rule Search API.  | 
Parent Topic |