Previous Topic: Setting Shift Entry Record ModeNext Topic: Creating Zone Records


Creating Shift Records

The CHANGE, DELETE, INSERT, and LIST subcommands let you maintain shift records on the system. Whenever you insert a new shift record or change an existing record, you must issue the ACFSERVE RELOAD SHIFT command to activate the record. The INSERT subcommand under the SFT setting creates new shift records. The syntax for the INSERT subcommand is:


INsert  { *          }
        { recordname }
 
        { [DAYS(MO,TU,WE,TH,FR,SA,SU) ‑      }
        { (mm/dd/yy,...,mm/dd/yy))]          }
        { [NDAYS(MO,TU,WE,TH,FR,SA,SU) ‑     }
        { (mm/dd/yy,...,mm/dd/yy))]          }
 
        [ TIME(hhmm‑hhmm,...,hhmm‑hhmm)      ]
        [ NTIME(hhmm‑hhmm,...,hhmm‑hhmm)     ]
        [ INCLUDE(recordname,...,recordname) ]
*

Inserts the last shift record processed since you established the setting.

recordname

Specifies a one‑ to eight‑character name of the shift record.

DAYS

Specified as a two‑character abbreviation (such as MO for Monday) or in the actual date format (mm/dd/yy, dd/mm/yy, or yy/mm/dd), depending on the DATE operand of the OPTS VMO record. These are the days you want to allow system or resource access. You must specify DAYS if you use NDAYS.

NDAYS

Specified in the same way as DAYS (two‑character day or actual dates). Specifies the days and dates to exclude from the DAYS parameter. If you specify NDAYS, but no value for DAYS, you create a shift record that does not permit any access on any day.

TIME

Specified in hours and minutes, based on a 24‑hour clock (such as 0900‑1700). This is the time period when accesses are allowed. You can specify multiple entries. You should specify the TIME parameter because it defaults to no allowable time period.

NTIME

Specified the same way as TIME (24‑hour time in hours and minutes). NTIME specifies the time period to exclude from the TIME parameter. To use NTIME, you must specify a TIME parameter. CA ACF2 for VM denies access if you do not specify a TIME parameter.

INCLUDE

Specifies the record name of any existing shift record to include as part of the record you are defining.

All shift records must contain a DAYS or NDAYS parameter.
CA ACF2 for VM does not automatically grant access for days, date, and times excluded by the NDAYS and NTIME parameters. You must specify the DAYS or TIME you want to allow.