Example 1 - Creating a record
To create a workload specification, you can use the Workload management (WLM) specification (EYUSTARTWLMSPEC.CREATE) WUI view or the batched repository-update facility.
Figure 1 illustrates how to specify
information when preparing a batched repository-update job:
Figure 1. Using the batched repository-update facility to create a WLM specification
/* after setting context, create workload specification */
CONTEXT EYUPLX01;
CREATE WLMSPEC NAME(EYUWMS01) DESC(Sample description)
AFFINITY(USERID)
AFFLIFE(SIGNON)
MATCH(USERID)
AORSCOPE(EYUCSG01)
EVENTNAME(PAGERATE)
ABENDCRIT(0)
ABENDTHRESH(0)
ALGTYPE(QUEUE);