Combined affinity-transaction-group definitions
Before each definition of a combined group in the output file, the Builder adds a commented-out REMOVE command for that group. If you already have combined groups of the same name, check that it is appropriate to delete them before you uncomment the REMOVE command.
The name of each combined affinity transaction group is derived from the first alphanumeric transaction identifier in the combined group. For example, if ABCD was first, the transaction group name would be ABCDGRP.
For CICSPlex® SM, the name of each combined affinity transaction group must be unique.
Figure 1 shows a set of combined
definitions. A MATCH filter of LUNAME, a STATE of ACTIVE, and a CONTEXT
of CICPLEX1 were specified on the PARM parameter of the EXEC statement.
Figure 1. Sample definitions for combined
affinity transaction groups
* HEADER APPLID(BUILDER ) SAVEDATE(07/09/27) SAVETIME(12:00:51); 1
*
* Generated by the CICS IA TRANSACTION AFFINITIES (Builder) on 2007/09/27
* Note: Suitable for input to CICSPlex SM
*
CONTEXT CICPLEX1;
*
* REMOVE TRANGRP NAME(AFF1GRP );
CREATE TRANGRP NAME(AFF1GRP ) AFFINITY(LUNAME) AFFLIFE(SYSTEM )
MATCH(LUNAME) STATE(DORMANT);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF1);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF2);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF3);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF4);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF5);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF6);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF7);
CREATE DTRINGRP TRANGRP(AFF1GRP ) TRANID(AFF8);
*
* REMOVE TRANGRP NAME(AFTDGRP );
CREATE TRANGRP NAME(AFTDGRP ) AFFINITY(LUNAME) AFFLIFE(PCONV )
MATCH(LUNAME) STATE(DORMANT);
CREATE DTRINGRP TRANGRP(AFTDGRP ) TRANID(AFTD);
CREATE DTRINGRP TRANGRP(AFTDGRP ) TRANID(AFTR);
CREATE DTRINGRP TRANGRP(AFTDGRP ) TRANID(AFTW);
*
* REMOVE TRANGRP NAME(AUXXGRP );
CREATE TRANGRP NAME(AUXXGRP ) AFFINITY(GLOBAL) AFFLIFE(SYSTEM )
MATCH(LUNAME) STATE(DORMANT);
CREATE DTRINGRP TRANGRP(AUXXGRP ) TRANID(AUXX);
CREATE DTRINGRP TRANGRP(AUXXGRP ) TRANID(CWA1);
Note:
- The values of the SAVEDATE and SAVETIME fields in the HEADER statement give the latest save date and save time from any of the input data sets. See Figure 1 ( 1 ) and Data sets processed report.
- The combined transaction groups can be provided again to the Builder.
For example, you might decide to:
- Use the Affinities Reporter, then the Builder, to produce combined groups for temporary storage affinities.
- Use the Affinities Reporter, then the Builder, to produce combined groups for all other affinity command types.
- Merge the two files produced by the Builder in steps 2.a and 2.b, by providing those files to the Builder together.
- Provide to CICSPlex SM the file produced by the Builder in step 2.c.