Get the original binary representation of the input record.
Category
Record
Syntax
GET_RAW_RECORD(datastore alias [, AFTER | BEFORE ])
Parameters and Descriptions
Parameter | Description |
---|---|
datastore alias | The alias of a Binary, IMS cdc or VSAM cdc input datastore. |
AFTER | Select the after image. This is the default. |
BEFORE | Select the before image. Note: Only use this parameter to update cdc input datastore records.
|
Example
The function returns a binary string, representing the original content of the record, as received. That means the data is in the original code-page. The function return a NULL value if the requested content cannot be retrieved, either because the image requested is not populated, or the datastore is not supported.