Use this command to determine how the clients communicate with the server to begin scheduled work. Each client must be configured to select the scheduling mode in which it operates.
This command is used with the SET RETRYPERIOD command to regulate the time and the number of retry attempts to process a failed command.
You can issue the QUERY STATUS command to display the value for the scheduling mode supported. At installation, the value is set to ANY.
Privilege Class
To perform this task, you must have system privilege.
Syntax
>>-Set SCHEDMODes----+-ANY------+------------------------------>< +-POlling--+ '-PRompted-'
Parameters
Examples
Task
A server allows both server-prompted and client-polling central scheduling. You want to temporarily restrict the scheduled operations to clients that use the client-polling mode. If you set the schedule mode to POLLING, the server discontinues prompting clients to execute scheduled commands. This means that any client scheduler using the server-prompted mode waits until you set the schedule mode to ANY or PROMPTED.
Related Commands
Table 241. Command Related to SET SCHEDMODES
Command | Description |
---|---|
QUERY STATUS | Displays the settings of server parameters, such as those selected by the SET commands. |
SET RETRYPERIOD | Specifies the time between retry attempts by the client scheduler. |