OS/360 and successors
|OS family||OS/360 and successors|
|Available in||Algol 60, Assembler (E), Assembler (F), CLIST, COBOL, FORTRAN, PL/I, RPG|
|Succeeded by||OS/VS1, OS/VS2 (SVS), OS/VS2 (MVS), MVS/SE, MVS/SP Version 1, MVS/XA, MVS/ESA, OS/390, z/OS|
OS/360, officially known as IBM System/360 Operating System, is a discontinued batch processing operating system developed by IBM for their then-new System/360 mainframe computer, announced in 1964; it was heavily influenced by the earlier IBSYS/IBJOB and Input/Output Control System (IOCS) packages. It was among the earliest operating systems to make direct access storage devices a prerequisite for their operation.
Although OS/360 itself was discontinued, successor operating systems including the virtual storage MVS and the 64 bit z/OS are still run as of 2015[update] and maintain application-level compatibility.
IBM announced three different levels of OS/360, generated from the same tapes and sharing most of their code. IBM eventually renamed these options and made some significant design changes:
- Single Sequential Scheduler (SSS)
- Option 1
- Primary Control Program (PCP)
- Multiple Sequential Schedulers (MSS)
- Option 2
- Multiprogramming with a Fixed number of Tasks (MFT)
- MFT 2
- Multiple Priority Schedulers (MPS)
- Option 4
- VMS[NB 1]
- Multiprogramming with a Variable number of Tasks (MVT)
- Model 65 Multiprocessing (M65MP)
Users often coined nicknames, e.g., Big OS, OS/MFT, but none of these names had any official recognition by IBM.
The other major operating system for System/360 hardware was DOS/360.
|History of IBM mainframe operating systems|
OS/360 is in the public domain and can be downloaded freely. As well as being run on actual System/360 hardware, it can be executed on the free Hercules emulator, which runs under most UNIX and Unix-like systems including GNU/Linux, Solaris, and Mac OS X, as well as Windows. There are OS/360 turnkey CDs that provide pregenerated OS/360 21.8 systems ready to run under Hercules.
- 1 Origin
- 2 OS/360 variants
- 3 System/370 and virtual memory operating systems
- 4 Later MVS versions and enhancements
- 5 Timeline
- 6 Notes
- 7 References
- 8 Further reading
- 9 References in popular culture
- 10 External links
IBM originally intended that System/360 should have only one batch-oriented[NB 2] operating system, OS/360. It also intended to supply a separate timesharing operating system, TSS/360. There are at least two accounts of why IBM eventually decided to produce other, simpler batch-oriented operating systems: because it found that OS/360 would not fit into the limited memory available on the smaller System/360 models; or because it realized that the development of OS/360 would take much longer than expected. IBM introduced a series of stop-gaps to prevent System/360 hardware sales from collapsing—first BOS/360 (Basic Operating System, for the smallest machines with 8K byte memories), then TOS/360 (Tape Operating System, for machines with at least 16K byte memories and only tape drives), and finally DOS/360 (Disk Operating System), which became a mainstream operating system and is the ancestor of today's widely used z/VSE.
IBM released three variants of OS/360: PCP (Primary Control Program), a short-lived stop-gap which could run only one job at a time, in 1966; MFT (Multiprogramming with Fixed number of Tasks) for the mid-range machines, and MVT (Multiprogramming with Variable number of Tasks) for the top end. MFT and MVT were used until at least 1981, a good five years after their successors had been launched. It is unclear whether the division between MFT and MVT arose because MVT required too much processing power to be usable on mid-range machines or because IBM needed to release a multiprogramming version of OS (MFT) as soon as possible. Initially IBM maintained that MFT and MVT were simply "two configurations of the [OS/360] control program", although later IBM described them as "separate versions of OS/360".
IBM originally wrote OS/360 in assembly language. Later on, IBM wrote some OS/360 code in a new language, Basic Systems Language (BSL), derived from PL/I. A large amount of the TSO code in Release 20 was written in BSL.
TSS/360 was so late and unreliable that IBM canceled it, although IBM later supplied three releases of the TSS/370 PRPQ. By this time CP-67 was running well enough for IBM to offer it without warranty as a timesharing facility for a few large customers.
These three options offered such similar facilities that porting applications between them usually required minimal effort, and the same versions of IBM "Program Products" (application and utility software) ran on both. The text below mostly treats PCP, MFT and MVT as simply new names for the original SSS, MSS and MPS, although there were some design changes. Also, the text does not distinguish between M65MP and MVT.
Although officially PCP, MFT and MVT were not a separate operating systems from OS/360, those were only an install-time configuration options—in today's words, a three different variants of OS kernel—because of quite different behaviour and memory requirements, users commonly considered them de facto separate operating systems, and referred to them as "early OS/360", "OS/MFT", "OS/MVT", respectively. MFT differed from MVT mainly in the way in which it managed memory: when installing MFT, customers would specify a fixed number of "partitions", areas of memory with fixed boundaries, in which application programs could be run simultaneously.
Also referred to as SYS=MIN in macro expansions that were system-dependent.
Multiprogramming with a Fixed number of Tasks (MFT) was intended to serve as a stop-gap until Multiprogramming with a Variable number of Tasks (MVT), the intended "target" configuration of OS/360, became available in 1967. Early versions of MVT had many problems, so the simpler MFT continued to be used for many years. After introducing new System/370 machines with virtual memory, in 1972 MFT was developed into OS/VS1, the last system of this particular line.
The first version of MFT shared much of the code and architecture with PCP, and was limited to four partitions. It was very cumbersome to run multiple partitions. Many installations used Houston Automatic Spooling Priority (HASP) to mitigate the complexity.
MFT Version II (MFT-II) shared much more of the Control Program and Scheduler code with MVT, and was much more flexible to run. The maximum number of partitions increased to 52.
Later modifications of MFT-II added sub-tasking, so that the fixed number of tasks was no longer fixed, although the number of partitions did remain a limitation.
Experience indicated that it was not advisable to install MFT on systems with less than 256 KB of memory, which in the 1960s was quite a large amount.
Also referred to as SYS=INT in macro expansions that were system-dependent.
Multiprogramming with a Variable number of Tasks (MVT) was the most sophisticated of three available configurations of OS/360's control program. MVT was intended for the largest machines in the System/360 family. Introduced in 1964, it did not become available until 1967. Early versions had many problems and the simpler MFT continued to be used for many years.
MVT treated all memory not used by the operating system as a single pool from which contiguous "regions" could be allocated as required by an unlimited[NB 4] number of simultaneous application and systems programs. This scheme was more flexible than MFT's and in principle used memory more efficiently, but was liable to fragmentation - after a while one could find that, although there was enough spare memory in total to run a program, it was divided into separate chunks none of which was large enough. System/360 lacked memory relocation hardware so memory compaction could not be used to reduce fragmentation. A facility called Rollout/Rollin could swap a running job out to secondary storage to make its memory available to another job. The rolled-out job would, however, have to be "rolled-in" to the original memory locations when they again became available.
In 1971 the Time Sharing Option (TSO) for use with MVT was added as part of release 20.1. TSO became widely used for program development because it provided an editor, the ability to submit batch jobs, be notified of their completion, and view the results without waiting for printed reports, and debuggers for some of the programming languages used on System/360. TSO in OS/360[NB 5] communicated with terminals by using Telecommunications Access Method (TCAM). TCAM's name suggests that IBM hoped it would become the standard access method for data communications, but in fact TCAM in OS/VS2 was used almost entirely for TSO and was largely superseded by Virtual telecommunications access method (VTAM) in the mid-to-late 1970s.
Also referred to as SYS=VMS in invocations of some macros that were system-dependent.
Model 65 Multiprocessing (M65MP) is a variant of MVT. It runs on a 360/65 in Multisystem mode M65MP traps use of the Set System Mask (SSM) instruction to serialize disabled code between the two CPUs. For the most part an M65MP system has the same behavior and interfaces as any other MVT system.
Also referred to as SYS=VMS in invocations of some macros that were system-dependent, as M65MP is a simple and straightforward variation of MVT.
PCP, MFT and MVT provided similar facilities from the point of view of application programs:
- The same application programming interface (API) and application binary interface (ABI), so application programs could be transferred between MFT and MVT without even needing to be modified or re-assembled or re-compiled.
- The same JCL (Job Control Language, for initiating batch jobs), which was more flexible and easier to use, though more complex, than that of DOS/360.
- The same facilities (access methods) for reading and writing files and for data communications:
- Sequential data sets were normally read or written one record at a time from beginning to end, using BSAM or QSAM. This was the only technique that could be used for tape drives, card readers / punches and printers.
- In indexed (ISAM) files a specified section of each record was defined as a key which could be used to look up specific records.
- In direct access (BDAM) files, the application program had to specify the physical location in a disk (track and block) of the data it wanted to access. BDAM programming was not easy and most organizations never used it themselves; but it was the fastest way to access data on disks and many software companies used it in their products, especially database management systems such as ADABAS, IDMS and IBM's DL/I.
- An additional file structure, partitioned, and access method (BPAM), was mainly used for managing program libraries. Although partitioned files needed to be compressed to reclaim free space, this had less impact than did a similar requirement for DOS/360's Core Image Library, because MFT and MVT allowed multiple partitioned datasets and each project generally had at least one.
- Generation Data Groups (GDGs) were originally designed to support grandfather-father-son backup procedures - if a file was modified, the changed version became the new "son", the previous "son" became the "father", the previous "father" became the "grandfather" and the previous "grandfather" was deleted. But one could set up GDGs with more than 3 generations, and some applications used GDGs to collect data from large and variable numbers of sources and feed the information to one program - each collecting program created a new generation of the file and the final program read the whole group as a single sequential file (by not specifying a generation in the JCL).
- BTAM, a data communications facility, was primitive and hard to use by today's standards. However, it could communicate with almost any type of terminal, which was a big advantage at a time when there was hardly any standardization of communications protocols.
- The file naming system allowed files to be managed as hierarchies, e.g. PROJECT.USER.FILENAME. This was simply a naming convention, as MFT and MVT lacked the concept of sub-directories; but it enabled users to list all files in a group or sub-group.
- A SPOOLing facility (which DOS/360 initially lacked, but was, later, provided by the POWER application).
- Applications could create sub-tasks, which allowed multitasking within the one job.
System/370 and virtual memory operating systems
When System/370 was announced in 1970 it offered essentially the same facilities as System/360 but with about 4 times the processor speeds of similarly priced System/360 CPUs. Then in 1972 IBM announced "System/370 Advanced Functions", of which the main item was that future sales of System/370 would include virtual memory capability and this could also be retro-fitted to existing System/370 CPUs. Hence IBM also committed to delivering enhanced operating systems which could support the use of virtual memory.
IBM provided an OS/360 SYSGEN option for S/370 support, which did not support DAT but did:
- Support control registers
- Support enhanced I/O[NB 6]
- Provide a S/370 Machine Check Handler
- Provide limited support for the new timer facilities
OS/VS1 was the successor to MFT, and offered similar facilities with several additions, e.g., RES, virtual memory. VSAM (see below) was initially available as an independent component release (ICR) and later integrated into the OS/VS1 base. IBM released fairly minor enhancements of OS/VS1 until 1983, and in 1984 announced that there would be no more. AIX/370, AIX/ESA, DPPX, OS/VS1 and TSS/370 are the only System/370 operating systems that do not have modern descendants.
OS/VS2 SVS and MVS
OS/VS2 release 1 was just MVT plus virtual memory and VSAM (see below). This version was eventually renamed OS/VS2 SVS, for Single Virtual Storage, when OS/VS2 Release 2, also known as MVS, for Multiple Virtual Storage, was introduced. SVS was intended as a stepping stone from MVT to MVS, and is only of historical interest today.
In 1974 IBM released what it described as OS/VS2 Release 2 but which was really a new operating system that was upwards-compatible with OS/VS2 Release 1. The Supervisor of the new system had been largely rewritten in a new dialect of BSL, PL/S; BSL and PL/S were dialects of PL/I with extensions designed to transcribe Assembly language code, including privileged instructions needed to control the computer as a whole. Time-sensitive OS components, such as the OS Dispatcher and the IOS, notably, among many others, remained coded in Assembly Language, which had been enhanced for OS/VS in the IFOX00 Assembler[NB 7] (from the older, OS/360 IEUASM Assembler).
|MVS address spaces - global view
|One application's view
The new version's most noticeable feature was that it supported multiple virtual address spaces - different applications thought they were using the same range of virtual addresses, but the new system's virtual memory facilities mapped these to different ranges of real memory addresses. Each application's address space consisted of 3 areas: operating system (one instance shared by all jobs); an application area which was unique for each application; shared virtual area which was used for various purposes including inter-job communication. IBM promised that the application areas would always be at least 8MB. This approach eliminated the risk of memory fragmentation that was present in MVT and SVS, and improved the system's internal security. The new system rapidly became known as "MVS" (Multiple Virtual Storages), the original OS/VS2 became known as "SVS" (Single Virtual Storage) and IBM itself accepted this terminology and labelled MVS's successors "MVS/xxx".
MVS introduced a new approach to workload management, allowing users to define performance targets for high-priority batch jobs. This enabled users to give their systems more work than before without affecting the performance of the highest-priority jobs.
MVS was IBM's first mainstream operating system on the System/370[NB 8] to support what IBM called "tightly coupled multiprocessing", in which 2 (later, up to 12, for IBM mainframes, and up to 16, for Amdahl mainframes) CPUs shared concurrent access to the same memory (and a single copy of the operating system and peripheral devices), providing greater processing power and a degree of graceful degradation if one CPU failed (which, fortunately, became an increasingly rare event, as system "up time" rose from hours to days and, then, to years.)
Initially MVS was supplied with a job queue manager called JES2 (Job Entry Subsystem 2), which was descended from HASP (Houston Automatic Spooling Priority) and also supported Remote Job Entry from workstations located elsewhere. JES2 could only manage jobs for one CPU (which might be a tightly coupled multiprocessor system). In 1976 IBM provided another option, JES3 (Job Entry Subsystem 3), a descendant of ASP (Attached Support Processor), which allowed one CPU to manage a single job queue feeding work to several physically distinct CPUs, and therefore allowed one operator's console to manage the work of all those CPUs. Note: JES1 was the job queue manager for OS/VS1 (see above).
- Entry-Sequenced Datasets (ESDS) provide facilities similar to those of both sequential and BDAM (direct) datasets, since they can be read either from start to finish or directly by specifying an offset from the start.
- Key-Sequenced Datasets (KSDS) are a major upgrade from IBM's ISAM: they allowed secondary keys with non-unique values and keys formed by concatenating non-contiguous fields in any order; they greatly reduced the performance problems caused by overflow records used to handle insertions and updates in ISAM; and they greatly reduced the risk that a software or hardware failure in the middle of an index update might corrupt the index. VSAM provided an ISAM / VSAM Interface which allowed ISAM-based applications to use VSAM KSDS without reprogramming.
- Relative Record Datasets (RRDS) are a replacement for direct access (BDAM) datasets, allowing applications to access a record by specifying a relative record number. Unlike ESDS and KSDS, RRDS does not support variable-length records.
VSAM also provides a catalog facility which enables applications to access files by name, without needing to know which disk drive(s) they are on. VSAM datasets must be defined in a VSAM catalog before they are used, and non-VSAM datasets can also be listed in a VSAM catalog. The MVS Master Catalog must be a VSAM catalog.
In 1974 IBM announced Systems Network Architecture, which was meant to reduce the cost of running large networks of terminals, mainly by using communications lines much more efficiently. This was only available for users of IBM's virtual memory operating systems, since its mainframe software component, VTAM was only available with these operating systems.
Later MVS versions and enhancements
In 1977 IBM announced MVS/System Extensions, a "program product" (i.e. it cost extra money) which improved MVS performance.
These data are taken from IBM 360 Operating Systems Release History, System/370 Market Chronology of Products & Services, IBM. "z/OS, z/OS.e, and OS/390 marketing and service announce, availability, and withdrawal dates". and IBM announcement letters.
|1964-04||1965-11||1||Operating System/360 prerelease
Single Sequential Scheduler
|1964-04||1966-11||OS/360 Multiple Sequential Scheduler|
MFT-II, VTOC positioning
SMF for MVT
SMF for MFT, MFT Attach, 1285/87/88 support
|5741||1972-08||1973-??||1||Operating System/Virtual Storage 1 (OS/VS1)|
|5742-SC1||1972-08||1972-??||1||Operating System/Virtual Storage 2 (OS/VS2) (Single Virtual Storage) (SVS)|
|5752-VS2||1972-08||1974-??||2||Operating System/Virtual Storage 2 (OS/VS2) (Multiple Virtual address Spaces) (MVS) with Job Entry Subsystem 2 (JES2)|
|5752-VS2||1972-??||1975-10||2||Operating System/Virtual Storage 2 (OS/VS2) MVS with Job Entry Subsystem 3 (JES3)|
|5740-XE1||1977-03||1978-03||1||MVS/System Extensions (MVS/SE)|
|5740-XE1||1979-03||1979-08||2||MVS/System Extensions (MVS/SE2)|
|5740-XYS||1980-06||1980-12||1||MVS/System Product Version 1 JES2 (MVS/SP 1.1)|
|5740-XYN||1980-06||1980-12||1||MVS/System Product Version 1 JES3 (MVS/SP 1.1)|
|5740-XYS||1980-06||1981-06||2||MVS/System Product Version 1 JES2 (MVS/SP 1.2)|
|5740-XYN||1980-06||1981-06||2||MVS/System Product Version 1 JES3 (MVS/SP 1.2)|
|5740-XYS||1980-11||1981-10||3||MVS/System Product Version 1 JES2 (MVS/SP 1.3)|
|5740-XYN||1980-11||1981-10||3||MVS/System Product Version 1 JES3 (MVS/SP 1.3)|
|5740-XC6||1981-10||1983-03||1||MVS/System Product - JES2 Version 2 (MVS/Extended Architecture) (MVS/XA)|
|5740-XC6||1981-10||1983-03||1||MVS/System Product - JES3 Version 2 (MVS/Extended Architecture) (MVS/XA)|
|5685-001||1988-02||1988-07||1||MVS/System Product - JES2 Version 3 (MVS/Enterprise System Architecture) (MVS/ESA)|
|5685-002||1988-02||1988-07||1||MVS/System Product - JES3 Version 3 (MVS/Enterprise System Architecture) (MVS/ESA)|
|5685-047||1990-09-05||1990-10-26||1994-03-31||1||MVS/ESA SP - JES2 Version 4|
|5685-047||1990-09-05||1992-12-31||1999-06-30||2||MVS/ESA SP - JES2 Version 4|
|5685-047||1992-06-18||1993-03-26||1999-06-30||3||MVS/ESA SP - JES2 Version 4|
|5685-048||1990-09||1990-10||1999-06-30||1||MVS/ESA SP - JES3 Version 4|
|5655-068||1994-04-05||1994-06-24||2001-01-31||1||MVS/ESA SP - JES2 Version 5|
|1995-06-30||2001-03-31||2||MVS/ESA SP - JES2 Version 5|
|5655-069||1994-09-13||1995-29-13||2001-03-31||2.1||MVS/ESA SP - JES3 Version 5|
|2.2||MVS/ESA SP - JES3 Version 5|
|2001-01-31||1||OS/390 Version 1|
|1996-09-27||2001-01-31||2||OS/390 Version 1|
|2001-03-31||3||OS/390 Version 1|
|2001-03-31||4||OS/390 Version 2|
|5||OS/390 Version 2|
|2002-03-31||6||OS/390 Version 2|
|2002-03-31||7||OS/390 Version 2|
|2002-09-30||8||OS/390 Version 2|
|2003-03-31||9||OS/390 Version 2|
|2004-09-30||10||OS/390 Version 2|
|2001-03-30||2004-03-31||1||z/OS Version 1|
|2001-10-26||2004-10-31||2||z/OS Version 1|
|2002-03-29||2005-03-31||3||z/OS Version 1|
|2002-09-27||2007-03-31||4||z/OS Version 1|
|2004-03-26||2007-03-31||5||z/OS Version 1|
|2004-09-24||2007-09-30||6||z/OS Version 1|
|2005-09-30||2008-09-30||7||z/OS Version 1|
|2006-09-29||2009-09-30||8||z/OS Version 1|
|2007-09-28||2010-09-30||9||z/OS Version 1|
|2008-09-26||2011-09||10||z/OS Version 1|
|2009-09-25||2013-09||11||z/OS Version 1|
|2010-09-24||(2015-09)||12||z/OS Version 1|
|2011-09-30||(2017-09)||13||z/OS Version 1|
|2013-09-30 (v2.1)||(2019-09)||1||z/OS Version 2|
|5650-ZOS||(2015-05?)||(2015-09-30)||(2021-09)||2||z/OS Version 2|
- VMS was unrelated to the VMS system for the DEC VAX.
- IBM eventually provided interactive facilities for OS/360, e.g., CRJE, ITF, TSO.
- But not MFT II
- Subject to resource availability, e.g., memory for a region, protection key for an application region.
- IBM later added the ability to use VTAM for TSO, but only in MVS.
- But not IDAL
- Also shipped with DOS/VS and VM/370.
- OS/360 M65MP and TSS/360 supported SMP.
- IBM Operating System/360 Concepts and Facilities (PDF). IBM. 1965. C28-6535-0.
- OS/360 Introduction (PDF). IBM Systems Reference Library. IBM. 1972. GC28-6534-3. Retrieved 2007.
- Auslander, M. A.; Jaffe, J. F. (1973). "Functional structure of IBM virtual storage operating systems Part I: Influences of dynamic address translation on operating system technology" (PDF). IBM Systems Journal 4 (IBM).
- Johnston (April 1, 2005). "VSE: A Look at the Past 40 Years". z/Journal (Thomas Communications, Inc.) (April/May 2005).
- Chuck Boyer, The 360 Revolution
- Introduction, op. cit., page 50
- The midseventies SHARE survey by an IBM user group
- BSL Language Specifications (PDF). IBM. Z28-6642-0.
- The IBM 360/67 and CP/CMS
- IBM System/360 Operating System Multiprogramming With a Fixed Number of Tasks (MFT) Concepts and Considerations (PDF). First Edition. IBM. October 1966. GC27-6926-0.
- Planning for Multiprogramming With a Fixed Number of Tasks Version II (MFT II) (PDF). First Edition. IBM. October 1967. C27-6939-0.
- Ray Saunders, "MVS... And Before OS/360 ?"
- IBM System/3S0 Operating System MVT Guide OS Release 21 (PDF). Fifth Edition. IBM. March 1972. GC28-6720-4.
- OS/360 Introduction (PDF). IBM Systems Reference Library. IBM. 1972. pp. 50–51. GC28-6534-3. Retrieved 2007. "there are two configurations of the [OS/360] control program: ... MVT configuration"
- IBM Corporation (1973). OS System Generation Release 21 (PDF). p. 182.
- "Appendix A. Multiprocessing System". IBM System/360 Model 65 Punctional Characteristics (PDF). Fourth Edition. IBM. September 1968. pp. 30–34. A22-6884-3.
- "System/370 Announcement". IBM. June 30, 1970.
- "DPD chronology (1970–1974)". IBM. DPD = Data Processing Division, which was responsible for IBM's medium and large systems.
- Pugh, E.W., Johnson, L.R. and Palmer, J.H. (1991). IBM's 360 and Early 370 Systems. MIT Press. ISBN 0-262-16123-0.
- Guide to PL/S Generated Listings. First Edition. IBM. July 1972. GC28-6786-0.
- Guide to PL/S II (PDF). First Edition. IBM. May 1974. GC28-6794-0.
- 3033 Technical press release
- Implementing MVS workload management
- Job Entry Subsystem 3 (JES3) Automation
- VSAM Demystified
- VSAM Tutorial
- ISAM / VSAM Interface
- 3033 Press announcement
- IBM, "MVT Guide" - GC28-6720-4, R21, March 1972
- IBM, "MVT Supervisor PLM" - GY28-6659-7, Program Logic Manual, March 1972
- IBM, "OS I/O Supervisor PLM" - GY28-6616-1, Program Logic Manual, April 1967
- IBM, "OS I/O Supervisor PLM" - GY28-6616-9, Program Logic Manual, R21.7, April 1973
- Brooks, Jr., Frederick P. (1975). "The Mythical Man-Month: Essays on Software Engineering", Addison-Wesley. ISBN 0-201-00650-2. (Reprinted with corrections, January 1982)
- Pugh, Emerson W.; Johnson, Lyle R.; Palmer, John H. (1991). IBM's 360 and Early 370 Systems, Cambridge : MIT Press. (pp. 291–345)
References in popular culture