WBAP gate, GET_MESSAGE_BODY function

The GET_MESSAGE_BODY function retrieves the previously constructed body of an HTTP response.

Input Parameters

CLIENT_CODEPAGE
Optional Parameter
ASCII Code page into which the data is to be converted before being passed back to the caller
CONTAINER_NAME
Optional Parameter
The name of the container that will receive the message body.
CONTAINER_POOL
Optional Parameter
The container pool of which the named container is a member.
CONVERT
Optional Parameter
indicates whether or not data is to undergo code page conversion.
Values for the parameter are:
  • DEFAULT
  • NO
  • YES
DATA_BUFFER
Optional Parameter
The buffer into which the data is to be placed.
TRUNCATE
Optional Parameter
A binary value that specifies how data that is not returned on the first call is handled. TRUNCATE(NO) specifies that the rest of the data will be returned on subsequent calls. TRUNCATE(YES) specifies that the extra data will be truncated and will not be returned.
Values for the parameter are:
  • NO
  • YES
SERVER_CODEPAGE
Optional Parameter
EBCDIC Code page of the data to be passed back

Output Parameters

REASON
The values for the parameter are:
  • BODY_INCOMPLETE
  • BODY_TRUNCATED
  • BODY_TRUNCATED
  • CHUNK_INCOMPLETE
  • CLOSESTATUS_INVAL_NONHTTP
  • INVALID_CLIENT_CODEPAGE
  • INVALID_CLIENT_CODEPAGE
  • INVALID_CODEPAGE_COMBIN
  • INVALID_MEDIATYPE
  • INVALID_SERVER_CODEPAGE
  • INVALID_SERVER_CODEPAGE
  • NON_WEB_TRANSACTION
  • PARTIAL_BODY
RESPONSE
Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
REQUEST_TYPE
Optional Parameter
Indicates whether we are processing an HTTP Request.
Values for the parameter are:
  • HTTP
  • NON_HTTP
SET_BLOCK
Optional Parameter
Address of a block of storage containing the message body


dfhs3_WBAPget_message_body.html | Timestamp icon Last updated: Monday, 5 June 2017