DOS/360 and successors explained

Disk Operating System/360, also DOS/360, or simply DOS, is the discontinued first member of a sequence of operating systems for IBM System/360, System/370 and later mainframes. It was announced by IBM on the last day of 1964, and it was first delivered in June 1966.[1] In its time, DOS/360 was the most widely used operating system in the world.[2]

DOS versions

BOS/360

See main article: BOS/360. The Basic Operating System (BOS) was an early version of DOS and TOS which could provide usable functionality on a system with as little as 8 KB of main storage and one 2311 disk drive.[3]

TOS/360

TOS/360 (Tape Operating System/360, not a DOS as such and not so called) was an IBM operating system for the System/360, used in the early days around 1965 to support the System/360 Model 30 and similar platforms.

TOS, as per the "Tape" in the name, required a tape drive. It shared most of the code base[4] and some manuals[5] [6] with IBM's DOS/360.

TOS went through 14 releases, and was discontinued[7] when disks such as the IBM 2311 and IBM 2314 became more affordable at the time of System/360,[8] whereas they had been an expensive luxury on the IBM 7090.

DOS/360

DOS/360 was the primary operating system for most small to midsize S/360 installations.

DOS/VS

DOS/VS was released in 1972. The first DOS/VS release was numbered "Release 28" to signify an incremental upgrade from DOS/360.[9] It added virtual memory in support of the new System/370 series hardware. It used a fixed page table which mapped a single address space of up to 16 megabytes for all partitions combined.

DOS/VS increased the number of partitions (separate simultaneous programs) from three (named Background, Foreground 1 and Foreground 2) to five (BG and F1 through F4) and allowed a system wide total of fifteen subtasks.[10]

DOS/VS was succeeded by DOS/VSE through z/VSE.

DOS/VSE

DOS/VSE was introduced in 1979 as an "extended" version of DOS/VS to support the new 4300 processors.[11] The 4300 systems included a feature called ECPS:VSE that provided a single-level storage for both the processor and the I/O channels.[12] DOS/VSE provided support for ECPS:VSE, but could also run on a System/370 without that feature. VSE was the last free version of DOS.

VSE/AF

VSE/Advanced Functions[13] (VSE/AF) is a product that adds new device support and functionality to DOS/VSE. Many installations installed VSE/AF using products such as VSE System Installation Productivity Option/Extended (VSE System IPO/E), which combines DOS/VSE, VSE/AF and various other products.

SSX/VSE

SSX/VSE ("Small System Executive") was an attempt by IBM to simplify purchase and installation of VSE by providing a pre-generated system containing the OS and the most popular products.[14] SSX was released in 1982,[15] and later replaced by VSE/SP. SSX was sold by IBM as a bundle of 14 component products (Advanced Functions/VSE, VSE/POWER, ACF/VTAME, VSE/VSAM, CICS/DOS/VS, DOS/VS, Sort/Merge, VSE/ICCF, VSE/OCCF, VSE/IPCS, DOS/COBOL, Back Up/Restore, Space Management, VSE/DITTO), and originally would only agree to offer the individual products separately via RPQ, although IBM later agreed to add those products individually to its price list under pressure from ISVs who claimed that the bundling violated antitrust laws.[16]

VSE/SP

In 1986 IBM released VSE/SP ("System Product") in conjunction with the announcement of the 9370 processors. VSE/SP replaced SSX/VSE and bundled VSE with the most popular VSE program products such as VSE/AF, ACF/VTAM, CICS, and POWER/VS.[17] VSE/SP supported only 24-bit addresses, despite customer requests to provide an XA (31 bit) version.

VSE/ESA

VSE/ESA was a 31-bit DOS/VSE version, which was released in 1990 with support for up to 384 MB of real storage. It provided up to twelve static partitions and allowed VSE/POWER and ACF/VTAM to be run in private address spaces. It introduced a new feature called dynamic partitions which could allow up to 150 concurrent jobs, each in its own address space.[18] Version 1 could run in either ESA or 370 mode, with the ESA mode also supporting XA hardware with limitations. Version 2 (1995) only supported ESA mode with ESA hardware. Version 2 added support for multiprocessing, through the new Turbo Dispatcher, which permits different partitions to execute simultaneously on different processors. A partition can only run on one processor at a time, which mostly limits the multiprocessing to multitasking. Up to ten processors are theoretically supported ("tolerated"), but up to four are effectively utilized.[19] [20] Those limits remain in the last z/VSE.[21]

z/VSE

See main article: z/VSE. IBM released z/VSE 3.1 in 2005. This change in naming reflected the new "System z" branding for IBM's mainframe product line, but did not represent a fundamental change in architecture from VSE/ESA 2.7 which preceded it. In particular, it did not support the new 64-bit z/Architecture, running only in 31-bit mode even on 64-bit capable machines. z/VSE 4.1 released in 2007 introduced support for 64-bit real addressing, with up to 8 GB of memory. However, while parts of the supervisor run in 64-bit mode, it only provides 31-bit virtual address spaces to problem state applications. As of 2011 one estimate placed the number of sites using z/VSE at around 4,000.[22]

History

When developing a new hardware generation of unified System/360 (or S/360) computers, IBM had originally committed to delivering a single operating system, OS/360, also compatible with low-end machines; but hardware was already available and the OS/360 project fell further and further behind schedule, as described at length by Fred Brooks in The Mythical Man-Month. IBM was forced to quickly develop four additional systems:

When OS/360 was finally released, a year late, it required at least 64 KB of memory. DOS was designed to use little memory, and could run on 16 KB machines, a configuration available on the low-end S/360 model 30. Unlike OS/360, DOS/360 was initially a single-job system which did not support multitasking. A version with multitasking, supporting up to three memory partitions, requiring 32 KB of memory was later released. Despite its limitations, DOS/360 became the most widely used operating system for processors with less than 256 KB of memory because: System/360 hardware sold very well; DOS/360 ran well on System/360 processors which medium-sized organizations could afford; and it was better than the "operating systems" these customers had before.

DOS/360 was the operating system which filled the time gap between the announcement of the System/360 and the availability of the intended operating system, OS/360. As a result of the delay, a number of customers implemented DOS systems and committed significant investments to run them. IBM expected that DOS/360 users would soon upgrade to OS/360, but as a result of those investments, they were reluctant to commit to such conversion. IBM then needed to continue to offer DOS/360 as an additional operating system. The Hacker's Jargon File incorrectly states that GECOS (also known as GCOS) was copied from DOS/360, which was not the case, however the Xerox Data Systems Xerox Operating System (XOS) was intentionally similar to DOS to simplify program porting.

Hardware requirements

DOS/360 required a System/360 CPU (model 25 and above) with the standard instruction set (decimal and floating-point instruction sets optional). The minimum memory requirement was 16 KB; storage protection was required only if multiprogramming was used. A 1052 Model 7[24] printer-keyboard, either a selector or multiplexor channel, and at least one disk drive was required — initially a 2311 holding 7.25 MB. A card reader, card punch and line printer were usually included, but magnetic tape drives could be substituted.

A typical configuration might consist of a S/360 model 30 with 32KB memory and the decimal instruction set, an IBM 2540 card reader/card punch, an IBM 1403 printer, two or three IBM 2311 disks, two IBM 2415 magnetic tape drives, and the 1052-7 console.

Technical details

The following description applies to DOS/360 except as otherwise noted. Later versions offer additional functionality.

Because DOS/360 was designed to run on low-end models of System/360 memory usage was a concern. It was possible to generate a DOS supervisor, the resident portion of the operating system, as small as 5902 bytes. Detailed charts listed memory requirements for each sysgen option, often as little as 100 bytes. A minimum system would leave just over 10 KB of storage available for a single batch partition which was enough to run utilities and all compilers except COBOL, PL/I, and full FORTRAN IV. To keep memory usage as small as possible, DOS was coded entirely in assembly language.

Transients

The concept of transient area is part of Mythical Man-Month's discussion on design and the use of main memory.[25] To further reduce memory usage, the supervisor employed overlays called transients that were read into one of two reserved transient areas as required.

The use of and prefixes ensured rapid loading of transients because their names were stored first in the directory.

DOS/VS added Machine Check and Channel Check Handlers, which were another set of transients all starting with and executing in the Recovery Transient area. This was done as part of the reliability, availability, and serviceability (RAS) enhancements for the System/370. Before this addition, machine checks caused termination of the program running and channel checks caused termination of the program accessing the device, at the time of the error.

Multiprogramming

Like OS/360, initial releases of DOS could run only one program at a time. Later versions of "real" DOS were able to run up to three programs concurrently, in separate memory partitions, supported by the same hardware memory protection features of the more scalable OS/360 operating system. These were identified as BG (background), F1 (foreground 1) and F2 (foreground 2). Multiprogramming was an optional feature of DOS/360, selectable at system generation.[26] A later SYSGEN option allowed batch operation run in either FG partition. Otherwise foreground programs had to be manually started by the computer operator.

DOS/VS allowed up to seven concurrent programs, although five or six was a more common number due to the smaller scale of the hardware usually hosting DOS systems. Both DOS and DOS/VS allow the number of partitions to be set at IPL (Initial Program Load), the IBM term for Boot load.

Program libraries

Executable programs were stored in a Core Image Library. While running, DOS could not reclaim space as programs were deleted or replaced with newer versions. When the Core Image Library became full, it had to be compressed by a utility program, and this could halt development work until it was complete. Many shops simply froze changes for a day, compressed the CIL "off-line", and IPLed with the new Core Image Library at the beginning of a business day. A relocatable library for linkable object programs and a source statement library for assembler macros and include text were also supported. Installations could define additional private relocatable and source statement libraries on other disk volumes.

Utilities

DOS/360 had a set of utility programs, an Assembler, and compilers for FORTRAN, COBOL and eventually PL/I, and it supported a range of file organizations with access methods to help in using them:

Sequential and ISAM files could store either fixed-length or variable-length records, and all types could occupy more than one disk volume.

Telecommunications

DOS/360 offered Basic Telecommunications Access Method (BTAM) and Queued Telecommunications Access Method (QTAM). BTAM was primitive and hard to use by later standards, but it allowed communication with almost any type of terminal, which was a big advantage at a time when there was little standardization of communications protocols. The simplicity of its API also allowed the relatively easy interface of external communications processors, which facilitated DOS/360 machines becoming nodes in the multi-tier networks of large organizations. Conversely, QTAM users did not need as much knowledge about individual devices because QTAM operated at the logical level using the OPEN/CLOSE/GET/PUT macros.

Job control

All DOS job control statements began with "" in card columns one and two except end-of-job which was "", end-of-data, "", and comments, "". (In the description that follows the character "" represents a single blank.)

[27]

Differences from OS/360

Job control language

DOS JCL was designed for parsing speed and simplicity; the resulting positional syntax was significantly more cryptic than OS/360 keyword-driven job control.

Spooling

Early DOS included no spooling sub-system to improve the efficiency of punched card and line printer I/O. By the late 1960s both IBM and aftermarket vendors began filling this void. IBM's spooler was an option called POWER, and Software Design, Inc., an independent software company, sold a spooler called GRASP.

Program loading

DOS/360 had no relocating loader, so programmers had to link edit a separate executable version of each program for each partition, or address space, in which the program was likely to be run. Alternatively assembler-language programs could be written as self-relocating, but that imposed additional complexity and a size penalty, albeit a small one. Large DOS shops with multiple machines and multiple partition layouts often wrote their own relocating loader to circumvent this issue.

Application programming interface

The DOS/360 application programming interface was incompatible with OS/360. High level language programs written for DOS needed to be compiled and linked before they could be used with OS/360. Minor differences between compilers of DOS as opposed to OS sometimes required modifications to programs. The port in the other direction however was more challenging. Since OS/360 had significantly more features supported in its API, any use of those features would have to be removed from programs being ported to DOS. This was less of a problem for programmers working in high level languages such as COBOL. Assembler programs, on the other hand, tended to utilize those very features more often and usually needed greater modification to run on DOS.

See also

External links

Notes and References

  1. Book: E.W. . Pugh . L.R. . Johnson . John H. . Palmer . IBM's 360 and early 370 systems . 1991 . . Cambridge, MA and London . 0-262-16123-0.
     - extensive (819 pp.) treatment of IBM's offerings during this period
  2. Pugh, op. cit., p. 331  - most widely used OS
  3. Book: IBM Corporation . IBM System/36D Basic Operating System Programmer's Guide . Sep 1967 . Jan 24, 2022.
  4. DOS/360: Forty years. Joe Morris. alt.folklore.computer. April 25, 2005. Don't forget TOS, the bastard cousin of DOS. Either could be generated from the same set of distribution libraries....
  5. Web site: IBM System/360 Disk and Tape Operating Systems Concepts and Facilities. October 1970. GC2ij-5030-8.
  6. Web site: DOS and TOS Utility Programs. August 1973. GC24-3465-8.
  7. Re: IBM 1401. Anne and Lynn Wheeler. May 28, 2009. ibmvm@listserv.uark.edu.
  8. Computerworld. September 5, 1977. 11. 36. 39–40. IBM Feared Competition to 360/30 CPU.
  9. Web site: IBM Corporation . IBM Geschichte im Jahr 1970 . May 31, 2012 . de .
  10. Book: IBM Corporation. Introduction to DOS/VS Release 29. 1973. GC33-5370-2
  11. The VSE Operating System State of the Union. z/Journal. November 1, 2008. September 18, 2019. https://web.archive.org/web/20180304055413/http://enterprisesystemsmedia.com/article/the-vse-operating-system-state-of-the-union. March 4, 2018.
  12. Book: IBM . IBM 4300 Processors Principles of Operation for ECPS:VSE Mode . First edition . January 1979 . SA22-7070-0.
  13. VSE/Advanced Functions Program Summary . GC33-6157-0 . Together with the DOS/VSE SCP (system control programming), VSE/Advanced Functions provides operating system support for IBM processing units listed in the "Machine Requirements" section. . January 24, 2022 . IBM .
  14. 1 Oct 1984. IBM adds SSX/VSE aid; offers DS/VSE frontend. Computerworld. 18. 40. 46.
  15. Paul. Louis. 23 Nov 1981. IBM brings out simplified operating system. Computerworld. 15. 47. 7.
  16. Blumenthal. Marcia. 15 Mar 1982. IBM yields to Adapso heat, unbundles SSX programs. Computerworld. 16. 11. 1–2.
  17. Web site: IBM Corporation. IBM VSE/SYSTEM PACKAGE (VSE/SP), VERSION 3 RELEASE 1.1 ENHANCED AND AVAILABLE. 30 June 1987 . June 1, 2011.
  18. Web site: IBM Corporation. IBM VSE/ENTERPRISE SYSTEMS ARCHITECTURE VERSION 1 RELEASE 1. 5 September 1990 . May 31, 2012.
  19. Web site: VSE/ESA Version 2 Release 1 and VSE/ESA Languages -- PL/I, COBOL, LE Software Announcement . 13 September 1994 . IBM.
  20. Web site: VSE/ESA Turbo Dispatcher Guide and Reference .
  21. Web site: The z/VSE Turbo Dispatcher . IBM.
  22. IBM DOS, DOS/VS, DOS/VSE, VSE/SP, VSE/ESA, z/VSE Customers. VSE-L. November 2, 2011. April 25, 2017.
  23. DOS/360 and TOS/360 had the same code base; the difference was whether it used disk libraries or tape libraries.
  24. DOS/360 on a S/370 used a 3210 or a 3215 rather than a 1052-7
  25. Book: The Mythical Man-Month . 1975 . 101 . F. P. Brooks . Addison-Wesley Publishing Company . 0-201-00650-2.
  26. Book: IBM Corporation. IBM System/360 Disk Operating System: System Generation and Maintenance. 1969.
  27. Book: IBM Corporation. System/360 Disk Operating System User's Guide: Control Statement Techniques. 1967.