Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Panel
//S1 EXEC UCMDPRC
//UNVIN    DD DISP=SHR,DSN=hlq.input.file
//LOGONDD  DD DISP=SHR,DSN=hlq.userid(userid)
//SCRIPTDD DD *
@echo off
ucopy -output C:\OUTPUT.FILE
//SYSIN    DD *
-script SCRIPTDD
-encryptedfile LOGONDD
-host dallas
-stdin -mode binary
/*


Anchor
1031691
1031691
The JCL procedure UCMDPRC is used to execute the command. The command is sent to a remote system named dallas for execution. The -output option used with the ucopy command directs the stdout to a local data set on the remote server. 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 input transfer mode.

...

Anchor
1031694
1031694
The SYSIN options used in this example are:

...

:

...

Option

...

...

stylebackground-color: #F0F0F0; border-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: middle; width: 309.6pt;

Description

...

...

...

...

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

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

DD from which to read an encrypted command options file.

...

...

...

...

...

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

...

...

...

...

...

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

...

...

...

...

styleborder-bottom-color: #E8E8E8; border-bottom-style: solid; border-bottom-width: 1px; border-left-color: #E8E8E8; border-left-style: solid; border-left-width: 1px; border-right-color: #E8E8E8; border-right-style: solid; border-right-width: 1px; border-top-color: #E8E8E8; border-top-style: solid; border-top-width: 1px; padding-bottom: 3pt; padding-left: 4pt; padding-right: 4pt; padding-top: 4pt; vertical-align: top;

...

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

Components

Anchor
1043887
1043887
Universal Command Manager for z/OS

...