The Co:Z Dataset Pipes todsn
and fromdsn
commands provide flexible conversion between z/OS data sets and byte streams.
POSIX files are also supported by the tofile
and fromfile
commands. The conversion options include code page translation,
line termination treatment, and data set record padding / overflow rules.
Co:Z Dataset Pipes commands can be used in the following modes:
- z/OS Unix System Services Integration: A z/OS unix process accesses local z/OS datasets
The Dataset Pipes streaming commands can be invoked from Unix System Services directly (interactively, or from a shell script)
or used as shell commands within a Co:Z Batch job step.
- z/OS Hybrid Batch: A z/OS jobstep launches a remote process on a target system
The Co:Z Launcher starts a shell process on a distributed system,
redirecting the shell's input and output to traditional z/OS data sets, z/OS POSIX files, or spool files.
The Dataset Pipes client commands can be used by the remote process to reach back into the launching jobstep to
access z/OS POSIX files, data sets and other services.
The target may be another z/OS system with Co:Z installed.
- z/OS Remote Services: A remote client initiates a connection to z/OS
A Linux, AIX or remote z/OS system can use the Dataset Pipes client commands to initiate an SSH connection to a z/OS server.
Commands can be run individually (each with its own SSH connection), or through a durable connection initiated by the remote system with the cozcontrol
command.
When using cozcontrol
, a single dataset pipes connection is used for multiple command invocations.
Examples:
The Command Reference
has a few examples included with the description of each command. Additionally, see
General Dataset Pipes Examples.
For use case specific examples, see