OFFSET_OF - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
Language
English
Product name
Connect CDC (SQData)
Title
Connect CDC (SQData) Apply engine
Copyright
2024
First publish date
2000
Last edition
2024-07-30
Last publish date
2024-07-30T20:19:56.898694

Get the position of a given field in its record.

Category

Record

Syntax
OFFSET_OF(input field)
Parameter and Description
Parameter Description
input field The name of an input field of a binary-format record, this include plain Binary datastore, IMSCDC and VSAMCDC.

Example

The function return a position, the position in the source record of the original value of the field. This position is 1-based to be used with the MID() function.

A typical use _col_val = MID(GET_RAW_RECORD(CDCIN), OFFSET_OF(CDCIN.FOO.BAR), 5)