WLMAWDEF Resource Table

A CPSM Workload Manager object that describes a workload definition installed in an active workload.

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 WLMAWDEF 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.

You can specify other parameters, but the workload name is required.

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 NAME.

The following action is supported:
DISCARD
Remove the installed definition.

The DISCARD action requires no unique parameter data.

External resource name
CICSWLMActiveDefinition
Length
128
Usage
API or WUI or CICS Management Client Interface
API view
No
CMAS context
No
SCOPE applies
No
Only query CMASs in workload
Yes
Object type
CICSPlex SM Manager
Copybook identifier
EYUt2489
Table 1. Valid CPSM operations
Operations Actions Parameters Required
GET   WORKLOAD(value) No
PERFORM SET DISCARD None N/A
Table 2. WLMAWDEF FEEDBACK error codes
Value Code Description
21 WLMAWDEF_WLMDEF_NOT_FOUND Workload management definition not found
22 WLMAWDEF_NO_WORKLOAD No workload
23 WLMAWDEF_NO_WLMDEF No workload management definition (WLMDEF)
24 WLMAWDEF_WORKLOAD_FROZEN Workload frozen
25 WLMAWDEF_MAL_PENDING Request scheduled for execution later
Table 3. WLMAWDEF resource table attributes
Name Datatype Source Len Sum Description Attr ID
AORSCOPE CHAR CPSM 8 DIFF Scope name of set of target systems 9
DESC CHAR CPSM 58 DIFF Description 10
LUNAME CHAR CPSM 17 DIFF Terminal LU name 7
 NAME-3  CHAR CPSM 8 DIFF Workload definition 4
PROCESSTYPE CHAR CPSM 8 DIFF Process type 12
TRANGRP CHAR CPSM 8 DIFF Transaction group 6
USERID CHAR CPSM 8 DIFF User ID 8
 WORKLOAD-1  CHAR CPSM 8 DIFF Workload name 5
 WRKLOWNER-2  CHAR CPSM 4 DIFF System ID of workload owner 11