The IMSDBNAME function returns name of the IMS database that is currently being processed via an IMS datastore or an IMS changed data capture (CDC) datastore.
Category
Specialized
Syntax
IMSDBNAME(<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 database name from the current record in the source changed data capture (CDC) datastore CDCIN. Map the result to target field SRC_DBNAME.
SRC_DBNAME = IMSDBNAME (CDCIN)