Previous Topic: MODIFY/FAMILYNext Topic: MODIFY/WORKLOAD


MODIFY/HISTORY

This command changes either the schedules or retention period of a history file.

Format

MODIFY/HISTORY name

Parameter

name

The history file descriptor name is a 1 to 20-character alphanumeric string that represents an archiving scheme for history files. The MODIFY/HISTORY command changes either the schedules or retention period of a history file. Other history file attributes cannot be modified because the consistency of the history file data would be compromised.

Qualifiers

/DELETE_AFTER=number_of_days

Specifies the retention period for a history file, in days. The default is 180 days.

/HOLIDAY_SCHEDULE=(day=(hour-range)[,. . .]|
NOday[,. . .])

Selects a part of or all of the daily data for holidays to be stored in the history file. When using the /HOLIDAY_SCHEDULE qualifier, use the following parameters:

day

Set as SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, EVERYDAY, WEEKDAYS, or WEEKENDS.

hour-range

Is specified as m-n, where m and n are numbers from 0 to 24, and m is less than n. More than one hour range can be specified for a given day. Hour-range cannot be used with the NOday option.

/SCHEDULE=(day=(hour-range)[,. . .]|NOday[,. . .])

Selects a part of or all of the daily data you store in the history file. When using the /SCHEDULE qualifier, use the following parameters:

day

Set as SUNDAY, MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, EVERYDAY, WEEKDAYS, or WEEKENDS.

hour-range

Is specified as m-n, where m and n are numbers from 0 to 24, and m is less than n. More than one hour range can be specified for a given day. Hour-range cannot be used with the NOday option.

Example

PSDC-EDIT> MODIFY/HISTORY FULL_USER/DELETE_AFTER=99999

This command modifies the history descriptor FULL_USER to have a new retention period of 99999 days (infinite retention).