Managing affinity data
You can capture affinity data by CICS® region, and you can use the affinity data when you want to implement workload balancing across cloned regions.
Capturing affinity data is typically a one-off task and it is recommended that you empty both the affinity files and the DB2® tables that are associated with affinity data, every time you run such a task. To empty the affinity DB2 files, run the CIUCLR sample job by modifying the following commands:
DELETE FROM _schema_.CIU_AFF_EVENTS WHERE APPLID=’cicsappl’;
DELETE FROM _schema_.CIU_AFF_GRP_DATA WHERE APPLID=’cicsappl’;
DELETE FROM _schema_.CIU_AFF_CMD_DATA WHERE APPLID=’cicsappl’;
COMMIT;
To empty the affinity VSAM files, start the affinity collector without restoring the data. For more information about the restoring data on startup, see, Specifying region-specific options: General.