Autostatus is a runtime facility that enables CA ADS to return specific status codes to an issuing dialog. When autostatus is in use, CA ADS returns only certain status codes to the issuing dialog. The autostatus facility is not appropriate for use when data is defined in logical records and accessed using logical record commands.
Enabling Autostatus
Autostatus is enabled on a dialog-by-dialog basis during dialog compilation by specifying the Autostatus option on the Options and Directives screen.
The availability of autostatus is controlled by the autostatus clause of the system generation ADSO statement. The ADSO AUTOSTATUS clause specifies:
Note: For more information about the AUTOSTATUS clause of the system generation ADSO statement, see the CA IDMS System Generation Guide.
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. |
|
Copyright © 2014 CA.
All rights reserved.
|
|