CL Command Reference - CHGDIRSHD

CL Command List > CHGDIRSHD Reference

Description:

The Change Directory Shadow System (CHGDIRSHD) command changes a system that is defined to be shadowed.

Restriction:

To use this command, you must have security administrator (*SECADM) authority.


Examples:

Example 1: Changing the Next Shadow Date and Time

CHGDIRSHD SYSNAME(NYCITY)
NXTSHD(กฏ93/05/01กฏ กฏ8:00:00กฏ)

This command changes the next shadowing occurrence for the system NYCITY. This does not effect the scheduled date and time. When the shadowing is completed for this system, the next date and time will be calculated from the scheduled date and time. This command is used for temporary changes to shadowing schedules.



Example 2: Changing the Shadow Date and Time

CHGDIRSHD SYSNAME(NEWYORK)
SCD(กฏ93/06/01กฏ กฏ20:00:00กฏ)
FRQ(*BIWEEKLY)

This command changes the scheduled shadow date for system NEWYORK to June 1, 1993 at 8:00 PM. The frequency of the shadow is every 2 weeks.