The IMSSEGNAME function returns the name of the IMS segment currently being processed in an IMS changed data capture (CDC) source datastore or directly in an IMS datastore.
Category
Specialized
Syntax
IMSSEGNAME(<source_datastore>)
Parameter and Description
Parameter | Description |
---|---|
source_datastore | The name of the source datastore that contains the IMS record (native or CDC). |
Example
Retrieve the IMS segment name from the current record in the input Connect CDC (SQData) IMS change data capture source datastore CDCIN. Map the result to target field SRC_SEGNAME.
SRC_SEGNAME = IMSSEGNAME (CDCIN)