z/OS JES2 Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


$ADD SRVCLASS(name) - Add a new permanent service class element

z/OS JES2 Commands
SA32-0990-00

Function

To add a new permanent service class element that corresponds to a WLM service class. JES2 maintains two types of service classes. Dynamic service classes are created when a job enters the system and the service class assigned to that job is not currently known. Dynamic service classes are deleted when there are no longer any pre-execution jobs in that class and a timer has expired.

Permanent service classes are created with either the $ADD or $T SRVCLASS command. JES2 permanent service classes are never deleted.

The class specified cannot match the class name of any existing JES2 SRVCLASS statement, no matter permanent or dynamic.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-$ADD--SRVCLASS--(srvclass)----------------------------------->

>--+--------------------------------------------+--------------><
   '-Qaff--=--+---ANY-------------------------+-'   
              +-+----+--memname---------------+     
              | +-+--+                        |     
              | '- --'                        |     
              |    .-,-------------------.    |     
              |    V                     |    |     
              '-(----+-----------------+-+--)-'     
                     +---ANY-----------+            
                     '-+----+--memname-'            
                       +-+--+                       
                       '- --'                       

Parameters

Qaff=sysaff
Specifies which members a particular service class is on. A member list can be a combination of the following keywords separated by commas. The default value of this parameter is ANY, which specifies that the service class is on all members.
ANY
This service class is on all members in the JES2 multi-access spool configuration.
+|-memname|*
The memname (one to four characters) to be added to (+) or deleted from (-) the current list of members that this service class is on. If neither + nor - is specified, the affinities of the service class are set explicitly to the specified members. '*' specifies the member the command was issued on.

Authority Required

This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS™ system command group is assigned.

This command requires control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide, SA32-0991.

Scope

MAS-wide. This command displays information about the entire MAS.

Messages

$HASP889

Example

$ADD SRVCLASS(DISCRETN)

$HASP889 SRVCLASS(DISCRETN)  QAFF=(ANY),TYPE=PERMANENT,   
$HASP889                     MASCOUNT=(INITS=0,ACTIVE=0)  

This command registers a service class on JES2's behalf. The service class (DISCRETN) must be defined to WLM.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014