DR (Date Reset)

The DR (Date Reset) command changes the system date used by the system. The system performs checks to help prevent a change that might result in logging, auditing, and billing problems.

Note: If the DRTRRESTRICT system option is set, you cannot change the system date. The DRTRRESTRICT option is set through the OP (Options) command.

This command will be deimplemented in a future release. For information on changing the time and date simultaneously, refer to the TR (Time Reset) command.

Syntax

<day of month>

An integer from 1 through 31.

<month>

<year>

A 4-digit integer between 2000 and 2147.

Explanation

DR <day of week> <month> <day of month> <year>

DR <day of week> <day of month> <month> <year>

Changes the system date to the date specified by <day of week>, <month>, <day of month>, and <year>. The <day of month> value is an integer in the range 1 through 31 that is not greater than the number of days in the month specified by <month>.

Example

This example shows a command, entered on Thursday, March 6, 2008, that sets the system date back 30 days:

DR Thursday, March 6, 2008
   DATE CHANGE REQUEST--OK OR DS MAY BE REQUIRED
         --SEE WAITING ENTRIES

The operator enters a W (Waiting Mix Entries) command to display the entries:

W
  ---Job--Task-Pri---Elapsed------ 1 WAITING ENTRY ------------
     362/  362  80      1:39 Job CHANGETIMEANDDATE
       CLOCK BEING SET BACKWARDS--CAN CAUSE LOG/AUDIT PROBLEMS
            --OK OR DS

The operator confirms that a backward change is required:

1234 OK

The operator again checks the waiting messages and sees that another confirmation is needed because the backward change involves a difference of 30 days:

W
  ---Job--Task-Pri---Elapsed----- 1 WAITING ENTRY ---------
     362/  362  80       :04 Job CHANGETIMEANDDATE
         VERIFY   30 DAYS BACKWARD

After confirming the change, use the TD (Time and Date) command to display the system time and date:

1234 OK
TD
  The date is Thursday, March 6, 2008 (2008066)
  The time is 06:55:59 Pacific Standard Time (PST)

Considerations for Use

Changing the Date Forward

The system immediately makes a forward date change of one to three days.

If you want to set the date forward for more than three days, the system creates a waiting entry that indicates the number of days difference. Then you must enter either a DS (Discontinue) command to cancel the request or an OK (Reactivate) command to confirm it.

Changing the Date Backward

Every request to set the date backward results in a waiting entry with the following message:

CLOCK BEING SET BACKWARDS--CAN CAUSE LOG/AUDIT PROBLEMS--OK OR DS.

You must either cancel the request by entering a DS (Discontinue) command or confirm it by entering an OK (Reactivate) command.

If you enter OK and the backward change involves more than one day s difference, an additional waiting entry message is created. The second message shows the difference in the number of days. For example,

VERIFY 7 DAYS BACKWARD

You must enter either an OK (Reactivate) command or a DS (Discontinue) command.