Return Parameters
This function returns a data string, length, and a return code.
- Data String:
- String containing the Unicode data is returned.
- Length:
- Number of Unicode characters copied into string.
- Return Code:
- The following codes are defined:
Return Code | Explanation |
---|---|
0 | The Copy Field to String function was successful. |
1 | Your program is not connected to a host session. |
2 | An error was made in specifying parameters. |
6 | The data to be copied and the target field are not the same size. The data is truncated if the string length is smaller than the field copied. |
7 | The host presentation space position is not valid. |
9 | A system error was encountered. |
24 | Unformatted host presentation space. |