The EVASUPPORT library procedures used for CRCR or STOQ communications each return a real value that follows the same format. CRCR and STOQ applications can use this value to determine whether each requested action succeeded or failed.
The following are the procedures that return a value in this format:
-
CRCR_RECV
-
CRCR_SEND
-
STOQ_POLL
-
STOQ_RECV
-
STOQ_SEND
This procedure result is divided into the following fields:
|
Field |
Value and Meaning |
|---|---|
|
[47:32] |
This field is reserved for future use. |
|
[15:04] |
If an invalid parameter was detected, this field indicates which parameter was in error. A value of 1 indicates the first parameter; a value of 2 indicates the second parameter, and so on. |
|
[11:01] |
This field is used only if field [0:1] stores a 1, meaning that the function was not successful.
|
|
[10:01] |
Type of operation.
|
|
[09:06] |
This field indicates the specific error that occurred. To interpret the meaning of this field, the calling program must first interrogate field [11:01] to determine whether the error was fatal, and field [10:01] to determine whether the error was related to STOQ or CRCR. For nonfatal CRCR errors, the following are the possible values and their meanings:
|
|
[09:06] (cont.) |
For nonfatal STOQ errors, the following are the possible values and their meanings:
|
|
[09:06] (cont.) |
For fatal CRCR errors, the following are the possible values and their meanings:
|
|
[09:06] (cont.) |
For fatal STOQ errors, the following are the possible values and their meanings:
|
|
[03:03] |
This field is reserved for future use. |
|
[00:01] |
|
If bits [11:08] are interrogated as a single field, then the possible values fall into the following ranges:
|
1 to 63 |
Nonfatal STOQ error |
|
64 to 127 |
Nonfatal CRCR error |
|
128 to 191 |
Fatal STOQ error |
|
192 to 255 |
Fatal CRCR error |

