BRECLEN - connect_cdc_sqdata - Latest

Connect CDC (SQData) Apply engine

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (SQData)
Version
Latest
ft:locale
en-US
Product name
Connect CDC (SQData)
ft:title
Connect CDC (SQData) Apply engine
Copyright
2026
First publish date
2000
ft:lastEdition
2026-03-26
ft:lastPublication
2026-03-26T20:24:24.831000
L1_Product_Gateway
Integrate
L2_Product_Segment
Data Integration
L3_Product_Brand
Precisely Connect
L4_Investment_Segment
Application Data Integration
L5_Product_Group
ADI - Connect
L6_Product_Name
Connect CDC

The BRECLEN function returns the length of a binary record description for a given record layout. Binary record descriptions are typically COBOL and are used for IMS segments, VSAM and flat file records. The length returned represents the maximum length of the description which may be different from the record length of an individual record if the record is variable length in which case the record may contain an OCCURS clause to facilitate processing.

Category

Byte

Syntax

BRECLEN(<source_datastore> , <record_description_alias> | <variable> | 'literal')

Parameters and Descriptions

Parameter Description
source_datastore Name of the datastore that references the record description.
<record_description_alias> | <variable> | 'literal' Must resolve at runtime to the alias of a record DESCRIPTION alias.

Example

Control the processing of changed IMS Segment data by first determining the maximum length of a binary record description.
PROCESS INTO TARGET
SELECT
{
   V_MAX_RECLEN = BRECLIN(CDCIN, RECNAME(CDCIN))
   case
   when RECNAME(CDCIN) = 'SEGEMPL1'
       CALLPROC(M_SEGEMPL1
   when RECNAME(CDCIN) =  'SEGDEPT1'
       CALLPROC(M_SEGDEPT1)
}
FROM CDCIN;