CL Command Reference - ADDDIRSHD
CL Command List > ADDDIRSHD Reference
Description:
The Add Directory Shadow System (ADDDIRSHD) command adds a supplier system to supply system distribution directory data to your system through directory shadowing.
Restriction: To use this command, you must have security administrator (*SECADM) authority.
Examples:
Example 1: Shadowing a System Weekly
ADDDIRSHD SYSNAME(NYCITY)
SCD( ¡¯92/05/01¡¯ ¡¯17:00:00¡¯ )
FRQ(*WEEKLY) TEXT(¡¯Shadow New York System¡¯)
This command adds the supplier system NYCITY, which starts shadowing directory data to the local system on May 1, 1992 at 5:00 p.m. The shadow frequency is once a week. The description of the shadow system is ¡¯Shadow New York System¡¯.
Example 2: Shadowing a Remote System Hourly
ADDDIRSHD SYSNAME(CHICAGO)
SCD(¡¯92/04/01¡¯ ¡¯20:00:00¡¯)
FRQ(*HOURS) HOURS(12) RMTLOCNAME(CHIC01)
LCLLOCNAME(CHICAGO1) TEXT(¡¯Shadow Chicago System¡¯)
This command adds the supplier system CHICAGO, which starts shadowing directory data to the local system on April 1, 1992 at 8:00 p.m. The frequency of shadows is every 12 hours. The description of the shadow system is ¡¯Shadow Chicago System¡¯. The remote location name of the CHICAGO system is CHIC01 and the local location name is CHICAGO1.