respAddBlobValue()

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

ParameterTypeDescription
ptrPOINTERMandatoryPointer to field
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';
xxPtr = respAddField('data': 'myText');
respAddBlobValue(xxPtr: %ADDR(xxBlob): %LEN(%TRIMR(xxBlob)));