...
The following figure illustrates the copying of a file from a local z/OS system to a remote UNIX system. The file name on the UNIX server is dynamically created based on the current date.
Panel |
---|
//S1 EXEC UCMDPRC
//UNVIN DD DISP=SHR,DSN=hlq.input.file
//LOGONDD DD DISP=SHR,DSN=hlq.userid(userid)
//SCRIPTDD DD *
DATEN=`date +%d%m`
export DATEN
echo $DATEN
/opt/universal/bin/ucopy \
-output /tmp/output$DATEN.file |
Anchor | ||||
---|---|---|---|---|
|
...
Anchor | ||||
---|---|---|---|---|
|
...
style | background-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: 122.4pt; |
---|
...
Option |
---|
...
...
Description |
---|
...
...
...
DD from which to read a script file. The script file is sent to the remote system for execution. |
...
...
...
...
...
DD from which to read an encrypted command options file. |
...
...
...
Directs the command to a computer with a host name of dallas. |
Components
Anchor | ||||
---|---|---|---|---|
|
...