File No. 1130-36 Order No. GC26-3717-10
Systems Reference Library
IBM 1130 Disk Monitor System, Version 2, Programmer's and Operator's Guide Program Numbers: 1130-0S-005 1130-0S-00S Page of GC26-3717-9, 10 As Updated October 22, 1976 By TNL GN34-0353
Eleventh Edition (June 1974)
This is a reprint of GC26-3717-9 incorporating changes released in Technical Newsletter GN34-0183 dated February 1974.
This edition applies to version 2, modification 12, of the IBM 1130 Disk Monitor Programming System; to version 1, modification 5, of the IBM 1130 Remote Job Entry Work Station Program, and to all subsequent versions and modifications until otherwise indicated in new editions or Technical Newsletters. Changes are periodically made to the information herein. Before using this publication in connection with the operation of IBM systems, consult the latest SRL Newsletter, GN20-1130, for the editions that are applicable and current.
Text for this manual has been prepared with the IBM Selectric ® Composer.
Some illustrations in this manual have a code number in the lower corner. This is a publishing control number and is not related to the subject matter.
Requests for copies of IBM publications should be made to your IBM representative or to the IBM branch office serving your locality.
Address comments concerning the contents of this publication to IBM Corporation, General Systems Division, Department 27T, P.O. Box 1328, Boca Raton, Florida 33432. Comments become the I property of IBM.
©Copyright International Business Machines Corporation 1966, 1968, 1969, 1970, 1971, 1972 Preface
This publication contains reference information for controlling and operating the 1130 Disk Monitor System, Version 2. The publication assumes you are familiar with the pro- gramming language needed to do your jobs. Chapter 1 of this publication describes how you use this book. The rest of the chapters: • Describe the disk monitor system (DM2) programs and disk areas • Describe the control records for controlling the functions of the disk monitor system • Provide tips and techniques for more efficient use of DM2 • Provide sample operating procedures for loading, reloading, and using DM2 • Describe the 1130 RJE Work Station Program The minimum system configuration required to operate the IBM 1130 Disk Monitor System, Version 2, Program Number 1130-0S-005 (card input/output) is: • An IBM 1131 Central Processing Unit, Model 2A or 4A (with an internal single disk storage drive and 4096 words of core storage) • An IBM 1442 Card Read Punch, Model 6 or 7, or an IBM 2501 Card Reader, in combination with an IBM 1442 Card Punch, Model 5 or • An IBM 1131 Central Processing Unit, Model 1B (with 8192 words of core storage) • An IBM 1133 Multiplex Control Enclosure • An IBM 2311 Disk Storage Drive, Model 12 • An IBM 1442 Card Read Punch, Model 6 or 7, or an IBM 2501 Card Reader, in combination with an IBM 1442 Card Punch, Model 5 The minimum system configuration required to operate the IBM 1130 Disk Monitor System, Version 2, Program Number 1130-0S-006 (paper tape input/output) is: • An IBM 1131 Central Processing Unit, Model 2A (with an internal single disk storage drive and 4096 words of core storage) • An IBM 1134 Paper Tape Reader • An IBM 1055 Paper Tape Punch The following publications provide further information about the 1130 computing system: IBM 1130 Functional Characteristics, GA26-5881 IBM 1130 Operating Procedures, GA26-5717 IBM 113011800 Assembler Language, GC26-3778 IBM 1130/1800 Basic FORTRAN IV Language, GC26-3715 IBM 1130 RPG Language, GC21-5002 IBM 1130 Subroutine Library, GC26-5929 IBM 1130 MTCA IOCS Subroutines, GC33-3002 IBM 1130 Synchronous Communications Adapter Subroutines, GC26-3706 IBM 113011800 Plotter Subroutines, GC26-3755 IBM System/360 Operating System and 1130 Disk Monitor System: System/360 1130 Data Transmission for FORTRAN, GC27-6937 IBM System/360 Operating System and 1130 Disk Monitor System: User's Guide for Job Control from an IBM 2250 Display Unit Attached to an IBM 1130 System, GC27:6938 IBM System/360 Operating System: Remote Job Entry, GC30-2006 Publications that provide information about IBM 1130 COBOL, a program product, are: IBM 1130 COBOL General Information Manual, GH2O-0799 IBM 1130 COBOL Language Specifications Manual, SH20-0816
Preface a Summary of Amendments Supervisor Control Records 5-12 *LOCA 5-13 Chapter 1. How to Use This Publication I - 1 *NO('AL 5-14 *FILES 5-15 Chapter 2. Disk Organization 2- I *G 12 50 5-16 System Cartridge 2-4 *EQUAT 5-17 Cylinder 0 on a System Cartridge 2-4 DUP Control Records 5-18 IBM System Area on a System Cartridge 2-6 Altering LET and FLET 5-20 Fixed Area 2-9 Information Transfer and Format Conversion 5-20 User Area and Working Storage 2-9 Restrictions Caused by Temporary Mode . 5-22 Nonsystem Cartridge 2-1 2 *DUMP 5-22 Cylinder 0 on a Nonsystem Cartridge 2-12 *DUMPDATA 5-24 IBM System Area on a Nonsystem Cartridge 2-1 3 *DUMPDATA E 5-26 Summary of the Contents of Disk Cartridges 2-14 *DUMPLFT 5-28 *DUMPFLET 5-29 Chapter 3. Monitor System Programs 3-1 *STORE 5-30 STOREDATA 5-33 Supervisor 3-1 *STOREDATAE 5-34 Resident Monitor 1-2 *STOREDATACI 5-37 Disk-resident Supervisor Programs 3-3 *STORECI 5-38 Disk Utility Program 3-4 *STORFMOD 5-42 General Functions of DUP 3-4 *DELETE 5-44 Assembler 3-5 *DEFINE 5-45 FORTRAN Compiler 3-6 *DWA DR 5-47 RPG Compiler 3-6 *DEICE 5-48 core Load Builder 1-7 *MACRO UPDATE 5-49 Construction of a Core Load 1-7 Assembler Control Records 5-50 Core Image Loader 1- I *TWO PASS MODE 5-52 *LIST 5-53 Chapter 4. Monitor System Library 4-1 *XREF 5-56 System Library ISS Subroutines 4-2 *LIST DECK 5-57 System Library Utility Subroutines 4-4 *LIST DECK E • 5-59 System Library Mainline Programs 4-5 *PRINT SYMBOL TABLE 5-59 IDENT 4-5 *PUNCH SYMBOL TABLE 5-59 DISC 4-6 *SAVE SYMBOL TABLE 5-60 DSLET 4-7 *SYSTEM SYMBOL TABLE 5-60 ID 4-7 *LEVEL 5-6.1 COPY 4-7 *OVERFLOW SECTORS 5-61 ADRWS 4-8 *COMMON 5-63 DLCIB 4-8 *MACLIB 5-63 MODIF 4-8 FORTRAN Control Records 5-64 MODSF 4-14.1 *10CS 5-65 DFCNV 4-20 *LIST SOURCE PROGRAM 5-66 PTUTL 4-25 *LIST SUBPROGRAM NAMES 5-66 *LIST SYMBOL TABLE 5-67 Chapter 5. Control Records S-I *LIST ALL 5-67 "'EXTENDED PRECISION Monitor Control Records S-1 5-68 *ONE WORD INTEGERS // JOB 5-2 5-68 *NAME // ASM 5-5 5-69 ** (Header Information) /1 FOR S-6 5-69 *ARITHMETIC TRACE 5-70 // RPG 5-6 *TRANSFER TRACE // COBOL 5-6 5-70 *ORIGIN // DUP 5-6 5-71 RPG Control Card // XEQ 5-7 5-74 End-of-File Control Card // * (Comments) 5-9 5-74 // PAUS 5-10 // TYP 5-10 // TEND 5-10 // EJECT 5-11 // CPRNT 5-11 // CEND 5-11
iv
Chapter 6. Programming Tips and Techniques . 6-1 Readying the 1231 Optical Mark Page Reader 7-8 Cold Start Procedure 7-9 Tips on Monitor Control and Usage 6-1 Card System Cold Start Procedure 7-10 Stacked Job Input Arrangement 6-1 Paper Tape System Cold Start Procedure 7-10 How to Use Temporary Job Mode 6-4 Using the 1130 with the Monitor System 7-11 Using the Disk I/O Subroutines 6-4 Entering Jobs from the Card Reader 7-1 I Restoring Destroyed Cartridges ...... 6-5 Entering Jobs from the Paper Tape Reader 7-11 How to Avoid Overprinting When Using // CPRNT • 6-5 Entering Jobs from the Console Keyboard . . . 7-11 How to Avoid Overprinting When Linking Between Functions of Console Operator Keys During Monitor Programs 6-5 System Control 7-12 Usage of the EJECT Monitor Control Record . . 6-5 Displaying or Altering the Contents of a Selected Core Duplicate Program and Data File Names . . . 6-6 7-1 3 Disadvantages of Storing a Program in DCI Format 6-7 Location 7-1 3 Size Discrepancies in Stored Programs 6-7 Manual Dump of Core Storage Dumping and Restoring Data Files 6-8 Chapter 8. Monitor System Initial Load and System Use of Defined Files 6-9 Reload 8-1 Mainline Programs that Use All of Core 6-9 The Use of LOCALs 6-9 IBM-Supplied System Loader Control Records . 8-2 LOCAL-Calls-a-LOCAL 6-10 SCON and TERM Control Records 8-2 LOCAL and NOCAL Control Record Usage 6-10 Phase Identification (PHID) Control Records 8-3 The Use of NOCALs 6-11 Type 81 Control Record 8-7 The Use of SOCALs 6-13 System Loader Control Records that you Punch 8-7 Reading a Core Map and a File Map 6-13 Load Mode Control Record 8-8 Locating FORTRAN Allocation Addresses . 6-18 System Configuration Control Records 8-9 Reading the Transfer Vector 6-19 CORE Control Record 8-10 SYSUP 6-20 Preparation of Load Mode and System Configuration Data File Processing 6-23 Control Tapes 8-10 FORTRAN Disk File Organization and Processing . 6-23 Card System Initial Load Operating Procedure 8-15 Assembler and RPG Disk File Organization and Card System Reload Operating Procedure 8-19 Processing 6-27 Card System Preload Operating Procedure 8-25 Calculating Sequentially Organized and ISAM File Paper Tape System Initial Load Operating Procedure 8-28 Sizes 6-29 Paper Tape System Reload Operating Procedure 8-33 Contents of an ISAM File 6-31
Deleting Duplicate Records Caused by a Disk Error Chapter 9. Stand-alone Utility Programs 9-1 During an ISAM Add Operation 6-34 Console Printer Core Dump 9-1 Tips for Assembler Language Programmers 6-35 Printer Core Dump Program Grouping of Assembler Mnemonics 6-35 9-4 Disk Cartridge Initialization Program (DCIP) Assembler Program Use of Index Register 3 6-35 9-8 Disk Initialization Subroutine Double Buffering in Assembler Programs . 6-35 9-8 Disk Copy Subroutine Assembler Program Use of 1403 Conversion 9-8 Disk Dump Subroutine Subroutines 6-37 9-9 Disk Patch Subroutine Writing ISSs and ILSs 6-37 9-9 Disk Analysis Subroutine Assembler INT REQ Service Subroutine 6-45 9-9 Disk Compare Subroutine Tips for FORTRAN Programmers 6-48 9-9 DCIP Operating Procedures Tips for Use of the EQUAT Control Record . 6-48 9-9 Invalid Characters in FORTRAN Source Cards . . 6-49 Paper Tape Reproducing Program . . . .. 9-42 FORTRAN Object Program Paper Tape Data Record Stand-alone Paper Tape Utility Program (PTUTL) 9-46 Format 6-49 Keyboard Input of Data Records During FORTRAN Chapter 10. Remote Job Entry Program 10-1 Program Execution 6-50 Machine and Device Requirements 10-1 FORTRAN Program Control of the Console Printer 6-50 Communication Considerations 10-1 Length of FORTRAN DATA Statement . 6-51 Communication Considerations for Switched Lines 10-2 // Records Read During FORTRAN Program Input at the Work Station 10-2 Execution 6-51 Generation of the 1130 RJE Work Station Program 10-3 FORTRAN I/O Errors 6-51 JECL for the 1130 Work Station 10-5 Dumping FORTRAN DSF Programs to Cards 6-52 End-of-File Indicators 10-6 RPG Object Program Considerations 6-52 Output to the Work Station 10-6 Discontinuing and Continuing Output 10-7 Chapter 7. Operating the 1130 Disk Monitor System 7-1 User-Exit Subroutine 10-8
Operating Procedures 10-9 Readying the 1131 Central Processing Unit 7-2 Work Station Startup Readying the 2310 Disk Storage Drive 7-3 10-9 The Null Command 10-10 Readying the 2311 Disk Storage Drive 7-3 Console Keyboard Procedures Readying the 1132 Printer 7-4 10-10 Error Recovery Procedures 10-11 Readying the 1403 Printer 7-4 Restart Procedures 10-11 Readying the 1442 Model 6 and 7 Card Read Punch 7-4 Messages Sent to Work Stations 10-12 Readying the 1442.Model 5 Card Punch 7-5 RJE Program Console Entry Switches 10-12 Readying the 2501 Card Reader 7-5 Readying the 1134 Paper Tape Reader 7-5 Error Statistics 10-12 Readying the 1055 Paper Tape Punch 7-6 Readying the 1627 Plotter .... 7-7
Contents v Appendix A. Monitor System Operational and Error Appendix F. Core Dump F-I Messages A-1 Assembler Error Codes and Messages A-2 Appendix G. Resident Monitor (Including Table of FORTRAN Messages and Error Codes A-7 Equivalences/ G-1 DUP and MUP Messages and Error Messages A-1.) System Loader Messages and Error Messages A-22 Appendix H. Monitor System Sample Programs H-1 Satellite Graphic Job Processor Error Messages A-26 1. FORTRAN Sample Program H-1 RJE Messages and Error Messages A-27 FORTRAN Sample Program Run on 4K H-2 Supervisor Messages and Error Messages A-35 FORTRAN Sample Program Run on 8K • H-5 RPG Compiler Messages and Error Notes A-38 2. Assembler Sample Program H-7 Core Load Builder Messages A-54 3. RPG Sample Program H-9 Auxiliary Supervisor Error Messages A-58 4. Using FORTRAN Unformatted I/O H- 1 2 Monitor System Library Mainline Programs Messages and 5. Processing on One Disk Drive a File that Extends over Error Messages A-59 Two Cartridges 11-13 IDENT Messages A-59 6. Processing on Two Disk Drives a File that Extends over DISC Messages and Error Messages A-59 Two Cartridges H-16 ID Messages and Error Messages A-60 7. Calculating ISAM File Parameters H-17 COPY Messages and Error Messages A-60 DLCIB Messages and Error Messages A-61 Appendix I. Formats I-1 MODIF Messages and Error Messages A-61 Disk Formats 1-2 MODSF Messages and Error Messages A-65 Card Formats 1-6 DFCNV Messages and Error Messages A-67 Paper Tape Formats 1-11 Print Formats 1-13 Appendix B. Monitor System Error Wait Codes B-1 Data Formats I-15 Cold Start Program Error Waits B-1 ISS Subroutine Preoperative Error Waits B-2 Appendix J. Field Type Examples for DFCNV . J-1 I/O Device Subroutine Errors B-5 1-Field Type J-1 1442 Card Subroutine Errors B-5 J-Field Type J-2 2501 Card Subroutine Errors B-8 R-Field Type J-2 Console Printer Subroutine Errors B-8 B-Field Type J-4 Paper Tape Subroutine Errors B-9 C-Field Type 1-4 Card Core Image Loader Wait Code B-9 D-Field Type J-5 Paper Tape Utility Program (PTUTL) Error Wait Codes B-9 E-Field Type J-6 FORTRAN I/O Wait Codes B-10 F-Field Type J-6 RPG Object Program Wait Codes B-12 X-Field Type J-7 Appendix C. Monitor System Library Listing . . C-1 Appendix K. Decimal and Hexadecimal Disk Addresses K-1 Appendix D. LET/F LET D-1 Appendix L. Disk Storage Unit Conversion Factors . L-1 LET/FLET Disk Format D-1 LET/FLET Dump Format D-2 Appendix M. Character Code Set M-I
Appendix E. System Location Equivalence Table ISLET) . E-1 Glossary-Index X-1
vi Summary of Amendments
GC26-3717-9 UPDATED BY VERSION 2 MODIFICATION 11
2311 Disk Storage Drive
New Hardware Feature. The 2311 Disk Storage Drive is a new feature that adds a larger online storage capacity and quicker online storage retrieval.
DCIP Function
New Programming Feature. The DCIP initialize and copy functions now have a wait for verifying that the console entry switches you turn on for the physical drive number and cartridge ID are correct before initialization and copying begins.
FORTRAN Messages
New Programming Feature. Messages describing errors in FORTRAN statements now indi- cate which statement is in error.
Summary of Amendments vii `
` Chapter 1. How to Use This Publication
Chapters 2, 3, and 4 include information for the systems planner who is interested in the contents and organization of disks, core storage, and the functions of the programs and storage areas that comprise the IBM 1130 Disk Monitor System, Version 2. The information in these chapters assists you in planning the contents of your disks, as well as maintaining them. The disk maintenance programs are described in Chapter 4. Chapters 5 and 6 contain information that is frequently referenced by programmers. Chapter 5 contains descriptions of all control records that control the functions of the disk monitor system (DM2). Use the programming tips and techniques in Chapter 6 for more efficient use of DM2. Chapters 7, 8, and 9 include operating information for using the disk monitor system. Chapter 7 contains procedures for readying the devices that are a part of your computing system, for performing a cold start of the monitor system, for entering jobs and for displaying, altering, and dumping core storage. Sample procedures for loading and reloading the system are shown in Chapter 8. You may use these operating procedures as they are presented, or modify them to meet the needs of your computing system. Chapter 9 describes stand-alone utility programs. These programs provide for dumping core storage to a print device, for initializing, copying, patching, analyzing, dumping and comparing disks, and for punching paper tapes. Operating procedures for using the utility programs are listed. The functions of the flowchart blocks that are used in the sample procedures in Chapters 7, 8, and 9 are:
The steps of the procedure that you perform. Each block contains a heading that describes the purpose of the block.
_ r A system action that occurs during a procedure. L. J
References procedures that are described elsewhere in this publication.
How to Use This Publication 1-1 Chapter 10 describes the 1130 RJE Work Station Program. When errors occur during monitor system processing, refer to Appendix A for error messages and codes, and to Appendix B for wait codes displayed on the console display panel. The remaining appendixes contain information that you will need to reference at various times, such as, the names of the programs and subroutines in the system library and listings of LET, FLET, SLET, the resident monitor, and sample programs. The terms disk, disk cartridge, and cartridge are used in this publication to refer to the single disk in an IBM 2315 Disk Cartridge or to any one of the 3 or 5 usable disks in an IBM 1316 Disk Pack, Model 12 or 11, respectively. Each usable disk in a 1316 Disk Pack is treated by DM2 as one 2315 disk, thus:
A disk in an IBM 1316 Disk Pack is the same as one IBM 2315 Disk Cartridge.
Each disk in the 1131 CPU and 2310 Disk Storage or 2311 Disk Storage Drive is assigned a physical drive number when the devices of an 1130 computing system are installed. Physical drive numbers are assigned in this order: Disk locations
Physical drive number 1131 CPU 2310 Disk Storage or 2311 Disk Storage Drive
0 Internal disk 1 First 2310, first disk First 2311, first disk 2 First 2310, second disk First 2311, second disk 3• Second 2310, first disk First 2311, third disk` 4 Second 2310, second disk First 2311, fourth disk 5 First 2311, fifth disk 6 Second 2311, first disk 7 Second 2311, second disk 8• Second 2311, third disk 9 Second 2311, fourth disk• 10 Second 2311, fifth disk