...
Anchor | ||||
---|---|---|---|---|
|
Panel |
---|
//jobname JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID
//*
// JCLLIB ORDER=SBI.UNV.SUNVSAMP
//*
//STEP1 EXEC UCMDPRC,
// STDIN='DISP=SHR,DSN=hlq.BKUP.TAR.Z'
//MYSCRIPT DD *
# Check if the directory exists. If it does not, create it.
if test ! -d /export/home/username/fnd
then mkdir /export/home/username/fnd || exit 8
fi
cd /export/home/username/fnd || exit 8
# Note: Not all tar commands recognize the 'B' argument. If you
# receive an error message indicating this from the remote
# UNIX system, remove the 'B' argument.
# The 'B' argument is used to force tar to read multiple
# times to fill the block.
tar -xzvBf - || exit 8
//SYSIN DD *
-script myscript
-host hostname
-userid username
-pwd password
-stdin -mode binary
/* |
SYSIN Options
Anchor | ||||
---|---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...
...
Option |
---|
...
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: 324pt; |
---|
...
Description |
---|
...
...
...
...
...
ddname from which to read the script file. The script file is sent to the remote system by UCMD Manager for execution. |
...
...
...
...
Host name or IP address of the remote system on which to execute the script |
...
style | 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: top; |
---|
...
style | 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: top; |
---|
...
. | |
Remote user ID with which to execute the command. |
...
...
...
...
Password for the user ID. |
...
...
...
...
...
Starts the stdin options. All options read afterwards are applied to the stdin file. The first option not recognized as a standard file option terminates the stdin option list. |
...
...
...
...
style | 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: top; |
---|
...
Transfer mode for the |
...
stdout file: binary. Since a backup file is a tar, compressed format contains binary data, it should not be translated as text data. |
Components
Universal Command Manager for z/OS
...