Name
cozclient — run a zos command from a remote system
Synopsis
cozclient [OPTION...]command [command-options...]
cozclient-ssh
[ssh-options...][user]@host
[OPTION...]command [command-options...]
cozclient-v
cozclient-h
Description
The cozclient command allows a remote process to excute the z/OS
command [command-options...]
. Input (stdin
)
to the command is provided by the remote process and Output (stdout
) from
the command is redirected back to the remote process. Error output (stderr
)
from the command can be routed back to the remote client or to the Co:Z Server's
stderr stream (if using the Co:Z Launcher).
The z/OS path when executing the command will by default be set to
/bin:$COZ_HOME/bin
.
The cozclient command runs in one of the following environments:
remotely, from a client which was started by Co:Z launcher.
remotely, from a client that started a durable session to the server using the cozcontrol command.
remotely, from a client-initiated ssh connection:
-ssh
option
Options
-ssh
[ssh-options...][user]@host
Specifies a remote invocation of cozclient using a client-initiated ssh connection to the given z/OS user@host. The optional stdin, stdout, stderr format options, if specified, must be before the
-ssh
option.-h
display help and exit.
-i
stdin_formatt
stdin sent to the command in text format. Characters are converted from the remote client's codepage to to the active z/OS codepage before being sent to the command.
b
stdin sent to the command in binary format
n
no stdin is sent to the command. This is the default.
-o
stdout_formatt
stdout from the command is sent to the remote client in text format. Characters are converted from the active z/OS codepage to the remote client's codepage. This is the default.
b
stdout from the command is sent to the remote client in binary format
n
stdout from the command is discarded
-e
stderr_formatt
stderr from the command is sent to the remote client in text format. Characters are converted from the active z/OS codepage to the remote client's codepage. This is the default when
-ssh
is specified or a cozcontrol durable session is used.b
stderr from the command is sent to the remote client in binary format
s
stderr from the command is sent to the Co:Z Server's stderr stream (generally SYSOUT). This is the default when using CoZLauncher.
-v
display the current version and exit.