Return Parameters
This function returns a length and a return code.
- Length:
- The following lengths are valid:
| Length | Explanation |
|---|---|
| = 0 | When return code = 28, field length is 0. When return code = 24, host presentation space is not field formatted. |
| > 0 | Required field length in the host presentation space. |
- Return Code:
- The following codes are defined:
| Return Code | Explanation |
|---|---|
| 0 | The Find Field Length function was successful. |
| 1 | Your program is not connected to a host session. |
| 2 | A parameter error was encountered. |
| 7 | The host presentation space position is not valid. |
| 9 | A system error was encountered. |
| 24 | No such field was found. |
| 28 | Field length of 0 bytes. |