Construct a Condition Token (CEENCOD) API
Required Parameter Group:
| 1 | c_1 | Input | INT2 |
| 2 | c_2 | Input | INT2 |
| 3 | case | Input | INT2 |
| 4 | severity | Input | INT2 |
| 5 | control | Input | INT2 |
| 6 | facility_id | Input | CHAR3 |
| 7 | i_s_info | Input | INT4 |
| 8 | cond_token | Output | FEEDBACK |
Omissible Parameter:
| 9 | fc | Output | FEEDBACK |
Service Program Name: QLEAWI
Default Public Authority: *USE
Threadsafe: Yes
The Construct a Condition Token (CEENCOD) API is used to dynamically construct a 12-byte condition token.
Authorities and Locks
None.
Required Parameter Group
- c-1 (input)
- A 2-byte binary integer representing the value of the first part of the
Condition_ID. See MsgSev.
- c-2 (input)
- A 2-byte binary integer representing of the value of the second part of the
Condition_ID. See the description of
MsgNo.
- case (input)
- A 2-byte binary integer that defines the format of the Condition_ID portion
of the token. See the description of
Case.
- severity (input)
- A 2-byte unsigned binary integer that indicates the condition's severity.
The value of this field is the same as in C-1.
- control (input)
- A 2-byte binary number containing the control information of the condition.
See the description of Control.
- facility_id (input)
- A 3-character field containing three alphanumeric characters that identify
the product generating this condition or feedback information. See the
description of Facility-ID.
- i_s_info (input)
- A 4-byte handle identifying the instance specific information. See the
description of I--S--Info.
- cond_token (output)
- The 12-byte representation of the constructed condition or feedback information. See How Conditions Are Represented.
Omissible Parameter
- fc (output)
- A 12-byte feedback code.
Feedback Codes and Conditions
| CEE0000 | The API completed successfully |
| Severity: 00 | |
| CEE0401 | The Case parameter for &1 is not valid |
| Severity: 30 | |
| CEE0402 | Unsupported control code &2 passed to procedure &1 |
| Severity: 30 | |
| CEE0403 | Severity passed to &1 is not valid |
| Severity: 30 |
Usage Notes
-
If the severity in C_1 does not match the severity in the Severity parameter, message CEE0403 is raised.
API introduced: V2R3
[ Back to top | ILE CEE APIs | APIs by category ]