1 CLASS_SCHEDULE There are several CLASS_SCHEDULE subcommands. Select the one you want from the choices below. 2 ADD The ADD command creates a new scheduling class. The class scheduler provides the ability to limit the amount of CPU time that a system's users receive by placing users in scheduling classes. Each class is assigned a percentage of the overall system CPU time. As the system runs, the combined set of users in a class is limited to the percentage of CPU execution time allocated to their class. Users might get some additional CPU time if the qualifier /WINDFALL is enabled for their scheduling class. Enabling the qualifier /WINDFALL allows the system to give a small amount of CPU time to a scheduling class when the scheduling class's allotted time has been depleted, but a free CPU is available. Format CLASS_SCHEDULE ADD class_name 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name with the ADD command. The maximum length for this name is 16 characters. 3 Qualifiers /ACCOUNT Specifies which user is part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/ACCOUNT = (name1, name2,...name"n")] /CPULIMIT Defines the maximum amount of CPU time that this scheduling class can receive for the specified days and hours. You must specify this qualifier when adding a class. The syntax for this qualifier is as follows: /CPULIMIT = ([primary], [h1-h2=time%],[h1=time%], [,...],[secondary],[h1-h2=time%],[h1=time%],[,...]) The h1-h2=time% syntax allows you to specify a range of hours followed by the maximum amount of CPU time (expressed as a percentage) to be associated with this set of hours. The first set of hours after the keyword PRIMARY specifies hours on primary days; the set of hours after the keyword SECONDARY specifies hours on secondary days. The hours are inclusive; if you class schedule a given hour, access extends to the end of that hour. /PRIMEDAYS Allows you to define which days are primary days and which days are secondary days. The syntax for this qualifier is as follows: [/PRIMEDAYS = ([no]day[,...])] You specify primary days as MON, TUE, WED, THU, FRI, SAT, and SUN. You specify secondary days as NOMON, NOTUE, NOWED, NOTHU, NOFRI, NOSAT, and NOSUN. The default is MON through FRI and NOSAT and NOSUN. Any days omitted from the list take their default value. You can use the DCL command, SET DAY, to override the class definition of primary and secondary days. /UIC Specifies which users are part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/UIC = (uic1,uic2,...uic"n")] /USERNAME Specifies which user is part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/USERNAME = (name1, name2,...name"n")] /WINDFALL Specifies that all processes in the scheduling class are eligible for windfall. The syntax for this qualifier is as follows: [/WINDFALL]) By enabling windfall, you allow processes in the scheduling class to receive a "windfall", that is, a small percentage of CPU time, when the class's allotted CPU time has been depleted, and a CPU is idle. Rather than let the CPU remain idle, you might decide that it is better to let these processes execute, even if it means giving them more than their alloted time. The default value is for windfall to be disabled. 3 Description The format for the CLASS_SCHEDULE ADD command is as follows: SYSMAN> CLASS_SCHEDULE ADD class_name You can use the /ACCOUNT, /UIC, or /USERNAME qualifier to specify which users are to be part of a scheduling class. 2 DELETE The DELETE subcommand deletes a scheduling class from the class scheduler database file. Format CLASS_SCHEDULE DELETE class_name 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name with the DELETE command. The maximum length for this name is 16 characters. 3 Qualifiers None. 2 MODIFY The MODIFY subcommand changes the characteristics of a scheduling class. Format CLASS_SCHEDULE MODIFY class_name 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name with the MODIFY command. The maximum length for this name is 16 characters. 3 Qualifiers /ACCOUNT Specifies which user is part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/ACCOUNT = (name1, name2,...name"n")] /CPULIMIT Defines the maximum amount of CPU time that this scheduling class can receive for the specified days and hours. The syntax for this qualifier is as follows: /CPULIMIT = ([primary], [h1-h2=time%],[h1=time%], [,...],[secondary],[h1-h2=time%],[h1=time%],[,...]) The h1-h2=time% syntax allows you to specify a range of hours followed by the maximum amount of CPU time (expressed as a percentage) to be associated with this set of hours. The first set of hours after the keyword PRIMARY specifies hours on primary days; the set of hours after the keyword SECONDARY specifies hours on secondary days. The hours are inclusive; if you class schedule a given hour, access extends to the end of that hour. /PRIMEDAYS Allows you to define which days are primary days and which days are secondary days. The syntax for this qualifier is as follows: [/PRIMEDAYS = ([no]day[,...])] You specify primary days as MON, TUE, WED, THU, FRI, SAT, and SUN. You specify secondary days as NOMON, NOTUE, NOWED, NOTHU, NOFRI, NOSAT, and NOSUN. The default is MON through FRI and NOSAT and NOSUN. Any days omitted from the list take their default value. You can use the DCL command, SET DAY, to override the class definition of primary and secondary days. /UIC Specifies which users are part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/UIC = (uic1,uic2,...uic"n")] /USERNAME Specifies which user is part of this scheduling class. This is part of a user's SYSUAF record. The syntax for this qualifier is as follows: [/USERNAME = (name1, name2,...name"n")] /WINDFALL Specifies that all processes in the scheduling class are eligible for windfall. The syntax for this qualifier is as follows: [/WINDFALL]) By enabling windfall, you allow processes in the scheduling class to receive a "windfall," that is, a small percentage of CPU time, when the class's allotted CPU time has been depleted and a CPU is idle. Rather than let the CPU remain idle, you might decide that it is better to let these processes execute, even if it means giving them more than their alloted time. The default value is for windfall to be disabled. 3 Description To remove a time restriction, specify the time percentage as "none" for the particular range of hours. To remove a name or uic value, you must specify a minus sign in front of each name or value. 2 RESUME The RESUME subcommand complements the suspend command. You use this command to resume a scheduling class that is currently suspended. Format CLASS_SCHEDULE RESUME class_name 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name with the RESUME command. The maximum length for this name is 16 characters. 3 Qualifiers None. 2 SHOW The SHOW subcommand displays the characteristics of a scheduling class. Format CLASS_SCHEDULE SHOW [class_name] [/qualifier] 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name or the /ALL qualifier with the SHOW command. The maximum length for the class name is 16 characters. 3 Qualifiers /ALL Displays all scheduling classes. The qualifier must be specified if no class name is given. /FULL Displays all information about this scheduling class. 3 Description By default, a limited display of data is shown by the SHOW subcommand. The default displays the following: o Name o Maximum CPU time or times for each range of hours o Primary days and secondary days o Windfall settings 2 SUSPEND The SUSPEND subcommand suspends the specified scheduling class. Format CLASS_SCHEDULE SUSPEND class_name 3 Parameter class_name Specifies the name of the scheduling class. You must specify a class name with the SUSPEND command. The maximum length for this name is 16 characters. 3 Qualifiers None. 3 Description When you suspend a scheduling class, all processes that are part of the scheduling class remain as part of the class but are granted unlimited CPU time.