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-vcozclient-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:
-sshoption
Options
-ssh[ssh-options...][user]@hostSpecifies 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
-sshoption.-hdisplay help and exit.
-istdin_formattstdin 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.
bstdin sent to the command in binary format
nno stdin is sent to the command. This is the default.
-ostdout_formattstdout 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.
bstdout from the command is sent to the remote client in binary format
nstdout from the command is discarded
-estderr_formattstderr 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
-sshis specified or a cozcontrol durable session is used.bstderr from the command is sent to the remote client in binary format
sstderr from the command is sent to the Co:Z Server's stderr stream (generally SYSOUT). This is the default when using CoZLauncher.
-vdisplay the current version and exit.
