From m204wiki
Jump to navigation Jump to search

Get user buffer contents to a longstring

Note: Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $Lstr_Get_Userbuffer function.

This function retrieves into a Longstring the contents of the current user buffer. Such a user buffer is a Universal Buffer or an MQ/204 user buffer, both of which, as of Model 204 V6R1, may transfer Large Object (LOB) data. For versions of Model 204 prior to 6.1, this function applies only to the MQ user buffer and requires the MQ/204 feature.

The $Lstr_Get_Userbuffer function accepts no arguments and returns a Longstring result.


%lstr = $Lstr_Get_Userbuffer

%lstr is the longstring for the user buffer contents.

Any errors during the transfer of the buffer contents result in request cancellation.

Usage notes

Products authorizing $Lstr_Get_Userbuffer