Start Directory Shadowing (STRDIRSHD)

The Start Directory Shadowing (STRDIRSHD) command submits a job to start the directory shadowing environment in the system work subsystem (QSYSWRK). The system administrator can use this command to restart the directory shadowing environment if it is not already active. Only one active directory shadowing environment per system is allowed. If the directory shadowing environment is already active, a warning message is issued.

The system work subsystem (QSYSWRK) automatically starts the directory shadowing environment as a prestart job when the subsystem is started.

To ensure the job submitted with this command is successful, use the Work with Jobs (WRKJOB) command using the job number returned in the message after issuing the STRDIRSHD command.

There are no parameters for this command.

Restriction: You must have job control (*JOBCTL) authority to use this command.

Parameters

None

Examples

STRDIRSHD

This command submits a job to start the directory shadowing environment in the system work subsystem QSYSWRK.

Error messages

*ESCAPE Messages

CPF89A8
Unable to start job that controls directory shadowing.