respAddStringField()

This procedure adds String field into response.

ParameterTypeDescription
element30A VARYING, VARSIZEMandatoryName of element
fieldName30A VARYING, VARSIZEMandatoryField name
stringValue1024A VARYING, VARSIZEMandatoryString 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:

respAddStringField('data': 'warehouse': SRSROM);

respAddStringField('data': 'warehouse': SRSROM: *OFF);