The Conversational Monitor System (CMS – originally: "Cambridge Monitor System"
) is a simple
interactive single-user
operating system
An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
. CMS was originally developed as part of IBM's
CP/CMS operating system, which went into production use in 1967. CMS is part of IBM's
VM family, which runs on
IBM mainframe
IBM mainframes are large computer systems produced by IBM since 1952. During the 1960s and 1970s, IBM dominated the large computer market. Current mainframe computers in IBM's line of business computers are developments of the basic design of t ...
computers. VM was first announced in 1972, and is still in use today as
z/VM.
CMS runs as a "guest" operating system in a private
virtual machine
In computing, a virtual machine (VM) is the virtualization/ emulation of a computer system. Virtual machines are based on computer architectures and provide functionality of a physical computer. Their implementations may involve specialized har ...
created by the
VM ''control program''. The control program plus CMS together create a multi-user time-sharing operating system.
History
CMS was originally developed as part of IBM's
CP/CMS operating system. At the time, the acronym meant "Cambridge Monitor System" (but also: "Console Monitor System").
* CMS first ran under
CP-40, a one-off research system using custom hardware at IBM's
Cambridge Scientific Center. Production use at CSC began in January 1967. The CMS user interface drew heavily on experience with the influential first-generation time-sharing system
CTSS, some of whose developers worked on
CP/CMS. (CTSS was used as an early
CP/CMS development platform.)
* Later in 1967,
CP/CMS became generally available on the
IBM System/360 Model 67, where, although the new control program
CP-67 was a substantial re-implementation of
CP-40, CMS remained essentially the same. IBM provided
CP/CMS "as is" – without any support, in source code form, as part of the
IBM Type-III Library.
CP/CMS was thus an
open source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
system. Despite this lack of support from IBM,
CP/CMS achieved great success as a time-sharing platform; by 1972, there were some 44
CP/CMS systems in use, including commercial sites that resold access to
CP/CMS.
In 1972, IBM released its
VM/370 operating system, a re-implementation of
CP/CMS for the
System/370, in an announcement that also added
virtual memory
In computing, virtual memory, or virtual storage is a memory management technique that provides an "idealized abstraction of the storage resources that are actually available on a given machine" which "creates the illusion to users of a very ...
hardware to the
System/370 series. Unlike
CP/CMS, VM/370 ''was'' supported by IBM. VM went through a series of versions, and is still in use today as
z/VM.
Through all its distinct versions and releases, the CMS platform remained still quite recognizable as a close descendant of the original CMS version running under
CP-40. Many key user interface decisions familiar to today's users had already been made in 1965, as part of the
CP-40 effort. See
CMS under CP-40 for examples.
Both
VM and
CP/CMS had checkered histories at IBM. VM was not one of IBM's "strategic" operating systems, which were primarily the
OS and
DOS families, and it suffered from IBM political infighting over
time-sharing versus
batch processing
Computerized batch processing is a method of running software programs called jobs in batches automatically. While users are required to submit the jobs, no other interaction by the user is required to process the batch. Batches may automatically ...
goals. This conflict is why
CP/CMS was originally released as an unsupported system, and why VM often had limited development and support resources within IBM. An exceptionally strong user community, first established in the self-support days of
CP/CMS but remaining active after the launch of VM, made substantial contributions to the operating system, and mitigated the difficulties of running IBM's "other operating system".
Architecture
CMS is an intrinsic part of the VM/CMS architecture, established with
CP/CMS. Each CMS user has control over a private
virtual machine
In computing, a virtual machine (VM) is the virtualization/ emulation of a computer system. Virtual machines are based on computer architectures and provide functionality of a physical computer. Their implementations may involve specialized har ...
– a simulated copy of the underlying physical computer – in which CMS runs as a stand-alone operating system. This approach has remained consistent through the years, and is based on:
*
Full virtualization, used to create multiple independent virtual machines that each completely simulate the underlying hardware
*
Paravirtualization, used to provide a
hypervisor
A hypervisor (also known as a virtual machine monitor, VMM, or virtualizer) is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called ...
interface that CMS uses to access VM services; this is implemented by the non-virtualized DIAG (diagnose) instruction
More details on how CMS interacts with the virtual machine environment can be found in the
VM and
CP/CMS articles.
CMS was originally built as a stand-alone operating system, capable of running on a
bare machine (though of course nobody would choose to do so). However, CMS can no longer run outside the VM environment, which provides the
hypervisor
A hypervisor (also known as a virtual machine monitor, VMM, or virtualizer) is a type of computer software, firmware or hardware that creates and runs virtual machines. A computer on which a hypervisor runs one or more virtual machines is called ...
interface needed for various critical functions.
Features
CMS provides users an environment for running
applications or
batch jobs, managing
data files, creating and
debugging applications, doing
cross-platform
In computing, cross-platform software (also called multi-platform software, platform-agnostic software, or platform-independent software) is computer software that is designed to work in several computing platforms. Some cross-platform software ...
development, and communicating with other systems or users.
CMS is still in development and wide use today.
Basic environment
Users log into VM, providing a userid and password, and then boot their own virtual machine. This can be done by issuing the command "IPL CMS" ("IPL" = ''initial program load'', traditional IBM jargon for
booting
In computing, booting is the process of starting a computer as initiated via Computer hardware, hardware such as a button or by a software command. After it is switched on, a computer's central processing unit (CPU) has no software in its ma ...
a machine); though this is normally done automatically for the user. Personal customization is done by a standard shell script file named "PROFILE EXEC", which sets up user-specified environmental defaults, such as which disks and libraries are accessed.
Terminal support
CMS started in the era of teletype-style paper terminals, and the later "glass teletype"
dumb terminals. By the late 1970s, however, most VM users were connecting via full-screen terminals – particularly the
IBM 3270, the ubiquitous transaction processing terminal on IBM mainframes. The 3270 played a strategic role in IBM's product line, making its selection a natural choice for large data centers of the day. Many other manufacturers eventually offered bisync terminals that emulated the 3270 protocol.
3270s had local buffer storage, some processing capabilities, and generally dealt with an entire screen of data at a time. They handled editing tasks locally, and then transmitted a set of fields (or the entire page) at once when the ENTER key or a
program function key (PFK) was pressed.
The 3270 family incorporated "smart" control units, concentrators, and other network processing elements, communicating with the mainframe over dedicated circuits at relatively high speeds, via a
bisync synchronous
communication protocol. (These mainframe-oriented communication technologies provided some of the capabilities taken for granted in modern communication networks, such as device addressing, routing, error correction, and support for a variety of configurations such as
multipoint and
multidrop A multidrop bus (MDB) is a computer bus in which all components are connected to the electrical circuit. A process of arbitration determines which device sends information at any point. The other devices listen for the data they are intended to rece ...
topologies.)
The 3270 approach differed from lower-cost
dumb terminal
A computer terminal is an electronic or electromechanical hardware device that can be used for entering data into, and transcribing data from, a computer or a computing system. The teletype was an example of an early-day hard-copy terminal ...
s of the period, which were
point-to-point and
asynchronous. Commercial
time-sharing users, an important segment of early
CP/CMS and VM sites, relied on such devices because they could connect via 300- or 1200 bit/s modems over normal voice-grade telephone circuits. Installing a dedicated circuit for a 3270 was often not practical, economical, or timely.
The 3270's
block-oriented approach was more consistent with IBM's batch- and punched card-oriented view of computing, and was particularly important for IBM mainframes of the day. Unlike contemporary minicomputers, most IBM mainframes were not equipped for character-at-a-time interrupts. Dumb terminal support relied on terminal control units such as the IBM
270x (see
IBM 3705) or Memorex 1270. These
asynchronous terminal controller A Terminal controller is a device that collects traffic from a set of terminals and directs them to a concentrator In the evolution of modern telecommunications systems there was a requirement to connect large numbers of low-speed access devices wi ...
s assembled a line of characters, up to a fixed maximum length, until the RETURN key was pressed. Typing too many characters would result in an error, a familiar situation to users of the day. (Most data centers did not include this equipment, except as needed for dial-up access. The 3270 approach was preferred.)
Block-oriented terminals like the 3270 made it practical to implement
screen-oriented editors on mainframes – as opposed to
line-oriented editors, the previous norm. This had been an important advantage of contemporary minicomputers and other character-oriented systems, and its availability via the 3270 was warmly welcomed.
A gulf developed between the 3270 world, focused on page-oriented mainframe transaction processing (especially via
CICS), and the asynch terminal world, focused on character-oriented minicomputers and dial-up timesharing. Asynchronous terminal vendors gradually improved their products with a range of
smart terminal features, usually accessed via
escape sequences. However, these devices rarely competed for 3270 users; IBM maintained its dominance over mainframe data center hardware purchase decisions.
Viewed in retrospect, there was a major philosophical divergence between block-oriented and character-oriented computing. Asynchronous terminal controllers and 3270s both provided the mainframe with block-oriented interactions – essentially, they made the terminal input look like a card reader. This approach, preferred by IBM, led to the development of entirely different user interface paradigms and programming strategies. Character-oriented systems evolved differently. The difference is apparent when comparing the
atomic transaction
In database systems, atomicity (; from grc, ἄτομος, átomos, undividable) is one of the ACID (''Atomicity, Consistency, Isolation, Durability'') transaction properties. An atomic transaction is an ''indivisible'' and '' irreducible'' ...
approach of dominant
CICS with the interactive, stream-oriented style of
UNIX
Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
. VM/CMS evolved somewhere between these extremes. CMS has a command-driven,
stateful
In information technology and computer science, a system is described as stateful if it is designed to remember preceding events or user interactions; the remembered information is called the state of the system.
The set of states a system can oc ...
, interactive environment, rather than adopting the CICS approach of a
stateless transaction-oriented interface. Yet CMS responds to page- or line-at-a-time interaction, instead of character interrupts.
Performance
CMS earned a very good reputation for being efficient, and for having good human factors for ease of use, relative to the standards of the time (and of course prior to widespread use of
graphical user interface
The GUI ( "UI" by itself is still usually pronounced . or ), graphical user interface, is a form of user interface that allows User (computing), users to Human–computer interaction, interact with electronic devices through graphical icon (comp ...
environments such as are commonly used today). It was not uncommon to have hundreds (later: thousands) of concurrent CMS interactive users on the same VM mainframe, with sub-second response times for common, 'trivial' functions. VM/CMS consistently outperformed MVS and other IBM operating systems in terms of support for simultaneous interactive users.
Programming and major applications
Many CMS users programmed in such languages as
COBOL
COBOL (; an acronym for "common business-oriented language") is a compiled English-like computer programming language designed for business use. It is an imperative, procedural and, since 2002, object-oriented language. COBOL is primarily ...
,
FORTRAN,
PL/I
PL/I (Programming Language One, pronounced and sometimes written PL/1) is a procedural, imperative computer programming language developed and published by IBM. It is designed for scientific, engineering, business and system programming. It ...
,
C/370,
APL, and the scripting language
REXX. VM/CMS was often used as a development platform for production systems that ran under IBM's other operating systems, such as
MVS.
Other CMS users worked with commercial software packages such as
FOCUS,
NOMAD
A nomad is a member of a community without fixed habitation who regularly moves to and from the same areas. Such groups include hunter-gatherers, pastoral nomads (owning livestock), tinkers and trader nomads. In the twentieth century, the po ...
,
SPSS, and
SAS
SAS or Sas may refer to:
Arts, entertainment, and media
* ''SAS'' (novel series), a French book series by Gérard de Villiers
* ''Shimmer and Shine'', an American animated children's television series
* Southern All Stars, a Japanese rock ba ...
.
At one time, CMS was also a major environment for e-mail and office productivity; an important product was IBM's PROFS (later renamed
OfficeVision).
Two commonly used CMS tools are the editor
XEDIT and the
REXX programming language. Both of these products have been ported to other platforms, and are now widely used outside the mainframe environment.
References
See
VM (operating system)
VM (often: VM/CMS) is a family of IBM virtual machine operating systems used on IBM mainframes System/370, System/390, zSeries, System z and compatible systems, including the Hercules emulator for personal computers.
The following vers ...
for VM-related sources and source citations.
Notes
See also
*
CMS file system
{{IBM operating systems
1967 software
IBM mainframe operating systems
Command shells
VM (operating system)