Software:System Generation (OS)

From HandWiki
Short description: Process for configuring some IBM operating systems

System Generation (SysGen) is a two-stage process for installing or updating OS/360,[1][2] OS/VS1, OS/VS2 (SVS), OS/VS2 (MVS) and chargeable systems derived from them.[3][4][5][6][7] There are similar processes for, e.g., DOS/360, which this article does not cover. Also, some of the details have changed between releases of OS/360 and many details do not carry over to later systems.

There are several reasons that IBM provided a system generation process rather than simply providing a mechanism to restore the system from tape to disk. System/360 did not have self-identifying I/O devices, and the customer could request installation of I/O devices at arbitrary addresses. As a result, IBM had to provide a mechanism for the customer to define the I/O configuration to OS/360. Also, OS/360 supported several different options; IBM needed a way for the customer to select the code appropriate for the options needed at a particular installation.

The SysGen process runs as a series of jobs under the control of the operating system. For new installations, IBM provides a complete pre-configured driver system, which is intended only for preparing for and running the sysgen, not for production use.

Prior to running the Sysgen, the customer must initialize a set of distribution volumes and restore a set of distribution libraries from tape to those volumes. These libraries include data that the sysgen process will copy to target libraries, input to utilities used by the sysgen process, macro definitions used by the sysgen process and load modules that the sysgen process will include when linking load modules into target libraries.

Start of the Stage 1 input assembler code for a Sysgen for a System 370/148 running OS/VS1, c. 1979

Stage 1 is the compilation of a sequence of assembler macro instructions describing the configuration to be installed or updated. The assembler does not actually compile any object code, but instead compiles a series of PUNCH pseudo-ops in order to generate a job stream for Stage 2. As IBM changed the nomenclature for OS/360 options, it also changed the Sysgen macro definitions to use newer names for the options.

The TYPE keyword on the CTRLPROG macro in the Stage 1 input specifies the type of control program. By Release 13 the old terms SSS, MSS and MPS had been replaced by PCP, MFT and MVT. The later M65MP type is a variation of MVT.

The SCHEDULER macro in the Stage 1 input specifies the type of scheduler; Release 13 still used the values SEQUENTIAL and PRIORITY, but those were subsequently replaced by the values used for the TYPE keyword on the CTRLPROG macro.

These types are

PCP
Primary Control Program (Option 1)
MFT
Multiprogramming with a Fixed number of Tasks (MFT)[8][9][10] (Option 2)
MVT
Multiprogramming with a Variable number of Tasks (MVT)[11] (Option 4)
M65MP
Model 65 Multi-Processing, a special case of MVT.

The GENERATE macro in the Sysgen input can be any of several types:

  • Full generation of the operating system.
  • Generation of compilers and associated libraries.
  • Updating of the I/O configuration

For MVT (either TYPE=MVT or TYPE=M65MP) with TSO, the TSOGEN macro plays the same role as GENERATE. Either macros analyzes the options specified on the previous macro calls and punches the Stage 2 job stream.

The Stage 2 jobstream uses a variety of utilities, including the assembler and linkage editor.

This process is now obsolete; it was initially[12] replaced by the use of SMP/E, IOCP[13] and MVSCP,[14][15][16] then later by SMP/E and Hardware Configuration Definition (HCD).[17][18]

See also

References

  1. IBM System/360 Operating System Introduction. IBM. November 1966. C28-6534-1. http://www.bitsavers.org/pdf/ibm/360/os/R01-08/C28-6534-1_OS_Intro_Nov66.pdf. 
  2. IBM System/360 Operating System Introduction OS Release 21 (Fourth ed.). IBM. June 1971. GC28-6534-3. http://www.bitsavers.org/pdf/ibm/360/os/R21.0_Mar72/GC28-6534-3_OS360_Introduction_R21_Jan72.pdf. 
  3. IBM System/360 Operating System System Generation Release 13 (Fourth ed.). IBM. August 1967. C28-6554-3. http://www.bitsavers.org/pdf/ibm/360/os/R13_Sep67/C28-6554-3_OS_Sysgen_R13_Aug67.pdf. 
  4. IBM System/360 Operating System System Generation Release 21.8 (Fourteenth ed.). IBM. August 1974. GC28-6554-13. http://www.bitsavers.org/pdf/ibm/360/os/R21.8_Aug74/GC28-6554-13_OS_Sysgen_Rel_21.8_Aug74.pdf. 
  5. OS/VS System Generation Introduction VS1 Release 1 VS2 Release 1 (Second ed.). IBM. September 1972. GC26-3790-1. 
  6. OS/VS2 System Generation Reference VS2 Release 1 (Second ed.). IBM. March 1973. GC26-3792-1. http://bitsavers.org/pdf/ibm/370/OS_VS2/Release_1.6_Mar73/GC26-3792-1_OS_VS2_System_Generation_Reference_Rel_1.6_Mar73.pdf. 
  7. OS/VS2 System Programming Library: System Generation Reference Release 3.8 (Eighth ed.). IBM. January 1979. GC26-3792-7. 
  8. IBM System/360 Operating System Multiprogramming With a Fixed Number of Tasks (MFT) Concepts and Considerations (First ed.). IBM. October 1966. GC27-6926-0. http://www.bitsavers.org/pdf/ibm/360/os/R13_Sep67/C27-6926-0_MFT_Concepts_Sep67.pdf. 
  9. Planning for Multiprogramming With a Fixed Number of Tasks Version II (MFT II) (First ed.). IBM. October 1967. C27-6939-0. http://www.bitsavers.org/pdf/ibm/360/os/C27-6939-0_Planning_for_MFT_II_Oct67.pdf. 
  10. IBM System/360 Operating System: MFT Guide OS Release 21.7 (Eleventh ed.). IBM. March 1972. C27-6939-10. 
  11. IBM System/360 Operating System MVT Guide OS Release 21 (Fifth ed.). IBM. March 1972. GC28-6720-4. http://bitsavers.org/pdf/ibm/360/os/R21.0_Mar72/GC28-6720-4_MVT_Guide_Release_21_Mar72.pdf. 
  12. In stages, e.g., DFP V2 added MVSCP (see GC28-1615) but did not eliminate the sysgen process.
  13. Input/Output Configuration Program User's Guide and ESCON Channel-to-Channel Reference. IBM. GC38-0401-00. http://publibfp.dhe.ibm.com/cgi-bin/bookmgr/BOOKS/da4a4001. 
  14. MVS/Extended Architecture Data Facility Product General Information (Fifth ed.). IBM. May 1987. p. 17. GC26-4142-4. 
  15. MVS/Extended Architecture Data Facility Product Planning Guide (Third ed.). IBM. p. 18. GC26-4147-2. 
  16. MVS Configuration Program. IBM. GC28-1615. 
  17. z/OS Version 2 Release 4 Hardware Configuration Definition Planning. IBM. GA32-0907-40. https://www-40.ibm.com/servers/resourcelink/svc00100.nsf/pages/zosV2R4GA320907/$file/ieag800_v2r4.pdf. 
  18. Hardware Configuration Definition: Using the Dialog. IBM. GC33-6457. 

External links