Runtime Error-Status Codes

If command processing results in a status code not allowed by autostatus, dialog execution terminates abnormally. To allow the dialog to receive other status codes, specify all allowable status codes in an error expression. Error expressions are described later in this section.
idmscu
Status Codes Returned by the Autostatus Facility
If command processing results in a status code not allowed by autostatus, dialog execution terminates abnormally. To allow the dialog to receive other status codes, specify all allowable status codes in an error expression. Error expressions are described later in this section.
Status codes allowed by autostatus are listed below.
Status code
Meaning
0000
The request was executed successfully.
0307
An end-of-set condition was encountered.
0326
The requested record cannot be found.
1707
An end-of-index condition was encountered.
1726
The requested index record cannot be found.
4303
The requested scratch area cannot be found.
4305
The requested scratch record cannot be found.
4317
A request to replace a scratch record was executed successfully.
4404
The requested queue id cannot be found.
4405
The requested queue record cannot be found.
5149
NOWAIT was specified in a KEEP LONGTERM request, and a wait is required.