Name
toasa — read a stream of data from stdin converting ASCII form-feed characters to ASA
carriage control characters in stdout
Synopsis
toasa
toasa -v
toasa -h
Description
The toasa command converts ASCII form feeds to ASA control characters
in a stream of data read from stdin. The converted output is written to stdout.
Output lines will only have '1' (page eject) or ' ' (single line) carriage control in column one
of each output line.
Options
-h
display help and exit.
-v
display the current version and exit.
Examples
Remote Client SSH Connection Examples
cat /tmp/data | toasa | todsn -ssh user@myzos2.com -r //my.dataset
Uploads a file to an MVS Dataset over an SSH connection (Unix), converting the stream from /tmp/data
to ASA format so that it is suitable for a z/OS dataset with RECFM=FBA.