WLMATAFF Resource Table
A CICSPlex® SM Workload Manager object that describes an active affinity relationship for a dynamic transaction. An instance of this object exists for the duration of the affinity, which in many cases is a very short period of time.
This object is referenced within the scope of a workload. The workload name must be explicitly identified in the PARM option of the API GET command by coding the following text string:
PARM('WORKLOAD(workload).')workload is the name of an active workload and is required. Alternatively, you can code the following text string:
PARM('WORKLOAD(*).')You can specify a workload name of * as a wildcard. Using this wildcard returns a WLMATAFF record for every workload with which the target region is associated. No other generic form of workload name can be specified. You must use an explicit workload name or the wildcard.
The Primary key field for this resource class is WORKLOAD.
The Secondary key field for this resource class is WRKLOWNER.
The Tertiary key field for this resource class is TRANGRP.
The Fourth key field for this resource class is USERID.
The Fifth key field for this resource class is LUNAME.
The Sixth key field for this resource class is TORNAME.
The Seventh key field for this resource class is TERMID.
The Eighth key field for this resource class is RESERVD2.
The Ninth key field for this resource class is AFFKEY.
- FORCE
- Force an affinity to be broken.
This action is provided for use when system failures occur and manual recovery of a workload is required. It is not intended for general use and may cause damage if used in an inappropriate manner. CICSPlex SM makes no checks before the forced removal of an affinity relation.
- External resource name(CMCI)
- CICSWLMActiveAffinity
- Object type
- CICSPlex SM Manager
- Length
- 240
- Usage
- API, WUI, CICS Management Client Interface(CMCI)
- API view
- No
- CMAS context
- No
- SCOPE applies
- No
- Only query CMASs in workload
- Yes
- Copybook identifier
- EYUt2487
- Security Class
- WORKLOAD.DEF
| Operations | Actions | Parameters | Required |
|---|---|---|---|
| GET | WORKLOAD(value) | No | |
| PERFORM SET | FORCE | None | N/A |
| Value | Code | Description |
|---|---|---|
| 21 | WLMATAFF_AFFINITY_NOT_FOUND | Affinity not found |
| 22 | WLMATAFF_WORKLOAD_NOT_FOUND | Workload not found |
| 23 | WLMATAFF_TRANGRP_NOT_FOUND | Transaction group not found |
| 24 | WLMATAFF_NO_WORKLOAD | No workload |
| 25 | WLMATAFF_NO_TRANGRP | No transaction group |
| 26 | WLMATAFF_WORKLOAD_FROZEN | Workload frozen |
| Name | Datatype | Source | Len | Sum | Description | Offset |
|---|---|---|---|---|---|---|
| WORKLOAD-1 | CHAR | CPSM | 8 | DIFF | Workload name | 8 |
| WRKLOWNER-2 | CHAR | CPSM | 4 | DIFF | System ID of workload owner | 84 |
| TRANGRP-3 | CHAR | CPSM | 8 | DIFF | Transaction group | 0 |
| USERID-4 | CHAR | CPSM | 8 | DIFF | User identifier | 24 |
| LUNAME-5 | CHAR | CPSM | 17 | DIFF | Terminal LU name | 32 |
| TORNAME-6 | CHAR | CPSM | 8 | DIFF | Routing region | 49 |
| TERMID-7 | CHAR | CPSM | 8 | DIFF | Routing region terminal | 57 |
| RESERVD2-8 | CHAR | CPSM | 11 | DIFF | The activity ID of the CBTS activity | 65 |
| AFFKEY-9 | HEX | CPSM | 64 | LIKE | Key that identifies creator of affinity | 175 |
| AFFINITY | EYUDA | CPSM | 4 | LIKE | Affinity relationship | 16 |
| AFFINITY Input/output valid values |
|
|||||
| AFFINITY Output valid values |
|
|||||
| AOR | CHAR | CPSM | 8 | DIFF | Target region | 76 |
| CBTSKEY | HEX | CPSM | 52 | LIKE | BTS activity ID | 88 |
| LIFETIME | EYUDA | CPSM | 4 | LIKE | Affinity lifetime | 20 |
| LIFETIME Input/output valid values |
|
|||||
| LIFETIME Output valid values |
|
|||||
| LOCUOWID | HEX | CPSM | 8 | LIKE | Local unit-of-work ID | 140 |
| NETUOWID | HEX | CPSM | 27 | LIKE | Network unit-of-work ID | 148 |