End Copy Screen (ENDCPYSCN)

The End Copy Screen (ENDCPYSCN) command ends the copy screen image operation for the specified display device.

Note: The target display station can also stop the copy screen image operation if the user presses the System Request key and types ENDCPYSCN on the command line. No parameters can be specified.

Parameters

Keyword Description Choices Notes
SRCDEV Source device Name, *REQUESTER Optional, Positional 1

Source device (SRCDEV)

Specifies the display device that is currently having its screen images copied.

*REQUESTER
Ends the copy screen image operation for the display device running this command.
name
Specifies the device name of the display station that is having its screen images copied.

Examples

ENDCPYSCN   SRCDEV(CHARLIE)

The command sends a message to 'CHARLIE' (the source display station). The message indicates the copy screen image operation is about to end. The target work station display is restored to the same display image that was shown before the operation started. The sign-on display is normally shown.

Error messages

*ESCAPE Messages

CPF2207
Not authorized to use object &1 in library &3 type *&2.
CPF7AF7
Device name &1 not correct.
CPF7AF8
Device name &1 not being copied.