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


$T SRVCLASS(name) - Modify JES2 information for the specified service class

z/OS JES2 Commands
SA32-0990-00

Function

To modify an existing permanent or dynamic JES2 service class element.

Syntax

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

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

>--+-------------------------+---------------------------------><
   '-,TYPE--=--+-DYNAMIC---+-'   
               '-PERMANENT-'     

Parameters

Qaff=ANY|memname
Specifies which members a particular service class is active 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 active on all members.
ANY
This service class is active on all members in the JES2 multi-access spool configuration.
+|-memname|*
The memnames (one to four characters) to be added to (+) or deleted from (-) the current list of members that this service class is active 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.
TYPE=DYNAMIC|PERMANENT
Specifies whether the JES2 service class element is dynamic or permanent.
DYNAMIC
Indicates the service class is dynamic. DYNAMIC is only valid if QAFF=(ANY). Otherwise, the command fails. JES2 deletes dynamic service class elements when there are no longer any pre-output phase jobs queued to it and a JES2 define time period passes.
PERMANENT
Indicates the service class is permanent. You can make any existing service class permanent at any time. JES2 doesn't delete permanent JES2 service classes automatically.

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

Examples

 1   $T srvclass(discretn),qaff=-nih1
SRVCLASS(DISCRETN) QAFF=(PSU1,IBM1,BCG1,WFB1,M012, 
M018,M023,M027,M031), 
TYPE=PERMANENT,MASCOUNT=(INITS=1, 
ACTIVE=1) 

After this command is executed, member NIH1 will not select any jobs in service class DISCRETN.

 2   $T srvclass(discretn),qaff=(+nih1,-psu1)
SRVCLASS(DISCRETN) QAFF=(IBM1,NIH1,BCG1,WFB1,M012, 
M018,M023,M027,M031), 
TYPE=PERMANENT,MASCOUNT=(INITS=1, 
ACTIVE=1) 

After this command is executed, member NIH1 will resume selecting work from service class DISCRETN, and member PSU1 will no longer select work from service class DISCRETN.

 3   $T srvclass(discretn),qaff=any,type=dynamic
SRVCLASS(DISCRETN) QAFF=(ANY),TYPE=DYNAMIC, 
MASCOUNT=(INITS=1,ACTIVE=1)

After this command, all members will select from service class DISCRETN and the service class has become DYNAMIC.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014