Systems Reference Library
Total Page:16
File Type:pdf, Size:1020Kb
File No. 1620-36 Form C26-5774-0 Pages Revised 5/22/64 Systems Reference Library IBM 1620 Monitor II System Reference Manual This publication describes the 1620 Monitor II System, a combined operating and programming system. This system includes a Supervisor Program, a Disk Utility Program, an sps II-D Assembler, and a FORTRAN II-D Compiler. The latter three programs operate under control of the Supervisor Program to provide continuous operation. Also described is the 1620-1443 Monitor II System. This sys tem is designed to use the IBM 1443 Printer as an integral Iunit in the processing of source programs. Form C26-5774-0 Page Revised 5/22/64 By TNL N26-0080 Reader Survey Form A reader survey form is included at the back of this manual. We would appreciate your evaluation of this manual to assist us with future revisions and to guide us in planning other manuals. Thank you for your cooperation. The following pages have been revised by Technical News·· letter: TNL Number Pages Dated N26-0057 ii, 4, 18, 21, 25, 26, 30, 37, 50, 1/20/64 54, 56, 88, 108, 1l0, 114, 117, 123, 124, 125, 127, 128, 131. N26-0064 ii, iii, 5, 93, 101, 102.1, 117, 2/20/64 118, 119, 120, 122, 123, 124, 125, 126, 130, 131, 132, 133, 134, 135, 143, 154. I N26-0080 ii, iii, 135.1, 135.2, 135.3, 135.4, 5/22/64 135.5. Technical Newsletter N26-0080 supersedes the following publication: IBM 1620-1443 Monitor II System Specifications, Form C26-5858-0. Copies of this and other IBM publications can be obtained through IBM Branch Offices. Comments concerning the contents of this publication may be addressed to: IBM, Product Publications Department, San Jose, Calif., 95114 © 1963 by International Business Machines Corporation ii Form C26-5774-0 Page Revised 5/22/64 By TNL N26-0080 Contents Page Page mM 1620 Monitor II System 1 I/O Macro-Statements .......................................................... 81 Supervisor Program ............................................................ 8 Linkages for GET, PUT, and SEEK ................................ 82 Monitor Control Records ................................................ 8 Linkages for CALL LINK and CALL LOAD .............. 82 Stacked Input ...................................................................... 13 Linkage for CALL EXIT .................................................. 82 Monitor Control Record Analyzer Routine .................... 14 Input/Output Declarative Statements .............................. 82 I/O Routine ........................................................................ 17 SPS II-D Processor ................................................................ 84 I/O Error Routine ............................................................ 20 Operating Procedures ........................................................ 84 Error Count Retrieval Routine .. ........ .............................. 23 On-Line Error Correction ................................................ 87 Loader Routine '" ............................................................ '" 23 Post Assembly Phase ........................................................ 87 Monitor II System Communications Areas ................... 25 Execution of SPS II-D Object Programs ........................ 89 Rules of Relocatability ...................................................... 90 SPS II-D Modification Program ...................................... 91 Disk Utility Program ........................................................ 27 Write Addresses Routine .................................................... 28 FORTRAN II-D .................................................................... 93 Alter Sector Routine ........................................................ 29 FORTRAN II-D Language .............................................. 93 Disk-to-Output Routine .................................................... 30 Arithmetic Statements ........................................................ 98 Load Programs Routine .................................................... 32 Control Statements ............................................................ 99 Replace Programs Routine .......................... ...................... 34 Input/Output Statements .................................................. 103 Disk-to-Disk Routine ........................................................ 35 Specification Statements .................................................... 106 Delete Programs Routine ......... :........................................ 36 Library Functions ........................................................... ,.. 112 Define Parameters Routine ................................................ 36 Arithmetic Statement Functions ........................................ 114 Define Disk Pack Label Routine ...................................... 37 Subprogram Statements .................................................... 115 Define FORTRAN Library Subroutine Name ................ 38 FORTRAN II-D Processor .................................................... 117 Error Detection and Correction ... ....... ... ..... ...................... 38 General Compilation Process .............. '" ..................... ...... 117 FORTRAN and SPS Output ............................................ 41 FORTRAN II-D Control Records .................................... 118 Entering the Source Program ............................................ 119 Object Program Execution ................................................ 126 1620 SPS II-D .................................................................... 42 Operating Procedure .......................................................... 129 Introduction ........................................................................ 42 Adding Subroutines to the FORTRAN Library .............. 131 Symbolic Programming ...................................................... 42 FORTRAN Subprograms Written in SPS ...................... 133 Coding Sheet ...................................................................... 43 Disk Storage Location of the FORTRAN Compiler ...... 135 Statement Writing .............................................................. 45 Operands ............................................................................ 47 IBM 1620-1443 Monitor II System ................................ 135.1 Types of Addresses Used as Operands ............................ 49 Supervisor Program ........................................................ 135.1 Programming the 1620/1710 Using SPS II-D .................... 52 Disk Utility Program ...................................................... 135.1 Declarative Operations ...................................................... 52 SPS II-D .......................................................................... 135.1 1620/1710 Imperative Operations .................................... 60 FORTRAN II-D .............................................................. 135.4 Processor Control Operations .. ............... ......................... 62 Monitor II System Loader . ............................................... 136 1710 Product-Area Macro-Operations .............................. 65 Card Formats ...................................................................... 136 1620 Subroutines ................................................................. '" 66 Operating Procedures ........................................................ 136 Classification of Subroutines .. .......................................... 66 Subroutine Macro-Instructions .......................................... 67 Appendix A 138 Floating-Point Arithmetic .................................................. 69 Appendix B 154 Description of 1620 Subroutines ...................................... 72 Adding Subroutines .......................................................... 77 Index 156 iii Preface In data processing installations, a large amount of These records direct the sequence of jobs without in computer idle time may be spent between jobs to set terrupting continuous operation. A typical sequence up the computer for the next job. Programs must be of jobs could be a compilation of FORTRAN programs, readied, data must be readied, etc. The amount of assembly of SPS programs, compilation and execution time spent in these activities is greater in installations of a FORTRAN program, execution of a disk-stored pro where many different jobs are part of the daily sched gram, and punching of a disk-stored program into ule. Because computer utilization is usually based cards. upon the time spent in executing a job, utilization may In addition to substantial saving of computer time, appear to be low where multiple jobs increase setup Monitor II reduces the amount of programming time time. required by the user. This is made possible through To increase 1620 computer utilization, the user may the sharing of common subroutines by unrelated pro now adopt the 1620 Monitor Programming System. grams. For example, input and output for all sps ob The primary function of a monitor system is to pro ject programs can be performed by a common input! vide continuous operation during a sequence of jobs output subroutine. Because most programs require a which might otherwise involve the manual loading of subroutine of this nature, it has been made an integral several independent programming systems. To do this, part of the Monitor II System, available to all 1620 the Monitor coordinates computer activity by pro user programs. viding a communication region for independent