/
Copy from Local zOS to Remote zOS

Copy from Local zOS to Remote zOS

Copy from Local z/OS to Remote z/OS (with Encryption, Compression, and Data Authentication) via Universal Copy

The following figure illustrates the copying of a file from a local z/OS system to a remote z/OS system (with encryption, compression, and data authentication).

//STEP1 EXEC UCMDPRC
//UNVIN='DISP=SHR,DSN=MY.PDS(MEMBER) 
//LOGONDD  DD DISP=SHR,DSN=MY.LOGON(USERID)
//SCRIPTDD DD *
/opt/universal/bin/ucopy > //'REMOTE.PDS(MEMBER)'
//SYSIN DD * 
-script SCRIPTDD 
-encryptedfile LOGONDD
-host dallas 
-stdin -encrypt yes -compress yes -authenticate yes  
/*


The JCL procedure UCMDPRC is used to execute the command. The command is sent to a remote system named dallas for execution.

Options are read from the encrypted file allocated to DD LOGONDD.

The file is copied as a text file (default transfer mode for standard files is text).

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.

-stdin

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

-encrypt

Specification that standard file data sent over the network is encrypted.

-compress

Specification for whether the standard file data transmitted across the network should be compressed.

-authenticate

Specification that standard file data sent over the network is authenticated.

Components

Universal Command Manager for z/OS

Universal Command Server for z/OS

Universal Copy

Related content

Copy from Local zOS to Remote zOS
Copy from Local zOS to Remote zOS
More like this
Copy from Local zOS to Remote zOS
Copy from Local zOS to Remote zOS
More like this
Copy from Local zOS to Remote zOS
Copy from Local zOS to Remote zOS
More like this
Copy from Remote zOS to Local zOS
Copy from Remote zOS to Local zOS
More like this
Copy from Remote zOS to Local zOS
Copy from Remote zOS to Local zOS
More like this
Copy from Remote zOS to Local zOS
Copy from Remote zOS to Local zOS
More like this