Previous Topic: Creating Zone RecordsNext Topic: Changing Zone Records


Changing Shift Records

The CHANGE subcommand under the SFT setting modifies shift records or groups of shift records. The syntax for this CHANGE subcommand is:


        { *             }
CHange  { recordname    }
        { LIKE(recmask) }
 
        { [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)]}          }
 
        [ ADD|DEL|REP                        ]
        [ TIME(hhmm‑hhmm,...,hhmm‑hhmm)      ]
        [ NTIME(hhmm‑hhmm,...,hhmm‑hhmm)     ]
        [ INCLUDE(recordname,...,recordname) ]
*

Changes the last shift record processed since you established the current setting.

recordname

Specifies a one‑ to eight‑character field in the shift record to change.

LIKE(recmask)

Changes a record in the names of shift records that match this mask.

ADD|DEL|REP

Specifies the new information you should add, delete, or replace in existing shift record fields. ADD is the default.

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 days.

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 in the same way as TIME (24‑hour time in hours and minutes). Specifies the time period to exclude from the TIME parameter. To use NTIME, you must specify a TIME parameter. Access is denied if you do not specify the TIME parameter.

INCLUDE

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

If you do not specify REPLACE or DELETE, CA ACF2 for VM creates a separate new shift record.