The ISPF administrative application provides the Start field where you can specify the starting position for work qualifiers longer than 8 characters. The name field for a work qualifier is 8 characters long. If you are matching on a string less than 8 characters using a start position, you must use wildcard notation (asterisk) at the end of the string. Otherwise, the qualifier is padded with blanks to be 8 characters, and the blanks are used when making a match.
Subsystem Type . . . . . . . : JES
Description . . . . . . . . . All JES2 service classes
-------Qualifier------------- -------Class--------
Type Name Start Service Report
DEFAULT: JESMED ________
1 AI DIRS 8 JESMED ________
1 AI DIRS* 8 JESFAST ________
In this case, all jobs that have accounting information
with the eight characters 'DIRS ' starting in the eighth position
are assigned to JESMED. All other jobs that have the four characters
'DIRS' starting in the eighth position are assigned to JESFAST. All
other work coming into JES is assigned to service class JESMED.Subsystem Type . . . . . . . : JES
Description . . . . . . . . . All JES2 service classes
-------Qualifier------------- -------Class--------
Type Name Start Service Report
DEFAULT: JESMED ________
1 AI 0201 JESFAST ________
1 UI DEPT58* JESFAST ________
Without a start position, WLM matches work qualifiers
longer than 8 characters according to the number of characters specified.
In the example, when matching the accounting information for 0201,
WLM matches it as a 4 character string. Therefore, a job with accounting
information '020175,D123' would match.For work qualifiers that are 8 characters long, you must use wildcard notation at the end of the string. Otherwise, the qualifier is padded with blanks to be 8 characters, and the blanks are used when making a match. In the example, user ID DEPT58* will match on 'DEPT58XY', 'DEPT58Z', etc. If you had specified user ID DEPT58 without the asterisk at the end, it would match only on 'DEPT58 '.
The same applies to qualifiers longer than 8 characters when a start position is specified. The table below summarizes this behaviour:
--------------Qualifier-------------------------- -----Behaviour--------
Type Name Start
8 characters long DEPT58 not supported Matches on 'DEPT58__' only,
nothing else. Must use
wildcard notation at the
end of the string to match
any 'DEPT58xx'.
longer than 8 characters 0201 none Matches on '020175',
'0201XY', '0201Z', etc.
Same as if wildcard
notation at the end of the
string had been specified
longer than 8 characters DIRS 8 Matches on 'DIRS____'
starting at the eighth
position only, nothing
else. Must use wildcard
notation at the end of the
string to match any
'DIRSXYZZ' starting at the
eighth position.
Work qualifiers that run longer than 8 characters can be nested. In combination with the start position, this allows matching more than 8 characters.
Subsystem Type . . . . . . . : JES
Description . . . . . . . . . All JES2 service classes
-------Qualifier------------- -------Class--------
Type Name Start Service Report
DEFAULT: JESMED ________
1 AI 020175 JESSLOW ________
2 AI D58I* 8 JESFAST ________
A job with accounting information '020175,D58I1234' is
then assigned service class JESFAST. A job that contains the job statement
'020175,D64I9876' is assigned service class JESSLOW, because the department
is different from D58I*. A job with accounting information '020177,D58I5678'
is assigned the default service class JESMED, because the account
number does not match, and therefore the system never checks any subrules.