My WLM definitions were not behaving as I expected.

I had configured WLM so the MQ started tasks (CSQ*) were defined as a low priority STC.

  Subsystem-Type  Xref  Notes  Options  Help                              
--------------------------------------------------------------------------
Modify Rules for the Subsystem Type Row 22 to 25 of 25
Command ===> ___________________________________________ Scroll ===> CSR

Subsystem Type . : STC Fold qualifier names? Y (Y or N)
Description . . . All Started Tasks

Action codes: A=After C=Copy M=Move I=Insert rule
B=Before D=Delete row R=Repeat IS=Insert Sub-rule
More ===>
-------Qualifier-------- -------Class--------
Action Type Name Start Service Report
DEFAULTS: STCLOM ________
____ 1 TN CSQ9WEB ___ STCLOM MQ
____ 1 TN CSQ9CHIN ___ STCLOM MQ
____ 1 TN CSQ9ANG ___ STCLOM MQ

But I could see from SDSF, that the CSQ9CHIN’s SrvClass was STCHIM, and CSQ9WEB’s was STCHIM. It took me a couple of hours digging to find out why.

Higher up the list, the WLM definitions had

         -------Qualifier--------                 -------Class--------    
Action Type Name Start Service Report
DEFAULTS: STCLOM ________
____ 1 TN %MASTER% ___ SYSTEM MASTER
____ 1 SPM SYSTEM ___ SYSTEM ________
____ 1 SPM SYSSTC ___ SYSSTC ________
____ 1 TNG STCHI ___ SYSSTC ________
____ 1 TNG STCMD ___ STCMDM ________
____ 1 TNG MONITORS ___ ________ MONITORS
____ 1 TNG SERVERS ___ STCMDM ________
____ 1 TNG ONLPRD ___ STCHIM ________

There is a definition for ONLPRD (online production), a group of transaction names (Transaction Name Group).

From option 5 Classification Groups, of the main WLM panel it displays

                         Classification Group Menu                        
Select one of the following options.
__ 1. Accounting Information Groups 14. Plan Name Groups
2. Client Accounting Info Groups 15. Procedure Name Groups
3. Client IP Address Groups 16. Process Name Groups
4. Client Transaction Name Groups 17. Scheduling Environment Groups
5. Client Userid Groups 18. Subsystem Collection Groups
6. Client Workstation Name Groups 19. Subsystem Instance Groups
7. Collection Name Groups 20. Subsystem Parameter Groups
8. Connection Type Groups 21. Sysplex Name Groups
9. Correlation Information Groups 22. System Name Groups
10. LU Name Groups 23. Transaction Class Groups
11. Net ID Groups 24. Transaction Name Groups
12. Package Name Groups 25. Userid Groups
13. Perform Groups 26. Container Qualifier Groups

Most of these had no definition, but option 24. Transaction Name Groups gave me

                           Group Selection List                Row 1 to 5 of 5
Command ===> ____________________________________________________________

Qualifier type . . . . . . . : Transaction Name

Action Codes: 1=Create, 2=Copy, 3=Modify, 4=Browse, 5=Print, 6=Delete,
/=Menu Bar
-- Last Change ---
Action Name Description User Date
__ MONITORS Online System Activity monitors TODD 1999/11/16
__ ONLPRD Online Production Subsystems IBMUSER 2023/01/10
__ SERVERS Server Address Spaces TODD 1999/11/16
__ STCHI High STC's TODD 1999/11/16
__ STCMD Medium STC's TODD 1999/11/16

and these names match what is in the classification rules section above.

Option 3 to modify ONLPRD, gave

                              Modify a Group                   Row 1 to 8 of 8
Command ===> ____________________________________________________________

Enter or change the following information:

Qualifier type . . . . . . . : Transaction Name
Group name . . . . . . . . . : ONLPRD
Description . . . . . . . . . Online Production Subsystems
Fold qualifier names? . . . . Y (Y or N)

Qualifier Name Start Description
%%%%DBM1 ___ DB2 Subsystems
%%%%MSTR ___ DB2 Subsystems
%%%%DIST ___ DB2 Subsystems
%%%%SPAS ___ DB2 Subsystems
CICS* ___ CICS Online Systems
IMS* ___ IMS Online Systems
CSQ* ___ MQ Series

and we can see that MQ started tasks starting with CSQ are in this group.

As this definition is higher in the classification rules list – it will take precedence over any definitions I had defined lower down.

Because there was a definition (within the Started classification)

____  1 TNG       ONLPRD   ___                    STCHIM      ________   

Started tasks in the group ONLPRD are classified as STCHIM, and so this explains why the classification of the MQ address spaces were “wrong”.

I had several options

  • Change the groups and put MQ in its own group with STCLOM
  • Move my CSQ9* specific definitions above the group.

Leave a comment