Remove Directory Shadow System (RMVDIRSHD)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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, you must have security administrator (*SECADM) authority.

Top

Parameters

Keyword Description Choices Notes
SYSNAME System name Character value Required, Positional 1
RMVDTA Remove data *YES, *NO Optional
Top

System name (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.

This is a required parameter.

Top

Remove data (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 system specified is removed from the local system. Department and location data is not removed.
Top

Examples

RMVDIRSHD   SYSNAME(NYCITY)  RMVDTA(*YES)

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

Top

Error messages

*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.
Top