Return codes

You can pass a return code back in register 15.

The valid decimal return codes are:
Return Code
Description
0
Use the record.
4
Do not use the record.

If you specify not to use any of the records that match the search value, ICSF returns control to the application. It returns with return code 12 and reason code 10024, which indicate that the exit rejected all the keys in the search.