CL Command Reference - CPYFRMDIR

CL Command List > CPYFRMDIR Reference

Description:

The Copy From Directory (CPYFRMDIR) command is used to copy system distribution directory data from the local system to a tape or diskette unit. This directory data can then be copied to other remote systems by using the Copy To Directory (CPYTODIR) command on the remote systems. This function allows the remote system to begin a directory shadowing environment with the local system by shadowing changes made to the directory data from the local system.

Caution: Do not use this command as a backup utility to save and restore directory data for data recovery purposes.

Restriction: The user must have security administrator (*SECADM) authority to use this command.


Examples:

CPYFRMDIR DEV(TAP01) SYSNAME(CHICAGO NEWYORK)

This command copies all of the directory data from the local system to tape device TAP01. CHICAGO and NEWYORK are added to the list of systems that collect changes to the directory data from the local system.