1 | posn | Input | INT4 |
2 | datatype | Output | INT4 |
3 | currlen | Output | INT4 |
4 | maxlen | Output | INT4 |
5 | fc | Output | FEEDBACK |
The Get String Information (CEEGSI) API retrieves string information about a parameter used in the call to this API. String information describes the elements of a parameter, such as the type and the length of the string.
None.
1 | (typeEsc) An element descriptor type (descElmt) that is not one of the following data types. |
2 | (typeChar) A string of SBCS characters with values in the range X'00' through X'FF'. |
3 | (typeCharZ) A string of SBCS characters with values in the range X'01' through X'FF' that ends with a null byte (X'00'). |
4 | (typeCharV2) A string of SBCS characters prefixed by an unsigned 2-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of characters. |
5 | (typeCharV4) A string of SBCS characters prefixed by an unsigned 4-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of characters. |
6 | (typeBit) A string of bits with values of 0 or 1. |
7 | (typeBitV2) A string of bits prefixed by an unsigned 2-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of bits. |
8 | (typeBitV4) A string of bits prefixed by an unsigned 4-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of bits. |
9 | (typeGChar) A string of DBCS characters with values in the range X'0000' through X'FFFF'. |
10 | (typeGCharZ) A string of DBCS characters with values in the range X'0001' through X'FFFF' that end with a null byte (X'0000'). |
11 | (typeGCharV2) A string of DBCS characters prefixed by an unsigned 2-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of characters. |
12 | (typeGCharV4) A string of DBCS characters prefixed by an unsigned 4-byte binary count field. The count field specifies the current length of the string in terms of the number of string elements, that is, the number of characters. |
CEE0000 | The API completed successfully |
Severity: 00 | |
CEE0501 | The operational descriptor data type is not valid |
Severity: 30 | |
CEE0502 | Missing operational descriptor |
Severity: 30 | |
CEE0505 | A NULL-terminated string is not found |
Severity: 10 |
Note: This error may not be diagnosed.
[ Back to top | ILE CEE APIs | APIs by category ]