Displaying workload groups

To display the workload groups defined on a partition, use the Display Workload Group (DSPWLCGRP) command.

  1. Display the workload groups defined on a partition using the Display Workload Group (DSPWLCGRP) command.
    DSPWLCGRP WLCGRP(*ALL) OUTPUT(*)

The current workload groups and any product entries associated with the groups are displayed. The output can also be sent to a spooled file by specifying OUTPUT(*PRINT).

To display the workload group being used by a job, you can use the DSPJOB command (option 2, Display job definition attributes). You can also use the Retrieve Thread Attributes (QWTRTVTA) API.