respAddUCS2Field()

This procedure adds UCS2 String field into response.

ParameterTypeDescription
element30A VARYING, VARSIZEMandatoryName of element
fieldName30A VARYING, VARSIZEMandatoryField name
stringValue1024C VARYING, VARSIZEMandatoryUCS2 String value
escapeNOptional*ON or *OFF (Default = *ON) Indicates if value must be “escaped” means add ‘' escape character

The procedure returns pointer of field. If procedure can’t add field, then returns null.

Examples:

respAddUCS2Field('data': 'warehouse': xxUCS2Value);

respAddUCS2Field('data': 'warehouse': xxUCS2Value: *OFF);