Copy from Remote System to Local zOS (in Binary)

Copy from Remote System to Local z/OS (in Binary) via Universal Copy

The following figure illustrates the copying of a file from a remote system to a local z/OS system, in binary, with no end-of-line character interpretation.


The JCL procedure UCMDPRC is used to execute the command. The command is sent to a remote system named dallas for execution. The UNVOUT DD specifies a local data set to use for the standard output of the remote command. The -mode option used with the ucopy command defaults to binary, so no end-of-line character interpretation is done. Binary is specified for standard output transfer mode.

Additional options are read from the encrypted file allocated to DD LOGONDD.

SYSIN Options

The SYSIN options used in this example are:

Option

Description

-script

DD from which to read a script file. The script file is sent to the remote system for execution.

-encryptedfile

DD from which to read an encrypted command options file.

-host

Directs the command to a computer with a host name of dallas.

-stdout

Specification that the options following this one apply to the stdout file.

-mode

Specification for whether transferred data is treated as text or binary.

Components

Universal Command Manager for z/OS

Universal Copy