CMS Pipelines

Pipelines
ParadigmDataflow programming
Designed byJohn P. Hartmann (IBM)
DeveloperIBM
First appeared1986
Stable release
1.1.12/0012 / 2020-06-03
PlatformIBM z Systems
OSz/VM 7.1
Websitehttp://vm.marist.edu/~pipeline
Influenced by
Pipeline (Unix)

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

Overview

CMS Pipelines provides a CMS command, PIPE. The argument string to the PIPE command is the pipeline specification. PIPE selects programs to run and chains them together in a pipeline to pump data through.

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. These built-in programs interface to the operating system, and perform many utility functions.

Data on CMS is structured in logical records rather than a stream of bytes. For textual data a line of text corresponds to a logical record. In CMS Pipelines the data is passed between the stages as logical records.

CMS Pipelines users issue pipeline commands from the terminal or in EXEC procedures. Users can write programs in REXX that can be used in addition to the built-in programs.

Example

A simple example that reads a disk file, separates records containing the string "Hello" from those that do not. The selected records are modified by appending the string "World!" to each of them; the other records are translated to upper case. The two streams are then combined and the records are written to a new output file.

PIPE (end ?) 
         < input txt 
       | a: locate /Hello/ 
       | insert / World!/ after
       | i: faninany
       | > newfile txt a
       ? 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. The locate stage separates the input stream into two output streams. The primary output of locate (records containing Hello) passes the records to the insert stage. The insert stage modifies the input records as specified in its arguments and passes them to its output. The output is connected to faninany that combines records from all input streams to form a single output stream. The output is written to the new disk file.

The secondary output of locate (marked by the second occurrence of the a: label) contains the records that did not meet the selection criterion. 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).

The pipeline topology in this example consists of two connected pipelines. The end character (the ? in this example) separates the individual pipelines in the pipeline set. Records read from the input file pass through either of the two routes of the pipeline topology. 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.

The example pipeline is presented in 'portrait form' with the individual stages on separate lines. When a pipeline is typed as a CMS command, all stages are written on a single line.

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.
  • A network of intersecting pipelines can be defined. Programs can be in several pipelines concurrently, which gives the program access to multiple data streams.
  • Data passed from one stage to the next is structured as records. 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.
  • Stages normally access the input record in locate mode, and produce the output records before consuming the input record. 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.
  • A program can dynamically redefine the pipeline topology. It can replace itself with another pipeline, it can insert a pipeline segment before or after itself, or both. A program can use data in the pipeline to build pipeline specifications.

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.
  • Startup of the programs in the pipeline and allocation of resources is coordinated by the CMS Pipelines dispatcher. 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. When the pipeline is terminated, the dispatcher ensures resources are released again.
  • Errors that occur while data flow in the pipeline can be detected by all participating programs. For example, a disk file might not be replaced in such circumstances.

History

John Hartmann, of IBM Denmark, started development of CMS Pipelines in 1980.[1] The product was marketed by IBM as a separate product during the 80's and integrated in VM/ESA late 1991. 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. 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.

The current level of CMS Pipelines is included in the z/VM releases again since z/VM 6.4, available since November 11, 2016.

An implementation of CMS Pipelines for TSO was released in 1995 as BatchPipeWorks in the BatchPipes/MVS product. The up-to-date TSO implementation has been available as a Service Offering from IBM Denmark until 2010.

Both versions are maintained from a single source code base and commonly referred to as CMS/TSO Pipelines. The specification is available in the Author's Edition.[2]

See also

References

  1. ^ VM and the VM Community, Melinda Varian
  2. ^ CMS/TSO Pipelines Author's Edition Author's Edition

Read other articles:

هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (نوفمبر 2023) هذه مقالة غير مراجعة. ينبغي أن يزال هذا القالب بعد أن يراجعها محرر مغاير للذي أنشأها؛ إذا لزم الأمر فيجب أن توسم المقالة بقوالب الصيانة المناسبة. يمكن أيضاً ت

 

Эта страница является частью списка Героев Социалистического Труда и перечисляет в алфавитном порядке лиц, удостоенных звания Героя Социалистического Труда, чьи фамилии начинаются с буквы «К», от Кара до Каюшкина. Список не включает дважды и трижды Героев Социалистиче...

 

14814 ГурійВідкриттяВідкривач Карачкіна Людмила ГеоргіївнаМісце відкриття КрАОДата відкриття 7 вересня 1981ПозначенняНазвана на честь Gury PetrovskydТимчасові позначення 1981 RL2 1998 MC30 1999 XJ101Категорія малої планети Астероїд головного поясуОрбітальні характеристики[1] Епоха ...

Gebäude des Amtsgerichts Radolfzell Das Amtsgericht Radolfzell ist ein Gericht der ordentlichen Gerichtsbarkeit und eines von sieben Amtsgerichten (AG) im Landgerichtsbezirk Konstanz. Inhaltsverzeichnis 1 Gerichtssitz und -bezirk 2 Übergeordnete Gerichte 3 Geschichte 4 Gebäude 5 Siehe auch 6 Weblinks 7 Einzelnachweise Gerichtssitz und -bezirk Das Gericht hat seinen Sitz in Radolfzell am Bodensee und ist für die Gemeinden Gaienhofen, Moos, Öhningen und Radolfzell zuständig. Grundsätzlic...

 

Timothy Zahn na New York Comic Con em 2012. Timothy Zahn (1 de Setembro de 1951) é um escritor estadunidense de ficção científica e fantasia, mais conhecido pela chamada Trilogia Thrawn da franquia Star Wars.[1] Zahn também fez o roteiro da HQ do personagem Star-Lord da Marvel Comics.[2] Referências ↑ «CCXP 2015 terá Timothy Zahn, autor da Trilogia Thrawn de Star Wars». Omelete  ↑ «Guardiões da Galáxia - Parte 3». HQManiacs. Arquivado do original em 21 de setembro de 201...

 

American politician Jabez G. SutherlandMember of the U.S. House of Representativesfrom Michigan's 6th districtIn officeMarch 4, 1871 – March 3, 1873Preceded byRandolph StricklandSucceeded byJosiah Begole Personal detailsBorn(1825-10-06)October 6, 1825Van Buren, New YorkDiedNovember 20, 1902(1902-11-20) (aged 77)Berkeley, CaliforniaPolitical partyDemocratic Jabez Gridley Sutherland (October 6, 1825 – November 20, 1902) was a politician and judge from the U.S. stat...

Pariwisata di Sydney, Australia membentuk bagian penting dari ekonomi kota. Kota ini menerima 22.6 juta pengunjung domestik dan 2.7 juta pengunjung internasional pada akhir tahun Desember 2009.[1] Tempat wisata paling terkenal ialah Sydney Opera House dan Sydney Harbour Bridge. Tempat-tempat wisata lainnya yaitu Royal Botanical Gardens, Luna Park, pantai di Sydney dan Sydney Tower.[2] Sydney Opera House pada malam hari Promosi pariwisata Pemerintah New South Wales mengoperasik...

 

2002 studio album by Thunderbirds Are Now!Doctor, Lawyer, Indian ChiefStudio album by Thunderbirds Are Now!ReleasedNovember 26, 2002GenreNoise rockPost-punk revivalLength23:21LabelAction DriverThunderbirds Are Now! chronology Another One Hypnotized By...(2003) Doctor, Lawyer, Indian Chief(2002) Justamustache(2005) Professional ratingsReview scoresSourceRatingAllMusic[1]Pitchfork Media(5.9/10)[2] Doctor, Lawyer, Indian Chief is an album by Thunderbirds Are Now! The albu...

 

Radio station in Zamboanga del Norte, Philippines DXKD (1053 AM) Radyo Ronda is a radio station owned and operated by Radio Philippines Network. The station studios are located at the 2nd floor of Sagario Building, National Highway, Turno, Dipolog. It is the pioneer AM radio station in the province. The station also airs a handful of programs from DWIZ 882 Manila. It operates daily from 6:00 AM to 9:00 PM.[1][2][3]DXKD (Radyo Ronda Dipolog)DipologBroadcast areaEastern ...

Cet article ou cette section contient des informations sur un projet ferroviaire. Il se peut que ces informations soient de nature spéculative et que leur teneur change considérablement alors que les évènements approchent. Thumb Thumb L'extension de la ligne 7 du métro de New York est étroitement liée au ré-aménagement de l'Hudson Yards, elle a pour but d'étendre l'IRT Flushing Line, vers l'ouest à partir de son terminus actuel à Times Square. Le prolongement de 2,4 km permet...

 

James HollowayCBEBornJames Essex Holloway1948Westminster, Greater LondonAlma materCourtauld Institute of ArtOccupation(s)Art historian and museum director The Scottish National Portrait Gallery James Essex Holloway CBE (born 1948) is a British art historian, and was director of the Scottish National Portrait Gallery from 1997 until 2012. Education and personal life Holloway was born in Westminster in 1948[1] and educated at the Courtauld Institute (University of London).[2 ...

 

The so-called Minto stone was 2 metres (6.6 ft) high and weighed 3.8 tons. It was found in Ngendat and described by Colin Mackenzie in 1811-14 The Minto Stone or Sangguran Inscription, known in Indonesia as Prasasti Sangguran, is a 3 long tons (3.0 t), 2 metres (6.6 ft) tall epigraphy found in Malang, East Java province. In 1812, Sir Thomas Stamford Raffles, then Lieutenant-Governor of the island of Java, removed it along with the so-called Calcutta Stone as a token of apprecia...

Motion controller system Oculus Touch controllers for the Oculus Rift CV1 Oculus Touch is a line of motion controller systems used by Meta Platforms (formerly Oculus) virtual reality headsets. The controller was first introduced in 2016 as a standalone accessory for the Oculus Rift CV1, and began to be bundled with the headset and all future Oculus products beginning in July 2017. Since their original release, Touch controllers have undergone revisions for later generations of Oculus/Meta har...

 

Ukrainian singer and guitarist Denis ShaforostovДенис ШафоростовShaforostov with Asking Alexandria at Rock am Ring 2015Background informationBirth nameDenis Alexandrovich ShaforostovBorn (1992-05-04) 4 May 1992 (age 31)Khartsyzk, UkraineGenres Metalcore post-hardcore electronicore hard rock alternative rock hip hop Occupation(s) Singer musician songwriter Instrument(s) Vocals guitar Years active2010–presentMember ofDrag Me OutFormerly of Asking Alexandria Down & Dirt...

 

Spanish conquistador (1485–1547) For the Bolivian Olympic weightlifter, see Hernán Cortez (weightlifter). In this Spanish name, the first or paternal surname is Cortés de Monroy and the second or maternal family name is Pizarro Altamirano. Hernán Cortés18th-century portrait of Cortés based on the one sent by the conqueror to Paolo Giovio, which has served as a model for many of his representations since the 16th century1st Governor of New SpainIn office13 August 1521 ...

هذه المقالة تحتاج للمزيد من الوصلات للمقالات الأخرى للمساعدة في ترابط مقالات الموسوعة. فضلًا ساعد في تحسين هذه المقالة بإضافة وصلات إلى المقالات المتعلقة بها الموجودة في النص الحالي. (مارس 2023) يفتقر محتوى هذه المقالة إلى الاستشهاد بمصادر. فضلاً، ساهم في تطوير هذه المقالة م...

 

The gods Osiris, Anubis, and Horus in the Tomb of Horemheb (KV57) in the Valley of the Kings Ancient Egyptian deities were an integral part of ancient Egyptian religion and were worshipped for millennia. Many of them ruled over natural and social phenomena, as well as abstract concepts.[1] These gods and goddesses appear in virtually every aspect of ancient Egyptian civilization, and more than 1,500 of them are known by name. Many Egyptian texts mention deities' names without indicat...

 

Il tempo di 1'437 stabilito sugli 800 m da Marcello Fiasconaro (nella foto), il 27 giugno 1973 (all'epoca era record mondiale), è il record italiano più longevo I record italiani di atletica leggera rappresentano le migliori prestazioni di atletica leggera stabilite dagli atleti di nazionalità italiana e ratificate dalla Federazione Italiana di Atletica Leggera. Indice 1 Outdoor 1.1 Maschili 1.2 Femminili 1.3 Misti 2 Indoor 2.1 Maschili 2.2 Femminili 3 Note 4 Voci correlate 5 Collegamenti ...

В Википедии есть статьи о других людях с такой фамилией, см. Морозов; Морозов, Дмитрий. Морозов Дмитрий Анатольевич Председатель комитета Государственной Думы по охране здоровья 5 октября 2016 — 12 октября 2021 Предшественник Фургал, Сергей Иванович Преемник Дмитрий Хубез...

 

Disambiguazione – Se stai cercando lo sciatore alpino statunitense, vedi Tommy Ford. Disambiguazione – Se stai cercando il giocatore di snooker inglese, vedi Tom Ford (giocatore di snooker). Tom Ford alla 66ª Mostra del Cinema di Venezia Tom Ford, ufficialmente Thomas Carlyle Ford (Austin, 27 agosto 1961), è uno stilista, regista e sceneggiatore statunitense. Ha lanciato il suo omonimo marchio di lusso nel 2005, in precedenza come direttore creativo di Gucci e Yves Saint Laurent. Negli...

 

Strategi Solo vs Squad di Free Fire: Cara Menang Mudah!