RMVDIRSHD (Remove Directory Shadow System)

RMVDIRSHD Command syntax diagram

 

Purpose

The Remove Directory Shadow System (RMVDIRSHD) command removes a system that is currently shadowing directory data to the local system.

Restriction: To use this command, have security administrator (*SECADM) authority.

 

Required Parameters

SYSNAME
Specifies the name of the system for which shadowing is to be removed. The name can contain a maximum of eight alphanumeric characters. You can specify uppercase letters A through Z, numbers 0 through 9, and special characters @, #, $, and embedded blanks. Embedded blanks must be enclosed in single quotation marks ('). Leading blanks are not allowed. The @, #, and $ characters are not recommended because they are not part of an invariant character set and are not available on all keyboards.

 

Optional Parameters

RMVDTA
This parameter specifies whether to remove directory data received from the system that is being removed.

*NO: Directory data that has been previously shadowed is left on the local system. Modifications are not made to this data through shadowing unless you shadow data from another system that has shadowed data from the system being removed.

*YES: Directory entry data that was shadowed from the specified system is removed from the local system. Department and location data is not removed.

Example for RMVDIRSHD

RMVDIRSHD   SYSNAME(NYCITY)  RMVDTA(*YES)

This command removes the system NYCITY from shadowing and removes all the data shadowed from NYCITY.

Error messages for RMVDIRSHD

*ESCAPE Messages

CPF89A5
Remove or suspend of shadow supplier &1 was not successful.
CPF90A8
*SECADM special authority required to do requested operation.
CPF905C
Error occurred trying to find a translation table.
CPF9838
User profile storage limit exceeded.
CPF9845
Error occurred while opening file &1.
CPF9846
Error while processing file &1 in library &2.
CPF9847
Error occurred while closing file &1 in library &2.