Introduction to DOS Logic
Total Page:16
File Type:pdf, Size:1020Kb
File Number 8360-36 Order No. GY24-50l7-l2 Introduction to DOS Logic Program Number 360N-CL-4S3 This reference publication gives an overall view of the Disk Operating System (008), and it briefly describes the associated control and service programs. It is intended for persons who are involved in program maintenance and for system programmers who are altering the program design. Program logic information is not needed for normal use or operation of the system control program. This manual is designed to introduce and to cross-reference the six companion PLMs of the Disk Operating System. These associated PLMs are listed in the Preface of this manual. For titles and abstracts of other associated publications, see the IBM System/360 and System/370 Bibliography, GA22-6822. DOS Release 26 I Thirteenth Edition (October 1971) This publication was formerly titled IBM System/360 Disk Operating System: Introduction to System Control Programs. Although titles of some DOS publications (including this one) have been simplified, the change does not affect the contents of the publications. This edition applies to Release 26 of the IBM Disk Operating System and to all subsequent releases until otherwise indicated in new editions or Technical Newsletters. Changes are continually made to the specifications herein; before . using this publication in connection with the operation of IBM systems, consult the latest System/360 and System/370 SRL Newsletter, GN20-0360, for the editions that are applicable and current. This edition is a major revision of, and obsoletes, GY24-5017-11. Summary of Amendments This edition provides documentation changes for: • Enhancements to OLTEP • Enhancements to PDAID • New problem determination commands ALTER, DSPLY, and DUMP • Maintenance and technical corrections Changes or additions to the text and illustrations are indicated by a vertical line to the left of the change. Request-s for copies of IBM publications should be made to your IBM representative or to the. IBM branch office serving your locality. Comments concerning the contents of this publications may be addressed to IBM Laboratory, Publications Department, P.O. Box 24, Uithoorn, Netherlands. Comments become the property of IBM. @ Copyright International Business Machines Corporation 1966, 1967, 1968, 1970, 1971 PREFACE This Program Logic Manual (PLM) is a general guide to the IBM Disk operating System system control programs. It is to be used with these six other PLMs: • DOS LIOCS Volume I: Introduction, • DOS IPL and Job Control. GY24-5086 GY24-5020 • DOS Supervisor and Related Transients. • IBM System/360 Disk operating~yst~~ GY24-5151 Basic Telecommunications Access Method PLM, GY30-5001 • DOS Librarian, GY24-S079 • IBM System/360 Disk Operating S~tem, • 120S~!nkage ES!!!QE, GY24-5080 Queuedrelecommunications Access Method PLM, GY30-5002 • DOS~Qgic~! Tr~~!ent§. GY24-S152 Titles and abstracts of other related • 120S System Service Programs. GY24-5153 publications are listed in the IBM System/360 and System/370 Bibliography, GA22-6822. Note: Although titles of some DOS publications have been simplified, the This manual consists of eight major change does not affect the contents of the sections: publications. 1. General description of the DOS system Publications that will aid in the control pro~rams understanding of these seven manuals are: 2. Description of system files on disk • IB~~Y§!~~/360_~E!nc!E!~§_of Qp~:tio!!., GA22-6821 3. Organization of the system residence (SYSRES) and private libraries 8 IBM System 360 Disk and Tape Operating ~yst~~~Assembler Language. 4. Description of the control programs GC24-3414 5. Description of the linkage editor • DO~tem Control and service. GC24- 5036 6. Description of the librarian Publications that are related to the 7.. Procedures to follow as error recovery subject of the seven manuals are: aids (Problem Determination) • D02-~~~rvisor and 1/0 Macros, 8. Appendixes containing error messages, GC24-5037 microfiche cross-reference master index, a master index to the seven PLMs • DOS system Generation, GC24-5033 that describe the program logic of DOS system control. and a brief description of the Volume Table of Contents (VTOC). This edition includes a glossary. GENERAL DESCRIPTION 7 System Reallocation Program (MAINTA) • 32 Multiprogramming •• 7 Set Condense Limits Program (MAINTCL) 32 Asynchronous Processing 8 Library Condense Program (MAINTCN) • • 32 Telecommunications • • • 8 Update Subdirectories Program Configuration • • • • • 8 ($MAINEOJ) • • • • • • • • • • • •• 32 Minimum Requirements • • • • • 8 Private Library Condense Limit Check Additional Features • • • • 9 and Status Report Program (MAINTEJP) • 32 I/O Devices 9 Service ~rograms • • • • • • ~ • • • • • 33 System I/O Devices and I/O Flow • • • 10 Directory Service Program (DSERV) '.. 33 System Components • • • • • • 13 Core Image Library Service Program Version and Modification Level • • 13 (CSERV) ••••••••••••••• 33 Relocatable Library Service Program SYS'IEM FILES ON DISK • • 15 (RSERV) ••••••••••••• 33 Predefined File Names • • 15 Source Statement Library Service Open System Disk Files • • • 16 Program (SSERIl) • • 33 Close System Disk Files • • 16 Private Libraries • • 33 supervisor FOPT Macro Parameter • • • 16 Disk Information Block (DIB) • • 17 PROBLEM DETERMINATION • • • • • • 35 Problem Determination Serviceability SYSTEM RESIDENCE ORGANIZATION • • 18 Aids (PDAID) • • • • _ • • •• • • 35 System Residence organization After stand-Alone Dump (DUMPGEN) • • • • • • 35 G~neration _ • • • • 19 Latel Cylinder Display (LSERV) • • • • 35 IPL •• • • • • • • • • 21 Environmental Recording, Editing, and Volume Label • 21 Printing Program (EREP) ••••••• 35 System Directory • 21 Error Statistics by Tape Volume System Work Area (Librarian Area) •• 21 Utility Programs • • • • • • • • • • • 36 Transient Directory • • • • 21 Open Directory • • • • • • • • • 21 APPENDIX A: ERROR MESSAGE Library Routine Directory • 21 CROSS-REFERENCE LIST. • 37 Foreground Program Directory • • • 21 Phase Directory • • • • • • • • 23 APPENDIX B: MICROFICHE CROSS-REFERENCE System Core Image Library Directcry • 23 INDEX '. • • • • • • • • 43 System Core Image Library • • • • • • 23 Program Type and Number • • 43 System Relocatable Library Directory • 23 System control • • • • • • • • • 44 System Relocatable Library • • • • • • 23 Logical IOCS: DAMOD • 48 System Source Statement Library Logical IOCS: DIMOD, ISMOD • • 48 Directory • • • • • • • • • • • • 24 Logical IOCS: MTMOD •• 48 System Source Statement Library • 24 Logical IOCS: PTMOD •••••••••• 48 Volume Area 24 Log ic al IOCS: SDMOD • • • • • 48 Telecommunications Access Methods: BTAM 48 CONTROL PROGRAMS • • 26 Telecommunications Access Methods: QTAM 50 Initial Program Loader (IPL) • • 26 Assembler D • • 52 Job Control Program • • 26 Assembler F • • • • • • • • • • • 52 supervisor. • • • '. • • • • • 26 Compiler I/O Modules.. •• • • • • 53 COBOL D • • • • • • • • • • 54 LINKAGE EDITOR PROGRAM • • • 29 COBOL Language Conversion Program • • • 55 COBOL F ••••• •• • • • • 56 LIBRARIAN PROGRAMS. • • • • 30 COBOL DASD Macros • • 56 Organization Programs • • • • • • 30 FORTRAN IV (Basic) • 57 Maintenance Programs • • • • • • • • • • 30 FORTRAN IV • • • • • • • • • • 57 Common Library Maintenance Program FORTRAN IV Library Subprograms. •• 57 (MAl NT) •• '. • '. '.. • • • • • • • • 31 PL/I (D) • • • • 58 Core Image Library Catalog Program Repor~ Program Generator, (RPG) • • 59 ($LNKEDTC) _ • _ ••••••••••• 31 OLTEP • • • • • • • • • '. • 60 Relocatable Library Catalog Program Magnetic Ink Character Reader (MICR (MAINTR2) ••••••• ,. • • • '. • • 31 ERP) • • • • • '. • • • • • '. •• ,.. 60 Source Statement Library Catalog Optical Character Reader (ORERP) • 61 Program (MAINTS2). • • • • • • • 32 Index-Sequential File Management System 61 Delete and Rename for All Libraries Sort/Merge (Disk) • • • • 61 Program (MAINTDR) • •• • • • • 32 Sort/Merge (Disk/Tape) • • • • • • • • • 61 Source Statement Library Single Sort/Merge (Tape) • • • • • • 62 Statement Update Program (MAINTUP) • • 32 Utilities Group 1 (Unit Record and Distribution Program • • • • • • 65 Disk) ••• _ • • • • • • • • • • 62 Utilities Group 2 (Tape) • . • • • 63 APPENDIX C: MASTER INDEX FOR DOS Utilities Group 3 (Data Cell) • • 63 SYSTEM CONTROL PLMS • • 66 Utilities - MPS • • • • • • • • • 63 Utilities - Vocabulary File • • . • •• 64 APPENDIX D: VOLUME TABLE OF CONTENTS Emulator - Mod 30 64 (VTOC) • •••••••••••• 72 Emulator - Mod 40 • . • • 64 Emulator - System/370 64 GLOSSARY 73 Autotest • • • • . • • • • 65 INDEX . 75 Figure 1. System I/O Flow • • 12 Figure 4. System Residence . Figure 2. Disk Operating System Organization •••••.••••••• 20 Program Flow • • 14 Figure 5. Standard Volume Label Data • 22 Figure 3. Disk Information Block Figure 6. Label Cylinder (Volume Area) (DIE) Table • • . • _ . • _ • • • • • • 17 Track Allocation ••••••••• 24 Figure 7. Volume Table of contents (VTOC) • • • • • • • • • • • • • • • • • 72 The IBM Disk Operating System (DOS) system number and size of the partitions are control programs provide disk operating fixed, or defined., during system 'system capabilities for 16K and larger generation. The size of the partitions may configurations. At least one IBM 2311 Disk be redefined by the console operator after Storage Drive" one IBM 2314 Direct Access system generation, to meet the needs of a Storage Facility" or one IBM 2319 Disk specific program to be executed. Storage Faciltiy is required. Multiprogramming has two types of Systems larger