GO-V.ORG
As seen in

CMS Pipelines

CMS Pipelines is a feature of the VM/CMS operating system that allows the user to create and use a pipeline.[src] The programs in a pipeline operate on a sequential stream of records.[src] A program writes records that are read by the next program in the pipeline.[src] Any program can be combined with any other because reading and writing is done through a device independent interface.[src]

CMS Pipelines is a feature of the VM/CMS operating system that allows the user to create and use a pipeline.[src] The programs in a pipeline operate on a sequential stream of records.[src] A program writes records that are read by the next program in the pipeline.[src] Any program can be combined with any other because reading and writing is done through a device independent interface.[src] ==Overview== CMS Pipelines provides a CMS command, PIPE .[src] The argument string to the PIPE command is the pipeline specification.[src] PIPE selects programs to run and chains them together in a pipeline to pump data through.[src] Because CMS programs and utilities don't provide a device independent stdin and stdout interface, CMS Pipelines has a built-in library of programs that can be called in a pipeline specification.[src] These built-in programs interface to the operating system, and perform many utility functions.[src] Data on CMS is structured in logical records rather than a stream of bytes.[src] For textual data a line of text corresponds to a logical record.[src] In CMS Pipelines the data is passed between the stages as logical records.[src] CMS Pipelines users issue pipeline commands from the terminal or in EXEC procedures.[src] Users can write programs in REXX that can be used in addition to the built-in programs.[src] ==Example== A simple example that reads a disk file, separates records containing the string "Hello" from those that do not.[src] The selected records are modified by appending the string "World!" to each of them; the other records are translated to upper case.[src] The two streams are then combined and the records are written to a new output file.[src] PIPE (end ?) < input txt | a: locate /Hello/ | insert / World!/ after | i: faninany | > newfile txt a ?[src] a: | xlate upper | i: In this example, the < stage reads the input disk file and passes the records to the next stage in the pipeline.[src] The locate stage separates the input stream into two output streams.[src] The primary output of locate (records containing Hello) passes the records to the insert stage.[src] The insert stage modifies the input records as specified in its arguments and passes them to its output.[src] The output is connected to faninany that combines records from all input streams to form a single output stream.[src] The output is written to the new disk file.[src] The secondary output of locate (marked by the second occurrence of the a: label) contains the records that did not meet the selection criterion.[src] These records are translated to upper case (by the xlate stage) and passed to the secondary input stream of faninany (marked by the second occurrence of the i: label).[src] The pipeline topology in this example consists of two connected pipelines.[src] The end character (the ?[src] in this example) separates the individual pipelines in the pipeline set.[src] Records read from the input file pass through either of the two routes of the pipeline topology.[src] Because neither of the routes contain stages that need to buffer records, CMS Pipelines ensures that records arrive at faninany in the order in which they passed through locate .[src] The example pipeline is presented in 'portrait form' with the individual stages on separate lines.[src] When a pipeline is typed as a CMS command, all stages are written on a single line.[src] ==Features== The concept of a simple pipeline is extended in these ways: A program can define a subroutine pipeline to perform a function on all or part of its input data.[src] A network of intersecting pipelines can be defined.[src] Programs can be in several pipelines concurrently, which gives the program access to multiple data streams.[src] Data passed from one stage to the next is structured as records.[src] This allows stages to operate on a single record without the no need for arbitrary buffering of data to scan for special characters that separate the individual lines.[src] Stages normally access the input record in locate mode, and produce the output records before consuming the input record.[src] This lock-step approach not only avoids copying the data from one buffer to the next; it also makes it possible to predict the flow of records in multi-stream pipelines.[src] A program can dynamically redefine the pipeline topology.[src] It can replace itself with another pipeline, it can insert a pipeline segment before or after itself, or both.[src] A program can use data in the pipeline to build pipeline specifications.[src] CMS Pipelines offers several features to improve the robustness of programs: A syntax error in the overall pipeline structure or in any one program causes the entire pipeline to be suppressed.[src] Startup of the programs in the pipeline and allocation of resources is coordinated by the CMS Pipelines dispatcher.[src] Individual programs can participate in that coordination to ensure irreversible actions are postponed to a point where all programs in the pipelines have had a chance to verify the arguments and are ready to process data.[src] When the pipeline is terminated, the dispatcher ensures resources are released again.[src] Errors that occur while data flow in the pipeline can be detected by all participating programs.[src] For example, a disk file might not be replaced in such circumstances.[src] ==History== John Hartmann, of IBM Denmark, started development of CMS Pipelines in 1980.[src] The product was marketed by IBM as a separate product during the 80's and integrated in VM/ESA late 1991.[src] With each release of VM, the CMS Pipelines code was upgraded as well until it was functionally frozen at the 1.1.10 level in VM/ESA 2.3 in 1997.[src] Since then, the latest level of CMS Pipelines has been available for download from the CMS Pipelines homepage for users who wish to explore new function.[src] The current level of CMS Pipelines is included in the z/VM releases again since z/VM 6.4, available since November 11, 2016.[src] An implementation of CMS Pipelines for TSO was released in 1995 as BatchPipeWorks in the BatchPipes/MVS product.[src] The up-to-date TSO implementation has been available as a Service Offering from IBM Denmark until 2010.[src] Both versions are maintained from a single source code base and commonly referred to as CMS/TSO Pipelines.[src] The specification is available in the Author's Edition.[src] You can also find open source implementations in Java and Swift.[src] ==See also== BatchPipes Shell (computing) Flow-based programming ==References== ==External links== CMS/TSO Pipelines Runtime Library Distribution[src]

64 sentences · 64 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"CMS Pipelines." encyclopegia.org, 2025, https://encyclopegia.org/wiki/cms-pipelines. Accessed 03 December 2026.

Chicago

"CMS Pipelines." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/cms-pipelines.

APA

encyclopegia.org. (2025). CMS Pipelines. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/cms-pipelines

Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
release date1995Wikipedia
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1319201536 · 0.5 · snapshot enwiki-001319201536

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.