12.07.2015 Views

DOE-2 Reference Manual Version 2.1 - DOE2.com

DOE-2 Reference Manual Version 2.1 - DOE2.com

DOE-2 Reference Manual Version 2.1 - DOE2.com

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5. A comma and/or one or more blanks must separate multiple valueswithin parentheses.6. The command may be abbreviated to D-SCH.7. The keywords HOURS and VALUES may be omitted.8. If two hour numbers are assigned to an HOURS keyword, the hournumbers must be in ascending order.9. WEEK-SCHEDULEThe WEEK-SCHEDULE instruction is used to assign DAY-SCHEDULEs to thedays of the week. The WEEK-SCHEDULE instruction is used in conjunction,wi,ththe DAY-SCHEDULE and SCHEDULE instructions (see Scheduling Concepts section).The instruction takes the formU-name = WEEK-SCHEDULE DAYS = (d) DAY-SCHEDULE = D-S-Name "where U-name is the user-specified name of a particular WEEK-SCHEDULE instruction,and d is the day or days of the week that will be assigned theDAY-SCHEDULE named D-S-Name. The sequence DAYS = (d) DAY-SCHEDULE = D-S-Namemay be repeated as necessary to define all 8 days of the program week, thefirst day being Monday and the eighth day signifying holidays.Rules:1. A U-name must appear before the command word.2. The command may be abbreviated to W-SCH.3. All eight days of the week must be assigned a DAY-SCHEDULE.4. The keywords DAYS and DAY-SCHEDULE may be omitted.5. The value(s) entered for the DAYS keyword must be selected fromthe following code-word table. If the list (of values for DAYS)is a one-element list, it may consist of any code-word in thetable. To specify a sequence of days of the week, the list may bea two-element list, each element being taken from the first sevencode-words in the table in chronological order (the <strong>DOE</strong>-2 programinput processor assumes that the first day of the week is MON andthe last is SUN).11.27 (Revised 5/81)

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!