BEGIN | END GROUP - 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
ft:lastEdition
2024-07-30
ft:lastPublication
2024-07-30T20:19:56.898694

The BEGIN GROUP and END GROUP commands simplify the specification of Datastores containing multiple Tables, Segments or Records by allowing the Descriptions to be grouped together and named. The named group can then be referenced in subsequent DATASTORE commands. This also simplifies the PROCESS INTO command because only a single Datastore Alias needs to be referenced.

Syntax
BEGIN GROUP <group_name>
      DESCRIPTION <description_type> <file_name> AS <description_alias;
      DESCRIPTION <description_type> <file_name> AS <description_alias;
      DESCRIPTION <description_type> <file_name> AS <description_alias;
END GROUP;
Keyword and Parameter Descriptions
Keyword Description
<group_name> The "name" assigned to the group of Descriptions.

Example

Specify a group named HR_DB2 containing the z/OS DB2 EMP and DEP tables to be referenced by the target Datastore.
BEGIN GROUP HR_DB2
DESCRIPTION DB2SQL DD:DB2DDL(EMP) AS I_EMP;
DESCRIPTION DB2SQL DD:DB2DDL(DEPT) AS I_DEPT;
END GROUP;

DATASTORE  RDBMS
          OF RELATIONAL
          AS TARGET
          DESCRIBED BY GROUP HR_DB2;

PROCESS INTO TARGET