z/VM Module 8: CMS Pipelines. Objectives . Describe the fundamental concepts behind CMS Pipelines Explain what device drivers are and how they work Explain the difference between running the PIPE command from a command prompt and from a REXX EXEC
/* Replace “%” with “.” and */
/* Replace “!” with “0” and */
/* Replace “4” with “0” and */
/* Replace “+” with “-” */
“Pipe Literal Don’t forget that (2+2) / 10 = 40%! |”,
‘Xlate 1-* % . ! 0 4 0 + - |’,
Don’t forget that (2-2) / 10 = 00.0
CHOP: – truncates each record after a column
FBLOCK: – reformats the input stream to fixed length records
Filter: – a stage in a pipeline that takes its input from the stage to the left of it and passes its output to the stage to the right of it
JOIN: – creates a single record from one or more input records
LOCATE: – writes only the records that contain a specific string
NLOCATE: – writes all records that do not contain the string specified as the argument
PAD: – fills each record to the specified length with a pad character
Pipeline: – a series of programs that data passes through.
SPLIT: – creates an output record for each blank-delimited word in its input records
SORT: – orders the input in ascending or descending order
UNPACK: – converts a file from the packed format supported by COPYFILE and XEDIT to plain records
VAR: – handles the special case where you want to read and write a single record with the contents of a REXX variable
XLATE: – translates data passing through the pipeline on a character by character basis
Hartmann, J., L. Kraines, and J. Lynn. CMS Pipelines Tutorial. GG66-3158-00, February 1990.
IBM. z/VM: CMS Pipelines User’s Guide. SC24-5970-00, February 2001.
IBM. z/VM: CMS Command and Utility Reference. SC24-6010-02, May 2002.