1 02/18/85 shift
 2 
 3 Syntax as a command:  shift
 4 or
 5 shift {shift_number} {time}
 6 or
 7 shift auto
 8 
 9 
10 Function:  sets and prints the shift and the time of the next scheduled
11 shift change.  It should be used at the direction of the system
12 administrator, to override the values in the shift table.  This command
13 can be used in ring 4 only.
14 
15 
16 Arguments:
17 shift_number
18    is the number of the shift to change to.  The shift_number argument
19    must be a number in the range 0-7, and must also be one of the
20    shifts normally used at the site, for which billing rates are
21    defined in installation_parms.
22 time
23    is the time of the next shift change.  It is a clock reading,
24    acceptable to the convert_date_to_binary_ subroutine.  If time
25    contains spaces it must be enclosed in quotes.  The time argument
26    may be no more than one week in the future.
27 auto
28    is a literal string that causes the system to use the value of the
29    shift and the shift change time specified in the shift table.
30 
31 
32 Notes:  When the system is started up, a shift command from a previous
33 bootload remains in effect until the specified time.
34 
35 To change the shift without changing the time, type
36 
37    !  shift shift_number
38 
39 To change the shift and the shift change time to the regularly
40 scheduled values (specified in the shift table), type:
41 
42    !  shift auto
43 
44 
45 To cause the shift and the next shift change time to be displayed,
46 type:
47 
48    !  shift
49 
50 The message
51 
52       shift  shift_number  until  time
53 
54 is printed in response to all three forms of the shift command.  If the
55 shift or the time have been changed, their new values are displayed.
56 
57 
58 The best time to execute the shift command is shortly (about one
59 minute) before a regularly scheduled shift change.  If the shift
60 command must be executed in the middle of a shift, then notice should
61 be given by executing it at the beginning of that shift, using the
62 regular shift number and the time of the anticipated unscheduled shift
63 change.