respAddBlobField()

This procedure adds Blob field. The blob value is proviced as pair pointer andlength in bytes. NOTE: The blob value is added as text value to JSON.

ParameterTypeDescription
element30A VARYING, VARSIZEMandatoryName of element
fieldName30A VARYING, VARSIZEMandatoryField name
valuePtrPOINTERMandatoryPointer to Blob value
valueLen10U 0MandatoryLength of Blob value

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

Examples:

xxBlob = 'Hello World';
respAddBlobField('data': 'myText': %ADDR(xxBlob): %LEN(%TRIMR(xxBlob)));