Return Parameters

Return Code Explanation
0 The Copy String to Field function was successful.
1 Your program is not connected to a host session.
2 Parameter error or zero length for copy.
5 The target field was protected or inhibited, or incorrect data was sent to the target field (such as a field attribute).
6 Copy was completed, but data is truncated.
7 The host presentation space position is not valid.
9 A system error was encountered.
24 Unformatted host presentation space.