RSTS/E Guide to Writing Command Procedures

Total Page:16

File Type:pdf, Size:1020Kb

RSTS/E Guide to Writing Command Procedures E ide to Writing Command Procedures No. AA-CF03A-TC RSTS/E Guide to Writing Command Procedures Order No. AA-CF03A-TC June 1985 This manual presents concepts and techniques for developing command pro­ cedures using the RSTS/E DIGITAL Command language (DCl). OPERATING SYSTEM AND VERSION: RSTS/E V9.0 SOFTWARE VERSION: RSTS/E V9.0 digital equipment corporation, maynard, massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by DIGITAL or its affiliated companies. Copyright © 1985 by Digital Equipment Corporation. All rights reserved. The postage-paid READER'S COMMENTS form on the last page of this docu­ ment requests your critical evaluation to assist us in preparing future documenta­ tion. The following are trademarks of Digital Equipment Corporation: DIBOL ReGIS ~D~DDmD ™ FMS-11 RSTS DEC LA RSX DECmail MASSBUS RT DECmate PDP UNIBUS DECnet P/OS VAX DECtape Professional VMS DEC US Q-BUS VT DECwriter Rainbow Work Processor CONTENTS PREFACE CHAPTER 1 Introduction What are Command Procedures? . · . 1 - 1 Creating Command Procedures ..... · . 1 - 2 Formatting Command Procedures . · . 1 - 3 Executing Command Procedures . • • • 1 - 4 Executing Command Procedures at Login • 1 - 4 Executing Command Procedures at Interactive Level ..................... 1-5 Executing Command Procedures in Batch Mode ... 1-7 Executing Nested Command Procedures . .. 1-8 Executing Command Procedures with the RUN Command . 1 - 8 Chaining to Command Procedures from a Program . 1-8 Executing Command Procedures with CCLs . .. 1-9 Command Procedures and System Management ..... 1-9 CHAPTER 2 using Symbols in Command Procedures Symbols in DCL . · . 2 - 1 Symbol Names . 2-2 Symbol Values · . • .2- 3 Symbol Types . • • . • • •• .2- 4 Symbol Assignment · . .. ... 2 - 4 String Assignment . • • • . • • . .2- 5 Symbol Tables · . 2 - 6 Symbol Substitution · . 2 - 8 Command Synonyms . · . 2 - 8 Apostrophes in Symbol Substitution • • • • • • 2 - 9 Automatic Evaluation . · . 2 - 10 Undefined Symbols . 2-11 Verifying Symbol Substitution · . 2 - 11 Displaying Symbols ... 2-12 Deleting Symbols . 2-14 CHAPTER 3 Expressions and Operators Operands in Expressions . .. 3-1 Strings . .. ... .... 3-2 Integers . .. ... 3 - 3 DCL Functions . .. ........ 3-3 Symbols . .. ...... ...... 3 - 4 Value Type Conversion in Expressions.. .. 3-4 iii Converting Strings to Integers . • 3-6 Converting Integers to Strings . • 3-6 Operators in Expressions . • 3-7 Arithmetic Operations ...... · 3-9 Logical Operations . · 3-9 Arithmetic Comparisons . 3-10 String Comparisons . 3-10 String Concatenation . 3-11 CHAPTER 4 DCL Functions in Command Procedures Format of DCL Functions . · 4-1 DCL Functions . .. .. • 4 - 2 F $ACCES S . ....... ...... • 4 - 5 F$ASCII ........ .. • 4 - 6 F $ CHR . .. ...... • 4-7 F$CVTIME . .. .. · 4-9 F$EDIT ..... ... 4-10 F$ INSTR . 4-12 F$INTEGER . 4-14 F$JOB . .. ... 4-15 F$LEFT . .. ... ..... 4-16 F$LENGTH . 4-17 F$MESSAGE . 4-18 F$MID . 4-19 F$NODE .... 4-20 F$PARSE . .. .... ... 4-21 F$PRIVILEGE . .. .. 4-30 F$RIGHT . .. .. 4-34 F$SEARCH . 4-35 F$STRING ............... 4-37 F$TERMINAL .............. 4-38 F$TIME . 4-39 F$TYPE .. ............. 4-40 F$USER ..... ..... 4-41 F $VERI FY .... ... ...... 4-42 CHAPTER 5 Interacting with Command Files pa~sing Data . .. .... • 5 - 1 Passing Parameters . • • • 5 - 2 Prompting for Symbol Values . • 5 - 4 Returning Data ......... · 5-7 Displaying Data . .. .. · 5-8 Supplying Data to a Program . · 5-8 Reading Data in a Program . · 5-8 Supplying Data to a Program from a Terminal 5-10 Signaling the End of a Data List . 5-12 Exiting from a Program in a Command File . 5-12 Detaching Programs in a Command Procedure 5-13 iv Passing Symbol Values to a Program. 5-14 CHAPTER 6 File Input and Output Opening Files • 6 - 2 Reading Files • 6 - 5 Writing Files • 6-8 Closing Files 6-11 CHAPTER 7 Controlling Execution Flow in Command Procedures The IF Command. .. ......... 7-1 Command Line Labels . ... 7-3 The GO TO Command . .. .. 7-4 Nesting Command Procedures . ... 7-6 Exiting from a Command Procedure ......... 7-8 The EXIT Command. 7-8 The STOP Command. .. ... 7-10 CHAPTER 8 Controlling Error Conditions and CTRL/C Interrupts Error Condition Handling. ... 8-1 $STATUS and $SEVERITY Symbols ......... 8-1 The ON Command. .. ...... 8-4 Enabling and Disabling Error ~hecking ... 8-6 CTRL/C Interrupt Handling . • . 8-7 Setting a CTRL/C Action Routine .. .. .. 8-8 Disabling and Reenabling CT~L/C Interruptions . 8-9 CHAPTER 9 Controlling Terminal Output SET [NO]ECHO Command . 9 - 1 SET [NO]VERIFY Command • • . • • . • .9- 3 'Creating a Log File of a Terminal Session .... 9-3 OPEN/LOG_FILE . •. .... 9 - 4 CLOSE/LOG_FILE . 9 - 6 SET LOG FILE . • • . .9- 6 APPENDIX A Sample Command Procedures APPENDIX B RSTS/E and VAX/VMS Command Processor Differences v APPENDIX C RSTS/E Error Messages APPENDIX D ASCII Character Codes INDEX FIGURES 1-1 Executing a Command Procedure at Interactive Level 1-6 7-1 Command Levels in Nested Command Procedures ... 7-7 TABLES 3-1 Rules for Determining Expression Types . 3-5 3-2 Summary of Operators in Expressions • • . • • 3 - 8 4-1 Summary of DCL Functions . • • 4 - 3 4-2 Summary of F$EDIT Functions . • 4 - 11 4-3 Status Word Values . • • • 4 - 23 4-4 Flag Word Values . 4 - 25 4-5 Summary of Privileges . 4 - 30 8-1 Severity Values ... • • • • •• 8 - 2 8-2 ON Command Keywords and Actions · • . • • •• 8 - 5 C-l RSTS/E Error Messages . · . • • . C -1 D-l ASCII Character Codes . • • • • • • • • • D - 1 vi Preface Objectives This guide presents concepts and techniques for developing command procedures using the DIGITAL Command Language (DCL) on RSTS/E. Various examples, including complete command procedures, demonstrate applications of the concepts and techniques that this guide discusses. Audience All RSTS/E users can benefit from using command procedures. For example, you can place frequently used command sequences into a command procedure and thereby save keystrokes; you can also write sophisticated command sequences that pass parameters, test status values, process files, and perform similar program-like tasks. Although you do not have to be a computer expert to use this guide, you will have an easier time if you are familiar with programming concepts such as loops, logical values, and so forth. Document structure Each chapter in this guide builds on material from earlier chapters. If command procedures are new to you, study this guide chapter by chapter beginning with Chapter 1. If you already have some knowledge of command procedures, you may want to skim the Table of Contents and Index for the specific topics you need. This manual contains nine chapters and four appendixes: Chapter 1 Defines command procedures and describes how to develop them. Chapter 2 Describes how to define and manipulate symbols. Chapter 3 Describes the use of expressions and operators. Chapter 4 Shows how to use the DCL functions to obtain information about the status of a process and to manipulate character strings. Chapter 5 Describes how to control input to and output from command procedures. Chapter 6 Explains how to manipulate files using command procedures. vii Chapter 7 Describes how to control the sequence in which command procedure lines are executed. Chapter 8 Shows how to set up error handling routines based on the severity of errors encountered during command procedure execution and how to handle CTRL/C interrupts that occur during command procedure execution. Chapter 9 Describes commands for displaying command procedure output. Appendix A Contains sample command procedures that illustrate the techniques described in Chapters 1 through 9. Appendix B Lists some of the major differences between the RSTS/E and VAX/VMS command processors. Appendix C Lists the numeric values associated with RSTS/E error messages. Appendix D Lists the ASCII character codes. Related Documents This guide refers you to the following manuals for more detailed information: o RSTS/E System User's Guide o RSTS/E System Manager's Guide. viii Conventions This manual uses the following symbols and conventions: [ ] Square brackets show the optional parts of a command in format statements. For example: DIRECTORY [file-spec[, ... ]] The square brackets in this example indicate that you can include a file specification ([file-spec]), or more than one ([, ... ]), if you choose. Square brackets also indicate the choice you have in using a command. For example: /[NO]DELETE This means you can type either /DELETE or /NODELETE, depending on the form of the qualifier you select. Do not confuse the square brackets in command formats with the square brackets in project-Programmer numbers (PPNs), as in [52,20]. <CTRL/x> The control key, which you use,in combination with another key. For example, enter CTRL/U by holding down the CTRL key and pressing the keyboard key labeled "U." RSTS/E displays, or echoes, CTRL/U at your terminal, as ... U. <RET> The key labeled RETURN on your terminal. You press the RETURN key to complete lines and commands that the system will process. color In examples, black characters are data produced by the computer. Red characters indicate information that you type. ix Chapter 1 Introduction This chapter introduces command procedures and tells you how to develop them. What are Command Procedures? Command procedures are files that contain DCL commands. To execute these commands, you run the procedure. Use command procedures to execute sequences of commands you use during interactive terminal sessions or to execute commands you submit for batch processing.
Recommended publications
  • BASIC-PLUS-2 User's Guide
    BASIC-PLUS-2 User's Guide Order Number : AA-JP35B-TK May 1991 This manual provides tutorial information on BASIC-PLUS-2 language features . It also contains information on advanced program development techniques . Revision/Update Information : This manual is a revision . Operating System and Version : RSX-11M Version 4 .6 or higher RSX-11M-PLUS Version 4 .3 or higher Micro/RSX Version 4 .3 or higher RSTS/E Version 9.7 or higher Software Version : BASIC-PLUS-2 Version 2 .7 Digital Equipment Corporation Maynard, Massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation . Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document . The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by Digital Equipment Corporation or its affiliated companies . Restricted Rights : Use, duplication, or disclosure by the U .S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252 .227-7013 . © Digital Equipment Corporation 1987, 1991 . All Rights Reserved . Printed in U .S.A. The postpaid Reader's Comments forms at the end of this document request your critical evaluation to assist in preparing future documentation . The following are trademarks of Digital Equipment Corporation : BASIC-PLUS, BASIC-PLUS-2, DEC, DECnet, DECUS, Digital, DOCUMENT, Micro/RSX, PDP, PDP-11, RMS, RMS-11, RSTS, RSTS/E, RSX, RSX-11M, RSX-11M-PLUS, RX50, TK50, UNIBUS, VAX, VAXcluster, VAXinfo, VMS, and the Digital logo .
    [Show full text]
  • DECSYSTEM-10I2O CATALOG DIGITAL EQUIPMENT (OMPUTER USERS SO(IETY APRIL 1978 DECUS PROGRAM LIBRARY DECSYSTEM-10/20 Cataloci
    [Q] PROGRAM LIBRARY DECSYSTEM-10I2O CATALOG DIGITAL EQUIPMENT (OMPUTER USERS SO(IETY APRIL 1978 DECUS PROGRAM LIBRARY DECSYSTEM-10/20 CATALOCi g] DI(iITAL EQUIPMENT COMPUTER USERS SOCIETY APRIL 1978 This is a complete DECUS DECsystem-10/20 Library Catalog. It includes a complete listing of DECsystem-10 and DECSYSTEM-20 programs currently available from the DECUS Library. First Edition April 1973 Updated October 1973 Updated April 1974 Updated October 1974 Updated March 1975 Supplement June 1976 Special Edition November 1976 Revised February 1977 Revised April 1978 Copyright © 1978, Digital Equipment Corporation Maynard, Massachusetts The DECUS Program Library is a clearing house only; it does not sell, generate or test programs. All programs and information are provided "AS IS". DIGITAL EQUIP­ MENT COMPUTER USERS SOCIETY, DIGITAL EQUIPMENT CORPORATION AND THE CONTRIBUTOR DISCLAIM ALL WARRANTIES ON THE PRO­ GRAMS AND ANY MEDIA ON WHICH THE PROGRAMS ARE PROVIDED, INCLUDING WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. The descriptions, service charges, exchange rates, and availability of software available from the DECUS Library are subject to change without notice. The following are trademarks of Digital Equipment Corporation: COMPUTER LABS DECtape FOCAL PDP COMTEX DECUS INDAC PHA DDT DIBOL LAB-8 RSTS DEC DIGITAL MASSBUS RSX DECCOMM EDUSYTEM OMNIBUS TYPESET-8 DECsystem-10 FLIP CHIP OS-8 TYPESET-11 DECSYSTEM-20 UNIBUS 5/78-38 CONTENTS HOW TO USE THIS CATALOG ...................................................................
    [Show full text]
  • TECO Reference Manual Digital Equipment Corporation • Maynard
    08/8 TECO Reference Manual Order No. AA-H608A-TA ABSTRACT This document describes the Text Editing and Correcting Program for OS/8 users. SUPERSESSION/UPDATE INFORMATION: This manual supersedes the TECO chapter of the OS/8 Handbook (DEC-S&OSHBA-A-D). OPERATING SYSTEM AND VERSION: OS/8V3D To order additional copies of thisdocument, contact the Software Distribution Center, Digital Equipment Corporation, Maynard, Massachusetts 01754 digital equipment corporation • maynard. massachusetts First Printing, March 1979 The info~ation in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Bquipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may only be used or copied in accordance with the te~s of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by DIGITAL or its affiliated companies. Copyright (S) 1979 by Digital Equipment Corporation The postage-prepaid READER'S COMMENTS form on the last page of this document requests the user's critical evaluation to assist us in pre­ paring future documentation. The following are trademarks of Digital Equipment Corporation: DIGITAL DECsystem-10 MASSBUS DEC DEC tape OMNIBUS PDP DIBOL OS/8 DECUS EDUSYSTEM PHA UNIBUS FLIP CHIP RSTS COMPUTER LABS FOCAL RSX COMTEX INDAC TYPESET-8 DDT LAB-8 TYPESET-ll DECCOMM DECSYSTEM-20 TMS-ll ASSIST-ll RTS-8 ITPS-10
    [Show full text]
  • Timesharing on the PDP-11 Under RT-11
    Behavior Research Methods & Instrumentation 1977, Vol. 9 (2),173-175 Timesharing on the PDP-11 under RT-ll KARL W. SCHOLZ The Medical CoUege ofPenmylvanill., Division ofSocial Science, 11&e Department ofPsychiatry, PhikulelphiD., Penmylvania19129 A timesharing system for the Digital Equipment Corporation PDP-11 is described. In keeping with the general philosophy ofthe RT-11 operating system, the permanently resident portion of the system is kept to an absolute minimum size. The system supports from 2 to 16 users, and provides each with full editing and batch execution capabilities. A majority of the users of the Digital Equipment manager to load and execute the nonresident overlays, Corporation PDP-II in scientific and academic environ­ and a collection of routines to handle input/output ments have chosen the RT-II operating system as the and interactive text editing. system which offers the greatest range of facilities with 2. At the time the system is generated, one port the smallest resident memory requirements of any table is allocated for each potentially active port on the Digital systems. However, despite its versatility, RT-11 system. Each port table contains a collection of flags is inherently a single-user (with the exception of the and a buffer which is used as either an edit buffer or as Multiple User Basic option) and, as such, much poten­ space for the execution of nonresident overlays. tially valuable computer time is wasted. The present 3. All utility functions, such as file creation and paper describes the design and implementation of a deletion, disk directory manipulation, and job queue multiple-access version of RT-II which extends the full insertion are implemented as nonresident overlays.
    [Show full text]
  • RSTS/E Ocumentation Directory
    RSTS/E ocumentation Directory er No. AA-2642G-TC RSTS/E Documentation Directory Order No. AA-2642G-TC June 1985 This document contains general descriptions of RSTS/E software documenta­ tion. It describes the documents specific to RSTS/E as well as some of the optional software and documentation associated with the operating system. This document also contains ordering information for RSTS/E documenta­ tion. OPERATING SYSTEM AND VERSION: RSTS/E V9.0 SOFTWARE VERSION: RSTS/E V9.0 Idlgltal equipment corporation, maynard, massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software on equipment that is not supplied by DIGITAL or its affiliated companies. Copyright © 1975, 1985 by Digital Equipment Corporation. All rights reserved. The postage-paid READER'S COMMENTS form on the last page of this docu­ ment requests your critical evaluation to assist us in preparing future documenta­ tion. The following are trademarks of Digital Equipment Corporation: DIBOL ReGIS ~D~DDmD ™ FMS-11 RSTS DEC LA RSX DECmail MASS BUS RT DECmate PDP UNIBUS DECnet P/OS VAX DECtape Professional VMS DECUS Q-BUS VT DECwriter Rainbow Work Processor The type for this document was produced by DECpage, DIGITAL's high quality document processing system.
    [Show full text]
  • RSTS/E Documentation Directory
    RSTS/E Documentation Directory Order No . AA-2642F-TC March 1983 This document contains general descriptions of RSTS/E software docu- mentation . It describes the documents specific to RSTS/E as well as some of the optional software and documentation associated with the operating system. This document also contains ordering information for RSTS/E documentation. OPERATING SYSTEM AND VERSION : RSTS/E V8.0 SOFTWARE VERSION : RSTS/E V8.0 digital equipment corporation, maynard, massachusetts The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Cor- poration. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document . The software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license . No responsibility is assumed for the use or reliability of software on equip- ment that is not supplied by DIGITAL or its affiliated companies . Copyright © 1975, 1978, 1981, 1983 by Digital Equipment Corporation . All Rights Reserved. The postage-paid READER'S COMMENTS form on the last page of this document requests your critical evaluation to assist us in preparing future documentation . The following are trademarks of Digital Equipment Corporation : DECwriter RSTS d 0 9 DIBOL RSX MASSBUS UNIBUS DECmate PDP VAX DECsystem-10 P/OS VMS DECSYSTEM-20 Professional VT DECUS DEC Rainbow Work Processor Commercial Engineering Publications typeset this manual using DIGITAL's
    [Show full text]
  • RT–11 Commands Manual
    RT–11 Commands Manual Order Number AA–PDU0A–TC August 1991 This manual tells you how to use RT–11 DCL commands. If you are unfamiliar with RT–11, you should read the Introduction to RT–11 before using this manual. Revison/Update Information: This manual supersedes the RT–11 System User’s Guide, AA–5279E–TC. Operating System: RT–11 Version 5.6 Digital Equipment Corporation Maynard, Massachusetts First Printing, August 1991 The information in this document is subject to change without notice and should not be construed as a commitment by Digital Equipment Corporation. Digital Equipment Corporation assumes no responsibility for any errors that may appear in this document. Any software described in this document is furnished under a license and may be used or copied only in accordance with the terms of such license. No responsibility is assumed for the use or reliability of software or equipment that is not supplied by Digital Equipment Corporation or its affiliated companies. Restricted Rights: Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227–7013. © Digital Equipment Corporation 1991 All rights reserved. Printed in U.S.A. The Reader’s Comments form at the end of this document requests your critical evaluation to assist in preparing future documentation. The following are trademarks of Digital Equipment Corporation: CTS–300, DDCMP, DECNA, DECnet, DECUS, DECwriter, DEQNA, DEUNA, DIBOL, Ethernet, MASSBUS, MicroPDP–11, Micro/RSX, PDP, Professional, Q-bus, RSTS, RSX, RT–11, RTEM–11, UNIBUS, VMS, VT, and the DIGITAL logo.
    [Show full text]
  • Pdp-Ii/23-Plus System Manual
    PDP-II/23-PLUS SYSTEM MANUAL EK-1T238-0P-001 PDP-ll/23-PLUS SYSTEM MANUAL Prepared by Educational Services of Digital Equipment Corporation 1st Edition, January 1982 Copyright ® 1982 by Digital Equipment Corporation All Rights Reserved The material in this manual is for informational purposes and is subject to change without notice. Digital Equipment Corporation assumes no responsibility for any errors which may appear in this manual. Printed in U.s.A. The manuscript for this book was created on a DIGITAL Word Processing System and. via a translation program, was automatically typeset on DIGITAL's DECset-8000 Typesetting System. Book production was done by Educational Services Development and Publishing in Marlboro. MA. The following are trademarks of Digital Equipment Corporation: DEC EduSystem RSTS DEC net lAS RSX DECUS MASSBUS TOPS-IO DECsystem-IO MINC-II TOPS-20 DECSYSTEM-20 OMNIBUS UNIBUS DECwriter OS/8 VAX DIBOL PDP VMS mamaala PDT VT CONTENTS PREFACE CHAPTER 1 GETTING STARTED INTRODUCTION................................................................................... 1 CONTROL PANEL ................................................................................ 2 SYSTEM CONFIGURATION .................................................................. 2 RL02 Disk Drives...................................................................... 2 BREAK Key............................................................................... 4 Receive Speed ITransmit Speed .............................................. 5 Bootstrap Technique
    [Show full text]
  • Mdmdomd Software Product Description
    mDmDomD Software Product Description PRODUCT NAME: TOPS-10 for DECsystem 2020, Version 6.03\ Operating System SPD 7.6.0 DESCRIPTION: can modify them as necessary. The system operator This Software Product Description describes the controls the batch system and specifies all operating TOPS-10 monitor on the DECSYSTEM-2020. It should parameters. The operator has the power to select or be noted that the functionality of the TOPS-10 moni­ reject jobs, to suspend them, or to remove them from tor on a DECSYSTEM-2020 is not the full functionality the batch system. of the TOPS-10 monitor on DECsystem-10. This is User Command Language: due to differences between the DECsystem-10 and Through an easy-to-use command language, the user DECSYSTEM-2020 communication hardware. controls the running of his job. Specifically, he can: Under control of TOPS-10, the DECSYSTEM-2020 • Com pile, execute, and debug programs can service a range of job types and response re­ • Create and edit files; list, append, and delete files quirements, including any mix of timesharing and • Use available resources such as mag tapes, private batch. TOPS-10 allocates memory, storage, peripher­ disk packs, or other peripherals als, and processing time among system users, and has an installation-adjustable scheduler to control • Communicate with the system operator and request system operation. To service multiple users concur­ such services as the mounting and dismounting of rently, the DECSYSTEM-2020 uses multi-program­ disk packs and magnetic tapes ming and swapping. The monitor supports reentrant • Start, suspend, or terminate his job software; that is, only one copy of a reentrant lan­ • Spool output to line printer guage processor (or any reentrant program) need be • Determine status of the system and the resources memory-resident to serve multiple users simulta­ available neously.
    [Show full text]
  • Field Service Software Assistance Brochure
    FIELD SERVICE SOFTWARE ASSISTANCE BROCHURE O S - 8 Prepared by: Rick Moore INTRODUCTION This is a reference document for Field Service use in diagnosing system problems. The information presented in this chapter is extracted from various OS-8 reference manuals and literature which are listed in the appendix. It is not intended to be a course on OS-8 or a substitute for standard DEC software manuals. However, the topics presented here are some of the more commonly used features and some of the commands that should help you to better serve your customer through an enhanced knowledge of his OS-8 operating system. It is strongly recommended that you be extremely careful using your customer's software as a little knowledge is a dangerous thing. If you do work on a customer's files, be sure to use copies of his system only. Tell him what you feel the problem is and let him take any corrective action. OS-8 consists of an executive and library of system programs which reside on a mass storage device called a "system device". This could be a disk, dectape or floppy unit. The executive supervises the overall program processing and consists of the following four major components: - Keyboard monitor ( KMON ) - Command Decoder ( CD ) - Device Handlers - User Service Routine ( USR ) The Keyboard Monitor provides communications between the user and the OS-8 Executive. The root segment of the monitor resides perminently in memory and occupies 256 words. Commands from the console terminal are interperted and whenever needed, the Command Decoder, USR, KMON, and ODT are brought into memory in a series of overlays while the contents of the memory used is swapped out to the system scratch area.
    [Show full text]
  • Pdp-10 Time-Sharing Monitors: Multiprogramming Disk Monitor (10/40) Multiprogramming Nondisk Monitor (10/40) Swapping Monitor (10/50) Programmer's Reference Manual
    PDP-10 TIME-SHARING MONITORS: MULTIPROGRAMMING DISK MONITOR (10/40) MULTIPROGRAMMING NONDISK MONITOR (10/40) SWAPPING MONITOR (10/50) PROGRAMMER'S REFERENCE MANUAL For additional copies order No. DEC-T9-MTZA-D from Program Library, Digital Equipment Corporation, Maynard, Massachusetts Price $3.00 DIGITAL EQUIPMENT CORPORATION • MAYNARD, MASSACHUSETTS Original Printing April 1967 Reprinted July 1967 Revised November 1967 Reprinted March 1968 Revised May 1968 Revised October 1968 Revised August 1969 Copyright@ 1967, 1968, 1969 by Digital Equipment Corporation Instruction times, operating speeds and the like are in­ cluded in this manual for reference only; they are not to be taken as specifications, The fol lowing are registered trademarks of Digital Equipment Corporation, Maynard, Massachusetts: DEC PDP FLIP CHIP FOCAL DIGITAL COMPUTER LAB ii CONTENTS Page CHAPTER 1 INTRODUCTION 1. 1 Monitor Functions 1-1 1.2 User Facilities 1-2 1.3 Operating Technique 1-2 CHAPTER 2 MONITOR COMMANDS 2. 1 Console Control 2-1 2.2 Command Interpreter and Command Format 2-1 2.2. 1 Command Names 2-1 2.2.2 Arguments 2-1 2.2.3 Login Check (10/50 Monitor) 2-2 2.2.4 Job Number Check (10/40 Monitor) 2-4 2.2.5 Core Storage Check 2-4 2.2.6 Delayed Command Execution 2-4 2.2.7 Completion-of-Command Signal 2-4 2.2.8 Program Searching 2-4 2.3 System Access Control Commands (10/50 Monitor System Only) 2-5 2.3. 1 LOGIN Command {Swapping or Multiprogramming Disk Monitor) 2-5 2.3.2 SYSTAT Command (10/50 Monitor) 2-5 2.4 Facility Allocation Commands 2-6 2.4.
    [Show full text]
  • PDP-8 SYSTEMS MODULE Ill OS/8 ·- DEC/XS
    PDP-8 SYSTEMS MODULE Ill OS/8 ·- DEC/XS Student Guide EY-2849E-SG-0301 Student Guide List of Contents Page Section 1 OS/8 Operating Systems 1-1 OS/8 Command Formats· 1-A-l Section 2 DEC/XS Software System 2-1 Worksheets & Examples 2-A-l Job & Device Code Information 2-B-l. Status Registers 2-C-l Boot Information 2-D-l STUDENT GUIDE SECTION 1 OS/8 OPERATING SYSTEM 1-1 STUDENT GUIDE OS/8 INTRODUCTION The OS/8 Operating System is a sophisticated operating system designed for the PDP-8 family of computers. This system permits use of a wide range of peripherals and all available ·core up to 32K. OS/8 offers a versatile keyboard monitor that supervises a comprehensive library of system programs. These features make o S / 8 a s i g n i f i cant improvement in sm a 11 computer opera t i n g systems. 1-2 STUDENT GUIDE OS/8 OVERVIEW HARDWARE·CONFIGURATIONS The OS/8 system can operate with the following devices as the system device. TC01/TC08 DECtape LINCtape (PDP-12) TD8E .DECtape DF32/RF08 disk RK8E disk RK8 disk RX01 diskette The term system device refers to the device on which the. OS/8 system resides and which it utilizes for system functions. Thus, DECtape unit 0 is the system device for a DECtape-based system. A nonsystem device is any peripheral not specifically used for system functions, such as LPT:, PTR:, DTA2:, etc. A typical medium-sized system might contain a PDP-8/E with at least 8K words of core memory, TD8E DECtape and control, and .an RK8E disk pack and control.
    [Show full text]