This procedure adds UCS2 String field into response.
Parameter | Type | Description | |
---|---|---|---|
element | 30A VARYING, VARSIZE | Mandatory | Name of element |
fieldName | 30A VARYING, VARSIZE | Mandatory | Field name |
stringValue | 1024C VARYING, VARSIZE | Mandatory | UCS2 String value |
escape | N | Optional | *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);