$WSC mapping

Table 1. Structure WSC
Offset
Dec
Offset
Hex
Type Len Name(Dim) Description
0 (0) STRUCTURE 0 WSC HASP WLM Service Class Queue
0 (0) CHARACTER 8  WSCNAME Service Class name
8 (8) BITSTRING 4  WSCSTOK Service Class token
12 (C) ADDRESS 4  WSCQHEAD Index of first JQE on the service class queue
16 (10) BITSTRING 4  WSCREG Affinity mask for WLM registration/dereg.
20 (14) BITSTRING 1  WSCFLAG1 Flags
      1... ....  WSC1DREG "B'10000000'" WSCREG represents systems which have deregistered
      .1.. ....  WSC1PERM "B'01000000'" Permanent WSC
      ..1. ....  WSC1IACT "B'00100000'" At least one member needs to recompute its WSCIACT
      ...1 ....  WSC1INIT "B'00010000'" WSC initialized
21 (15) BITSTRING 1 Reserved
22 (16) SIGNED 2  WSCMAFF Multi-Aff jobs to be selected this cycle
24 (18) SIGNED 4  WSCDTOD High order word of TOD when this queue became empty
28 (1C) SIGNED 4  WSCLSTAD Index of most recently added JQE/JQX
32 (20) BITSTRING 1  WSCSELCT Members that can select work based on goals
32 (20) X'24' 0  WSCLEN1 "*-WSC" Length of first segment
36 (24) BITSTRING 1  WSCQAFF Members for which the class has affinity
         The rules for counting initiators and executings
         batch jobs as a consequence of a $TJnnn command
         are as follows:
              o If a job was selected by a WINIT (WLM
         Initiator), it is forever going to be included
         when counting active jobs for a service class.
              o If a job was selected by a JINIT (JES
         Initiator), it is forever not included when
         counting active jobs for a service class.
              o If an executing job's service class is
         changed from one class to another via a
         $TJnnn,SRVCLASS=something (something can be all
         blanks) or a RESET MVS command and the job was
         selected by a WINIT, then the job will be removed
         from the original service class count and added to
         the new service class count (and the initiator
         count will be changed similarly). The job count
         can take as long as 30 seconds to be updated. The
         initiator count is instanteneous.
              o If a characteristic of an executing job is
         changed (something that influences the service
         class assigned to the job), then nothing will be,
         done to alter any counts. The service class is
         not changed until and unless the job re-executes.
              o If a job's job class is changed to a
         different class and that class has the opposite
         mode of the original class (original was MODE=JES
         and new has MODE=WLM or vice versa), there will be
         no changing of active job count (If the job
         started as a WINIT job, it stays a WINIT job; if
         it started as a JINIT job, it stays a JINIT job).
40 (28) SIGNED 4  WSCIACT(0) Initiators active
40 (28) X'80' 0  WSCLEN2 "*-WSCIACT" Length of init active
168 (A8) SIGNED 4  WSCJACT(0) Batch jobs active
168 (A8) X'80' 0  WSCLEN3 "*-WSCJACT" Length of jobs active
296 (128) SIGNED 4  WSCGACT(0) Batch job activity goal
296 (128) X'80' 0  WSCLEN4 "*-WSCGACT" Length of Goal
424 (1A8) SIGNED 4  WSCSTOLN(0) multi-affinity jobs that can be selected on other members
424 (1A8) X'80' 0  WSCLEN5 "*-WSCSTOLN" Length of stolen array
552 (228) DBL WORD 8   (0)  
552 (228) X'228' 0  WSCLEN "*-WSC"
Table 2. Cross Reference for $WSC
Name Offset Hex Tag
WSC 0
WSCDTOD 18
WSCFLAG1 14
WSCGACT 128
WSCIACT 28
WSCJACT A8
WSCLEN 228 228
WSCLEN1 20 24
WSCLEN2 28 80
WSCLEN3 A8 80
WSCLEN4 128 80
WSCLEN5 1A8 80
WSCLSTAD 1C
WSCMAFF 16
WSCNAME 0
WSCQAFF 24
WSCQHEAD C
WSCREG 10
WSCSELCT 20
WSCSTOK 8
WSCSTOLN 1A8
WSC1DREG 14 80
WSC1IACT 14 20
WSC1INIT 14 10
WSC1PERM 14 40