IDMS. Returns a two-character indicator that indicates whether the data comes from a bulk data movement operation, a log capture data extraction, or a real-time capture data extraction, and whether data is or is not attached.
Used in conjunction with the GetDbKeyOfOwner function, generates a relational view of IDMS data. You might use these functions to materialize a relational database by using a PowerExchange bulk data movement operation. Then, you can maintain the data by using PowerExchange CDC processing.
The GetDataFlowType function works with either:
A single-record capture registration
The base record, or lowest level, of a multiple-record capture registration
The GetDbKeyOfOwner function returns the database key and sets the page group and radix elements to zero.
Syntax:
result
=GetDataFlowType()
The
result
parameter returns a two-character CHAR value that specifies the following information:
The first character specifies one of the following values:
B
. Bulk data extraction.
L
. Log capture data extraction.
R
. Real-time capture data extraction.
The second character specifies one of the following values:
D
. Normal data record.
C
. Connect without data. Relevant for CDC processing. The data portion of the record contains null.
U
. Disconnect without data. Relevant for CDC processing. The data portion of the record contains null.
If no owner exists, the GetDbKeyOfOwner function returns high values.