Digital PDFs
Documents
Guest
Register
Log In
AV-H435D-TC
2000
260 pages
Original
14MB
view
download
OCR Version
10MB
view
download
Document:
RSX-11M-PLUS
Mini Reference
Version 3.0
Order Number:
AV-H435D-TC
Revision:
0
Pages:
260
Original Filename:
OCR Text
MinNi Reference soffiore ()¢S RSX-11M-PLUS Mini-Reference Order No. AV-H435D-TC RSX-11M-PLUS Version 3.0 digital equipment corporation - maynard, massachusetts First Printing, September 1977 Revised, April 1982 Revised, April 1983 Revised, July 1985 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 Cor- poration 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. Copyright © 1977, 1982, 1983, 1985 by Digital Equipment Corporation. All Rights Reserved. The following are trademarks of Digital Equipment Corporation: DATATRIEVE DEC Micro/RSTS Micro/RSX DECmate RT UNIBUS PDP VAX DECnet DECUS DECwriter DIBOL PDT . P/OS Professional Q-BUS FMS-11 Rainbow MicroPDP-11 RSX MASSBUS RSTS VAXcluster VMS vT Work Processor i mflgnau ZK2551 Contents Page PREFACE . . . . . . . . ON-LINEHELPFILES . . . . UTILITIES BAD Command Summary BRU Command Summary . . . CMP Command Summary . DMP Command Summary . e e e e e e e e e e e e \ . . . . . ... ... 1 . . . . . . . . .« . o0 3 . « « o v v v v v v 5 v vt v v v v v v v s 9 . . . . . . . . . . . . . . « . . . . . . . « « « . « v v v v v e n .. DSC Command Summary. . . . . . .+ v v v v v v e e Line Text Editor (EDI) Commands . . . . . . . . . . . . . . .. DIGITAL Standard Editor (EDT) Commands . . FLX Command Summary. . . . . . . . . . « « FMT Command Summary . . . . . . . . . « « LBR Command Summary. . . . . . . . . . . « SLP Command Summary. . . . . . . . . . . . PAT Command Summary. . . . . . . . « . « v Peripheral Interchange Program (PIP) Commands Queue Manager Commands. . . . . . . . . . . ZAP Command and Switch Summary . . . . . . COMMAND LINE INTERPRETERS Monitor Console Routine (MCR) Commands. . . DIGITAL Command Language (DCL) Commands SYSTEM MANAGEMENT TOOLS Error Logging System. . . . « v v ¢« v v « v v . .« v « v . . . ... . . . . . . . . . v v v v o o« o« o v o o v ... ... v o v v v . . . . . . ... . . .. .. . . . . . . . . . . . . . . . . . . 13 17 19 27 39 43 46 47 49 b1 59 63 67 83 . . . . . . . . .. . .. [ 123 Procedure for Halting a Job in a Print Queue . . . . . . . . . .. 129 PROGRAMMING TOOLS On-Line Debugging Tool (ODT) Commands . . Task Builder (TKB) Switches and Options. . . . . . . . . . . .. 131 . . . . . . . . .. 137 RMS-11 RMSBCK Utility Summary. RMSCNYV Utility Summary. RMSDES Utility Summary . RMSDSP Utility Summary . : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ... 147 . . . . .« . ... 149 . . . . .. .. .. .. 151 . . . . . .. 157 RMSIFL Utility Summary . . . . . . . . . . . .. RMSRST Utility Summary . . . . . . . . . . . .. . ... .. 159 . ... 161 RMS-11 Completion Codes and Fatal Error Codes . e e 163 Contents REFERENCE INFORMATION ASCII Character Set . Directive Error Codes. . . . . . . . . . 173 . 175 Executive Directive Summary. I/O Error Codes . . . . . 177 . . RADIX-50 Conversion Table - Octal/Decimal Conversion Table. Standard File Types . . . . . . . 239 . 241 . 242 PREFACE Manual Objectives This manual provides a quick reference guide to using specific parts of the RSX-11M-PLUS operating system. It describes the commands and procedures for operating the most commonly used parts of the system: the utilities, command line interpreters, and some other program development tools. Intended Audience " This manual is intended as a quick reference for RSX-11M-PLUS users who are already familiar with the system. It assumes you are already familiar with the documentation in the manual set for the software you are using. Structure of This Document This document consists of sections describing each major component of an RSX-11M-PLUS system. They are: ‘ On-Line Help Files Utilities e Bad Block Locator Utility (BAD) e Backup and Restore Utility (BRU) e File Compare Utility (CMP) e File Dump Utility (DMP) e Disk Save and Compress Utility (DSC) e Line Text Editor (EDI) e DEC Standard Editor (EDT) e File Transfer Program (FLX) e Disk Volume Formatter (FMT) o Librarian Utility (LBR) e Source Language Input Program (SLP) o Object Module Patch Utility (PAT) o Peripheral Interchange Program (PIP) s Queue Manager — Print and Queue Utility (QMG) e Task Image File Patch (ZAP) Preface Command Line Interpreters o Monitor Console Routine (MCR) e Digital Command Language (DCL) System Management Tools e Krror Logging System e Procedure for Halting a Job in a Print Queue Programming Tools e On-Line Debugging Tool (ODT) e Task Builder (TKB) RMS-11 ¢ RMSBCK Utility Summary e RMSCNYV Utility Summary e RMSDES Utility Summary o. RMSDSP Utility Summary o RMSIFL Utility Summary o RMSRST Utility Summary e RMS-11 Completion Codes and Fatal Error Codes Reference information e ASCII Character Set e Directive Error Codes e Executive Directive Summary in Alphabetical Order by Macro Call e /O Error Codes o RADIX-50 Conversion Table e QOctal/Decimal Conversion Table e Standard File Types vi Preface The Mini-Reference also includes blank pages in the back for you to make notes on other system information that you use often. The binder is designed so that the holes in line printer listings line up with the posts in the binder; therefore, you can also include your own listings in the book. vii ON-LINE HELP FILES Extensive help files for the utilities, MCR, DCL, and many other system compo- nents are available to you at your terminal. For helpin loggingin to the system, type HELP HELLO (from MCR) or HELP LOGIN (from DCL or MCR). You’ll need a user-ID and ’password to log in. RSX-11M-PLUS systems have two major command interpreters or CLIs: MCR and DCL. Once you log in, your terminal is set to either MCR or DCL. All terminals are set to MCR prior to loggingin. From an MCR terminal, type HELP LIST for information on available help. From a logged-in DCL terminal, type HELP for information on available help. The general form of the HELP commandis as follows: >HELP[/cli][/OUT[PUT]:filespec] topic [subtopic|s]] >HELP[/qualifier][/OUT[PUT]:filespec] commandname [switch] DCL users can also obtain help while entering a command by typing a question mark ( ?) in response to any DCL prompt. Once the help text has been printed on the terminal, the prompt returns and you can continue to enter the command. Normally, HELP text is displayed on your screen, but the /OUT[PUT]:filespec qualifier permits you to name a file to which the HELP text is to be written from a logged in terminal. If you do not include a CLI qualifier to the HELP command the defaultis the name of the CLI to which your terminalis set. Except for /OUT[PUTY, each of the following qualifiers has the effect of specifying a file where help can be found. The MCR form of these qualifiers is limited to the first 3 characters. The DCL form includes the entire qualifier name. >HELP/LOCI[AL] [parm[s]] or >HELP % [param(s]] Specifies that the HELP text is in the file HELP.HLP in the default directory on the default volume. HELP/LOC and HELP % are the same. >HELP/GRO[UP] [param(s]] Specifies that the HELP text is in the file HELP.HLP in the directory [current group,1] on the default volume. On-Line Help Files >HELP/CLI:cliname [params]] Specifies that the HELP text begins in the file LB:(1,2]cli__name.HLP. This qualifier is for installations with alternate CLIs for which HELP is provided. >HELP/MCR [param(s]] Specifies that the HELP text begins in the file LB:[1,2JMCR.HLP. This is the default for terminals set to MCR. >HELP/DCL [param[s]] Specifies that the HELP text begins in the file LB:{1,2IDCL.HLP. This is the default for terminals set to DCL. ‘ >HELP/FIL[E]:filespec [param|s]] Specifies any file where HELP text is located. If you do not give a complete file specification, the defaults are LB:[1,2ifilename . HLP. >HELP/xxx [param(s]] x where xxx is . HLP, Specifies that the HELP text is located in the file LB:[1,2]xx a 3-character file name. : BAD COMMAND SUMMARY Command lines for the Bad Block Locator (BAD) use the following format: BAD ddn:[/switchl.../switchn] | In this command line, dd is the abbreviation for the volume on which BAD is being run and n is the unit number of the volume. BAD switches are: ALLOCATE BAD ddn:/ALO[:volumelabel] Prompts you for blocks to be allocated to BADBLK.SYS and to be entered in the bad block descriptor file. CSR ADDRESS BAD ddn:/CSR=nnnnn Specifies the CSR address of a device that is not in a standard location (stand-alone version of BAD only). LIST ’ BAD ddn:/LI Lists bad blocks as they are located. MANUAL BAD ddn:/MAN Allows you to enter bad blocks, which are then included in the bad block descriptor file. NOWRITECHECK ’ BAD ddn:/NOWCHK Negates the effect of /WCHK (see below). OVERRIDE BAD ddn:/OVR Creates the bad block descriptor file on a last-track device. PATTERN BAD ddn:/PAT=m:n Specifies the double-word data pattern used to locate bad blocks. RETRY BAD ddn:/RETRY Recovers soft errors. UPDATE BAD ddn:/UPD Reads the bad block descriptor file and prompts for your entries. BAD Command Summary VECTOR BAD ddn:/VEC=nnn Specifies the interrupt vector address of a device that is not in a standard " location (stand-alone version of BAD only). WRITECHECK BAD ddn:/WCHK Causes a write-check operation to take place after each write operation (stand-alone version of BAD only). The switch is not valid for DT:-, DX:-, or DY:-type devices. BRU COMMAND SUMMARY Command lines for the Backup and Restore utility (BRU) use the following format: [/qualifiers] indevl:,...[filespec,...] outdevl:,...[filespec,...] In this command line, qualifier(s) are any of the command qualifiers listed below, indevices are the physical device or devices from which data is trans- ferred, filespec is the particular file or category of file to be backed up or restored, and outdevice(s) are the output devices to which data is being transferred. BRU qualifiers are as follows: /APPEND Appends new backup data to a magnetic tape, or to a disk if you are using the /IMAGE qualifier. /BACKUP__SET:name Specifies the name of the backup set to be placed on magnetib tape or disk. /BAD: MANUAL AUTOMATIC OVERRIDE Enters the locations of bad blocks on volumes. The default is /BAD:AUTOMATIC. /BUFFERS:number Specifies the default number of directory File Control Blocks (FCBs) kept by the ACP for the volume. /COMPARE Compares the data on the output volume to the data on the input volume and reports any differences. /CREATED: BEFORE:dd-mmm-yy BEFORE:hh:mm:ss BEFORE(dd-mmm-yy hh:mm:ss) AFTER:dd-mmm-yy AFTER:hh:mm:ss , AFTER:(dd-mmm-yy hh:mm:ss) Directs BRU to process files created before or after a specified date and/or time. ' BRU Coh\mand Summary /DENSITY:number Specifies the data density at which BRU writes to tape. /DIRECTORY Displays information (such as backup set names, file names, or volume number of a tape or disk) for a specified tape or disk volume. /DISPLAY Displays at your terminal the UFD and file name of each file being backed up. /ERRORS:number » Specifies the number of nonfatal I/O errors BRU tolerates on magnetic tape reads during a restore operation before automatically terminating execution. The default is 25(decimal) errors. [EXCLUDE all files specified Excludes selectively from a backup or restore operation on the command line. JEXTEND:number Specifies the number of blocks by which a file is extended when that file has exhausted its allocated space. [HEADERS:number Specifies the number of file headers to allocate initially to the index file. [IMAGE:SAVE RESTORE Specifies that you want to do a multiple disk-to-disk backup or restore operation. Use the SAVE option for backup operations. Use the RESTORE option for restore operations. /INITIALIZE Directs BRU to initialize the output disk before proceeding with the operation. /INVOLUME:name Specifies the volume label of the input disk. BRU Command Summary /LENGTH:number Specifies the length of the output magnetic tape in decimal feet. /MAXIMUM:number Specifies the maximum number of files that can be placed on a volume as determined by the number of file headers in the volume’s index file. /MOUNTED | , Allows you to back up files from a disk that is mounted (with the MCR or DCL MOUNT commands) as a Files-11 volume. /NEW_VERSION Directs BRU to resolve conflicts resulting from files with identical file specifications by creating a new version of the file. /NOINITIALIZE Specifies that you do not want to initialize the output disk because it is already in Files-11 format. /NOPRESERVE Specifies that you do not want to preserve file identifiers., /NOSUPERSEDE Specifies that where files on the input and output volumes have identical filespecs, the input files will not be transferred and the output files will not be superseded. The default is /NOSUPERSEDE. JOUTVOLUME:name Specifies the volume label of the output disk. The label can be up to 12(decimal) characters long. /POSITION: ‘ BEGINNING MiDDLE END BLOCK:number Specifies the location of the index file on the output disk volume. BRU Command Summary SYSTEM:value /PROTECTION: OWNER:value GROUP:value WORLD:value Specifies the default protection status for all files created on the output volume being initialized. /[REVISED: BEFORE:dd-mmm-yy BEFORE:hh:mm:ss BEFORE:(dd-mmm-yy hh:mm:ss) AFTER:dd-mmm-yy AFTER:hh:mm:ss AFTER:(dd-mmm-yy hh:mm:ss) Directs BRU to process files revised before or after a specified date and/or time. /REWIND Rewinds the first tape of a magnetic tape set before performing the operation. /SUPERSEDE Resolves file specification conflicts by deleting the old file on the output volume and replacing it with the file from the input volume. (The default is /NOSUPERSEDE.) [TAPE_LABEL:label Specifies a 6-character ANSI volume identifier for identifying the magnetic tape volume. - /UFD Directs BRU to create UFDs (if they do not already exist) on a mounted output volume, then copy into them the files from the same UFDs on the input volume. /VERIFY Copies data from the input volume to the output volume, compares the volumes, and reports any differences. /WINDOWS:number Specifies for the output disk the default number of mapping pointers allocated for file windows. The default number is the same as that for the input disk. CMP COMMAND SUMMARY Command lines for the File Compare Utility (CMP) use the following format: CMP [outfilel/sw...=linfilel,infile2 In this command line, outfile is the file specification for the output file that contains the comparison, sw is one or more of the CMP switches described " below, and infiles are the two files being compared. | If you do not specify an output file, CMP output defaults to TT: and is displayed . on your terminal. If you specify the equals (=) sign, but no output file, CMP ~displays only the total number of differences it finds in the input files. CMP switches, which always modify the output file specification or the default output file specification, are as follows: BLANK LINES [outfile]/[-]BL=infile1,infile2 Specifies that blank lines in both files be included in compare processing. If specified in the form /-BL, blank lines are not inciuded in compare processing. /~BL is the default switch. CHANGE BARS [outfile]/[-]CB=infile1,infile2 Specifies that CMP list infile2 with change bars, in the form of exclamation marks (!), to denote each line that does not have a corresponding line in infilel. /~-CB is the default switch. You can change the change bar character from the exclamation mark to any character you wish by means of the /VB switch, described below. When a section of lines in infilel has been deleted in infile2 (the output listing file), the first line after the deleted lines is marked. COMMENTS [outfile]/[-]CO=infile1,infile2 Specifies that CMP include comments (that is, text preceded by a semico- " lon) in compare processing. /CO is the default switch. DIFFERENCES [outfile]/[-]Di=infile1,infile2 Specifies that CMP list the differences between the two files (rather than marking the lines in infile2). /DI is the default switch. /CB and /DI are mutually exclusive switches. If both are specified, /CB overrides /DI. CMP Command Summary [outfile]/[-]FF=infile1,infile2 FORM-FEED Specifies that CMP include records consisting of a single form-feed charac- ter in compare processing. /~FF is the default switch. LINES [outfile] / LI:n=infile1,infile2 Specifies that a number (n) of lines must be identical before CMP recognizes a match. If you do not specify this switch, CMP searches for three identical lines to match (/LI:3). When it encounters a match, CMP prints all the preceding nonmatching lines, along with the first line of the matched sequence of lines, to help you ' find the location in the code where the match occurred. LINE NUMBER [outfile] / LN=infile1,infile2 Specifies that lines in the output file be preceded by their line number. Line numbers are incremented by one for each record read, including blank lines. /LN is the default switch. If vou specify /SL (below), /LN is unneces' sary. MERGE BLANKS [outfile]/[-]MB=infile1,infile2 Specifies that CMP include all blank and tab characters in a line in compare processing. If you specify /-MB, CMP interprets any sequence of blank and/or tab characters as a single blank character in compare process- ing. However, all spaces and tabs are printed in the output listing. /MB is the default switch. SLP FILE outfile/SL[:au=infile1,infile2 Directs CMP to generate an output file suitable for use as SLP command input. When you specify /SL, CMP generates the SLP command input necessary to make infilel identical to infile2. If a 1- to 8-character alphanumeric symbol is included (:au), an audit trail is specified for SLP input. SPOOL outfile /[-]SP[:n]=infile1,infile2 Specifies that the output file be spooled on the line printer. You can op- tionally specify the number (in octal or decimal) of files to be spooled. /-SP is the default switch. This switch applies only if you have the Queue Manager installed. 10 CMP Command Summary TRAILING BLANKS [outfile]/[-]TB=infile1,infile2 Specifies that CMP include all trailing blanks on a line in compare pro- cessing. If you specify /-TB, CMP ignores all blanks followin g the last nonblank character on a line. When you specify /~CO and /-TB together , blanks that f)recede‘ a semicolon (;) are considered trailing blanks and are ignored. /TB is the default switch. VERTICAL BAR outfile/VB:nnn=infile1,infile2 Specifies an octal character code for use as a change bar. You use this switch with the /CB switch. The value nnn specifies the octal charact er code. For example, you can specify /VB:174 for a vertical bar (if your printer is capable of printing the vertical exclamation mark) is the default switch. bar character). /VB:041 (for the 11 DMP COMMAND SUMMARY Command lines for the File Dump Utility (DMP) use the fdllowing format: [outfile][/switch(es)]=inspecl/switch(es)] In this command line outfile specifies the output file dump, switch(es) is one or more of the DMP switches described below, and inspec specifies the input device and file or input device only. The command line elements take the following defaults: ASCII outfile=inflle/AS Specifies that data be dumped one byte at a time in ASCII mode. BASE ADDRESS outfile/BA:n:m=Inflle Specifies a 2-word base block address. BLOCK outfile=inflle/BL:n:m Specifies the first and last logical blocks to be dumped. BYTE outfile=infile/BY ‘ Specifies that data be dumped in octal byte format. DECIMAL outflle/DC=infile Specifies that data be dumped in decimal word format. DENSITY outfile=infile/DENS:n Specifies density of an input magnetic tape when DMP is in device mode only. Values for n can be 800, 1600, or 6250. FILE ID outflle=infile/FI:fil b q er Specifies the input file with its file-ID instead of its name (File Mode only). HEADER outflle=inflle/HD:F outflie=infile/HD:U Includes the file header in the data dumped. “F”, the default, specifies a formatted Files-11 dump for the header. “U” specifies an unformatted octal dump. 13 DMP Command Summary HEADER FILES-11 outfile=infile/HF Specifies the format for data blocks that have the Files-11 header structure. Other blocks are dumped &s unformatted octal. HEXADECIMAL ‘ outfile/HX=infile Specifies that data be dumped in hexadecimal byte format. " IDENTIFICATION /iD Causes the current version of DMP to be displayed or printed. LOGICAL BLOCK outfile=infile/LB Requests the starting (logical) block number and a contiguous or noncon tiguous indication for the file to be displayed. LOWERCASE outfile=infile/L.C Specifies that the data should be dumped in lowercase characters. This switch is valid only if the output device supports lowercase characters. LONG WORD outfile=infile/LW Specifies that data be dumped in hexadecimal double-word format. MEMORY outfile/MD:[n]=infile Controls line number sequencing during a memory image dump. OCTAL outfile=infile/OCT Specifies that the data should be dumped in octal format. If no DMP format switches are included, the default is octal format. RECORD outfile=infile/RC Dumps one record at a time in the specified format. REWIND outfile/RW=infile[/RW] Issues a rewind command to the tape driver before referencing a specifier tape. You can use the /RW switch at any time to reposition a tape a. beginning-of-tape (BOT). 14 o DMP Command Summary RADIX-50 outfile=infile/R5 Dumps in Radix-50 word format. SPACE BLOCKS outfile=infile/SB:[-]n Specifies the number of blocks DMP spaces forward on a tape. SPACE FILES (n) or backwards (-n) outfile=Infile/SF:[-]n Specifies the number of end-of-file (EOF) marks DMP or backward (-n) on a tape. SPOOL spaces forward (n) outfile/SP=infile Spools the dump file (the output file) to the line printer. WORD outfile=infile/WD Specifies that data be dumped in hexadecimal word format. 15 DSC COMMAND SUMMARY Command lines for the Disk Save and Compress utility (DSC) use the following format: DSC outdevis]:[label][/switch[es]]=indev(s]:[label][/switch] In this command line, outdevis] is the physical volume or volumes to which data is copied, label identifies the volume id of the output or input device, switch[es] are the command switches described below, and indevls] is the physical volume or volumes from which data is copied. DSC switches are as follows: APPEND outdev:/AP=indev Appends a DSC file to the first volume of a magnetic tape set that already contains a DSC file. BAD MAN NOAUTO outdev:/BAD=MAN:NOAUTO=indev OVR MAN:OVR Allows manual entry of bad block locations; can supplement, override, or ignore the disk’s own bad block file. BLOCKS outdev:/BL=n=indev Sets the number of 256-word blocks DSC can include in each of its two buffers. COMPARE outdev:/CMP=indev Compares input and output volumes for differences. CSR outdev:/CSR=nnnn=indev Specifies control status addresses for a specific Status Control Block (SCB). /CSR is valid only with the stand-alone version of DSC. DENSITY outdev:/DENS=nnnn=indev Overrides the DSC default storage density for magnetic tapes of 800 bpi. The first form of the switch creates magnetic tapes at 1600 bpi density. The second form (the split density switch) creates magnetic tapes with volume header information at 800 bpi and the rest of the tape at 1600 bpi. 17 DSC Command Summary REWIND outdev:/RW=indev Rewinds all volumes in a magnetic tape set before execution of the current command line. TMO2 outdev/T M02=nn=indev Specifies the physical unit number of the formatter on the RH11/RH70 controller (stand-alone version of DSC only). UNIT outdev/UNIT=nn=indev Specifies the physical unit that will be referenced by the indicated Unit Control Block (UCB). The /UNIT switch is valid only with-the stand-alone version of DSC. VERIFY outdev/VE=indev Copies data from the input volume and compares it with the output volume following the data transfer. VECTOR outdev/VEC=nnn=indev Specifies the vector address for a specific Status Cofitrol Block (SCB). The /VEC switch is valid only with the stand-alone version of DSC. 18 LINE TEXT EDITOR (EDI) COMMANDS In this section, the following conventions are used: ‘The asterisk (*) can be used in place of any number in an EDI command. It is read as 32,767. An ellipsis (...) can be used in many search strings to identify characters between the first and last characters of the string. EDI allows the use of abbreviations in commands. A string ADD Adds the text in the string to the end of the current line. ADD AND PRINT AP string Adds the text in the string to the end of the current line and displays the entire line on the terminal. ALTMODE or ESC ESCAPE In Line Mode, prints previous line and makes it the new current line. In Block Mode, exits from input mode. BEGIN B Sets the current line to the line preceding the top line in the file or block buffer. In Line Mode, creates a copy of the file. BLOCK ON/OFF BL Changes from the EDI Block Mode to Line Mode or from Line Mode to Block Mode to access text. BOTTOM BO Moves the line pointer to the bottom of the current block (in Block Mode) . or to the bottom of the file (in Line Mode). CHANGE [n]C/string1/string2{/] Replaces string 1 with string 2 in the current line n times. 19 Line Text Editor (EDI) Commands CL [fllespec] CLOSE Transfers the remaining lines in the block buffer and input file to the output file, and closes all files. Renames output files to filespec. CLOSE AND DELETE CDL [filespac] Transfers the remaining lines in the block buffer and the input file to the output file, closes the output file, and deletes the input file. CLOSE SECONDARY CLOSES Closes the secondary input file. CC [letter] CONCATENATION CHARACTER Changes the concatenation character used to separate EDI commands on one line to the character specified. (The default concatenation character is &.) CTRL/Z Closes all open files and terminates the editing session. D{[n] DELETE or DI[-n] Deletes the current line and the next n-1 lines if n is a positive number. Deletes n lines preceding the current line, but not the current line, if nis a negative number. Negative numbers can only be used in Block Mode. DELETE AND PRINT DP [n] or DP [-n] Deletes lines specified and prints the new current line. END E Sets the last line in a file or block buffer as the current line. -ERASE ERASE [n] Erases the current line in Line Mode. Erases the current block buffer and the next n-1 blocks in Block Mode. ESCAPE €0 or ALTMODE In Line Mode prints the previous line and makes it the new current line. In Block Mode, exits from Input Mode. 20 Line Text Editor (EDI) Commands EXIT EX [fllespec] Transfers the remaining lines in the block buffer and input file to the output file. Closes files, renames the butput file if specified, and terminates the editing session. EXIT AND DELETE ‘ ED [filespec] Transfers the remaining lines in the block buffer and input file to the output file, closes files, and renames the output file if specified. Deletes the input file and terminates the editing session. FILE FIL filespec Transfers lines from the input file to both the output file and the specified file until a form feed or end-of-file is encountered. The original file remains intact. This command is only used in Line Mode. FIND [n]F string Finds the line in the current block starting with string, or the nth line, starting with string. A string must begin in the first column of the line to be a match. FORM FEED FF Inserts a form feed into the block buffer. INSERT IN [string] Enters the specified string immediately following the current line. If no string is specified, EDI enters Input Mode. KILL KILL Closes the input and output files and deletes the output file. LINE CHANGE [n]LC/string1/string2[/] Changes all occurrences of string 1 in the current line (and n-1 lines) to string 2. LIST ON TERMINAL Li Displays on the terminal all lines remaining in the block buffer or input file, starting with the current line. LIST ON PSEUDO DEVICE LP Displays on the Console Listing Device, CL:, lines remaining in the block buffer or input file, starting with the current line. 21 Line Text Editor (EDI) Commands LOCATE [n]L string Locates the nth or next occurrence of the specified string. In Block Mode, the search stops at the end of the current block. MACRO MACRO x definition Defines the macro number x for the EDI commands in the definition. The value x can be 1, 2, or 3. MC[;n] MACRO CALL Retrieves a macro definition stored in the file MCALL;n. [n]Mx [a] MACRO EXECUTE Executes macro x n times, while passing numeric argument a to it. The value x can be 1, 2, or 3. - MACRO IMMEDIATE [n] <definition> Defines and executes a macro n times. Stores it as macro number 1. NEXT N[n] N [-n] or Establishes a new current line n lines away from the current line. NP[n] NEXT AND PRINT or NP[-n] Establishes a new current line and displays it on the terminal. OP filespec OPEN SECONDARY Opens the specified secondary input file. OU ON OUTPUT ON/OFF or OU OFF Continues or discontinues a file transfer to output file in Line Mode. OVERLAY O [n] Deletes n lines, enters Input Mode, and inserts new lines, as typed, in place of the deleted lines. PAGE PAGn or -n Enters Block Mode. Reads page n into current block buffer. If n is less than the current page, EDI goes to the top of the file first. Pages are set by form ‘feed characters. 22 Line Text Editor (EDI) Commands PAGE FIND [n]PF string Searches successive block buffers for the nth occurrence of the string. The string must begin in the first column of the line. PAGE LOCATE [n]PL string Searches successive blocks for the nth occurrence of the string. The string can begin anywhere on the line. PASTE PA/string1/string2[/] Searches for all remaining lines in the input file or block buffer that contain string 1 and replaces them with string 2. PRINT P [n] Displays the current line and the next n-1 lines on the terminal. The last line printed becomes the current line. ‘ READ REA n Reads the next n blocks of text into the block buffer. If the buffer already contains text, the new text is appended to it. RENEW REN [n] Writes the current block to an output file and reads a new block n from an input file (Block Mode only). RETURN ®ED Displays the next line on the terminal and makes it the current line. Exits from Input Mode if it is entered as the first character of a line. RETYPE R string Replaces the current line with the specified string, or deletes the current line if no string is specified. SAVE SA [n][filespec] Saves the current line and the next n-1 lines in the specified file. If no file is specified, saves the lines in SAVE. TMP. SEARCH AND CHANGE SC/string1/string2[/] Locates string 1 and replaces it with string 2. 23 Line Text Editor (EDI) Commands SP SELECT PRIMARY Reestablishes the primary file as the input file. SELECT SECONDARY SS Selects the secondary file that will be an input file. SIZE SIZE n Specifies the maximum number of lines that can be read into-a block buffer. TAON or TA OFF TAB Turns automatic tabbing on or off. TOP T[OP] . Sets the current line to the line preceding the top line in the file or block buffer. In Line Mode, creates a copy of the file. TOF TOP OF FILE Returns to the top of the input file in Block Mode and saves all of the previously edited pages. Reads in a new block after writing the output file. This command creates a new version of the file each time it is executed in Line Mode. TY [n] TYPE Displays the next.n lines on the terminal. This command is identical to the PRINT command in Line Mode. However, in Block Mode, the line pointer remains at the current line unless EDI reached the end of a block. UNSAVE UNS [filespec] Inserts all lines from the specified file following the current line. If no file name is used, EDI uses SAVE.TMP. UPPER CASE UC ON or UC OFF Enables or disables conversion of lowercase letters to uppercase letters when they are entered at a terminal. 24 Line Text Editor (EDI) Commands VERIFY VON or V OFF Selects whether the operation of the LOCATE and CHANGE commands will be verified (printed on the terminal) after the line is located or changed. WRITE W Writes the contents of the block buffer to the output file and erases the block buffer. 25 DIGITAL STANDARD EDITOR (EDT) COMMANDS EDT lets you edit text in line mode and character mode, using the keypad or nokeypad functions. LINE MODE COMMANDS You can tell EDT is in line mode when you receive an asterisk prompt ( *). You can then edit the text on a line-by-line basis. Enter a to exit from EDT. The following commands work from EDT line mode: CHANGE C [range] Starts either keypad or nokeypad character editing, depending upon the terminal type. EDT defaults to keypad character editing for VT52 and VT100 terminals and nokeypad editing for all other terminals. EDT puts the cursor ahead of the location you specify as range. Entering a CLEAR returns you to line mode. CL textbuffer Deletes the contents of a text buffer, but does not delete the buffer itself. COPY CO [range-1] TO [range-2][/qualifier(s)] Copies text from range-1 to the location in front of the line you specify in range-2. EDT can copy from one buffer to another or from one place to another within a text buffer. Qualifiers: QUERY DUPLICATE DEFINE KEY Verifies each line to be inserted. Inserts the range of text more than once. DEF K{{GOLD]{number: CONTROL letter} ! GOLD character} AS “string”’ Redefines keypad keys in terms of nokeypad commands. The following table describes the command format: Braces {} You must choose one of the options. OR | Separates choices. Brackets () You can use GOLD to specify the alternate function of a keypad or control key. number Number of the keypad key. 27 Digital Standard Editor (EDT) Commands Control letter Enter CONTROL and a character from A to Z. GOLD The GOLD keypad key. GOLD character Enter GOLD and any keypad character except 0-9,!, %, ’, and ". One or more nokeypad commands used to rede- “string fine the key. DEF M macroname DEFINE MACRO Assigns a name to a sequence of editor commands stored in the file macro: name. D [range][/qualifier] DELETE Deletes the lines specified and displays a message stating the number of lines deleted. When you do not specify a range, deletes the current line. Qualifier: QUERY Verifies each line to be deleted EX [filespec][/qualifier(s)] EXIT Ends an editing session and moves the main text buffer to the output file specified. You can define the name of the output filein the command line that invokes EDT or in the EXIT command. Qualifiers: SEQ[UENCE][:initial[:increment]] . Assigns integer line numbers before the text transfer and places them in a fixed field in the file. You define the initial number and the increment between numbers. SA[VE] Saves the journal file created during the editing session. F range FIND Locates the line or lines specified by range. HELP H [topic[subtopic]] Displays information on requested topics or subtopics. 28 Digital Standard Editor (EDT) Commands INCLUDE INC fllespec [range] Copies disk files into text buffers. Filespec is the name of the file you want to copy. EDT copies the file to the current text buffer in front of the first line of the range. INSERT ' I [range][;line to be inserted] Inserts text into a buffer. When you specify a range, EDT inserts the text before the first line of the range. If you do not specify a range, EDT inserts the text before the current line. MOVE M [range-1] TO [range+n2][/qualifier] Moves the lines in range-1 to the location preceding range-2. Deletes the text from range-1. : Qualifier: QUERY: EDT prompts you to verify each line of range-1 to be moved. null (Iimplied TYPE) [range]GED Displays the next line of text. You can specify a range of text to be displayed. However, the REST, WHOLE, BEGIN, END, LAST, and ALL range specifications must be preceded by a percent sign (%). PRINT P filespec[range] Copies text from a text buffer into a file. Range selects a portion of the buffer to be copied. Without a range, the default is the current text buffer. QUIT QUIT[/qualifier] | Ends the current editing session without saving the main text buffer. Qualifier: SAVE Saves the contents of the journal file under the name specified in the command line to invoke EDT. REPLACE R [range][;line to be inserted] Deletes lines specified in range and inserts new text. EDT inserts the new text at the first line in the range specification. Without a range, EDT deletes the current line and inserts the new text in its place. 29 Digital Standard Editor (EDT) Commands RESEQUENCE RES [range][/qualifier] Assigns new line numbers to the contents of a buffer or the range of lines specified. Without a range, EDT resequences all lines in the current text buffer. Qualifier: SEQ[UENCE][:initial[:increment]] Sets the first line resequenced to the initial value and increments succeeding numbers by the increment specified. SET SET parameter Control the operating characteristics of EDT. Parameters: CASE {UPPER:LOWER | NONE} EDT flags upper- or lowercase characters with a preceding apostrophe. The default is NONE, which does not flag any characters. , CURSOR top:bottom Sets the number of lines over which the cursor moves on the display. Top is the number of lines for the upper limit and bottom is the number of lines for the lower limit : PARAGRAPH | PAGE} “string” ENTITY {(WORD ! SENTENCE Sets user-definable entities for character editing. ' KEYPAD Allows the keypad to control the character-editing operation. LINES number . Sets the number of lines that EDT displays on the terminal during character editing. MODE (LINE: CHANGE]} Used in a start-up command file to control the editing mode entered at the end of the initialization. [NOINUMBERS Determines whether EDT displays line numbers in line editing. Default: NUMBERS [NOJQUIET Controls the ringing of the terminal bell when an error occurs in change mode editing. Default: NOQUIET 30 Digital Standard Editor (EDT) Commands SCREEN width Controls the maximum width of the line EDT displays. Default: 80 characters SEARCH {EXACT | GENERAL]} EDT searches for exact comparisons of case or ignores case in searches. Default: GENERAL {BOUNDED | UNBOUNDED)] EDT stops searching at the next page entity marker. Default: UNBOUNDED {(BEGIN | END} EDT leaves the cursor at the end of the string when it is found. If the string is not found, the cursor does not move. Default: BEGIN {TAB n! NOTAB] Sets the number of spaces for the first tab stop in keypad editing. Remaining tabs are unchanged. Default: 8 TERMINAL {HCPY i VT52:VT100} Determines the type of terminal in use. EDT gets the terminal type from the operating system and this command overrides that setting. [NO]JTRUNCATE Ends display of a line at the value of SET SCREEN. Default: TRUNCATE : [NOJVERIFY Enables or disables display of commands from command files and macro commands. Default: NOVERIFY [NOJWRAP n rrrrr - Sets or eliminates a line length limit of n character positions. Default: NOWRAP SHOW SHOW parameter ‘Displays the operating characteristics of EDT. Parameters: BUFFER Lists the buffers in use during the current editing session and the S number of lines of text in each. CASE Shows the current case setting. | CURSOR ‘ Shows the current cursor range. 31 Digital Standard Editor (EDT) Commands ENTITY (WORD : SENTENCE! PARAGRAPH ! PAGE]} Shows the current setting for the user-definable entity specified. KEY {{GOLD]{number!CONTROL letter} ! GOLD character} Shows the definition of the specified key in change mode. SCREEN Shows the current setting for screen width. SUBSTITUTE S/string-1/string-2/[range][/qualifier(s)] Replaces occurrences of string-1 with string-2 within the range specified. Without a range, EDT replaces the next occurrence of string-1 with string-2. EDT returns to the first line in the specified range at the end of the substitution. Qualifiers: B[RIEF][:n] EDT displays the first n characters of the line containing Q[UERY] EDT prompts you to verify each line of range-1 to be moved. NOT[TYPE] EDT does not display the lines on which it makes substitu- string-1. The default for n is 10. tions. SUBSTITUTE NEXT [S] N[/string-1/string-2] EDT searches for the next occurrence of string-1 from the current location forward. The line on which the substitution is made becomes the current line. If you do not specify string-1 or string-2, EDT uses the strings specified in the last SUBSTITUTE command. TYPE T [range][/qualifier(s)] Displays the specified range of lines, or all the lines in the current text buffer. Qualifiers: 32 B[RIEF][:n] EDT displays the first n characters of the selected lines. The S[TAY] EDT does not change the cursor position. default for n is 10. Digital Standard Editor (EDT) Commands WRITE WR filespec [range][/qualifier] Copies the defined range of text from a text buffer to the specified file. Does not change the contents of the text buffer. Without a range, EDT copies the contents of the current text buffer to the file. : Qualifiers: SEQ[UENCE][:initial{:increment]] EDT writes the line numbers as a part of the output file. CHARACTER MODE KEYPAD EDITING COMMANDS The keypad editing functions are those used when you enter Character Mode with the EDT CHANGE command and set the terminal to use the keypad keys with the SET KEYPAD command. You can also use all line mode commands with the Gold Command keys. DELETE Erases the character to the left of the cursor GOLD integer Repeats any keypad function except SPECINS, DELETE, and CTRL/U LINE FEED Erases the word to the left of the cursor CTRL/A Computes tab level CTRL/C Aborts the current command and returns EDT to keypad editing CTRL/D Decreases tab level CTRL/E Increases tab level CTRL/K Defines key CTRL/T Adjusts tabs CTRL/U Deletes to start of line CTRL/W Refreshes screen CTRL/Z Returns to line-editing prompt NOKEYPAD CHANGE MODE COMMANDS Nokeypad commands have only one format, described below. They can be used in a series without any delimiter between commands. However, no abbreviations are allowed. 33 Digital Standard Editor (EDT) Commands ADVANCE [-]IADV Sets all commands forward (to the right and down from the current cursor position). [-JADV sets commands backward (to the left and up from the current cursor position). APPEND [+ i -l[count]APPEND[ + | ~][entity-count] [+ | ~]entity]=buffer] Moves the specified entities to another text buffer and deletes the text from the current buffer. Buffer names the receiving text buffer. If no bufferis specified, EDT uses the PASTE buffer. ASCII [count]ASC EDT displays an ASCII character when you specify the character’s decimal number representation. BACK BACK Sets all commands backward (to the left or up from the cursor). Override with a plus sign preceding another command. CHANGE CASE CHGCJ entity] Changes the case of the characters within an entity. CuTt [+ 1 =][rep]CUT[+ | ~][entity-count][+ | —-]entity[=buffer] Deletes the moved text from the current text buffer and moves it to the specified text buffer, or to the paste buffer if no other buffer is specified. Deletes previous contents of the receiving text buffer. DELETE [+ i-][rep]D[+ | -][entity-count][+ | -]entity[=buffer] Deletes a specified number of entities. DEFINE KEY DEFK Defines the keystrokes used in kevpad editing in terms of nokeypad commands. EXIT EX Exits EDT from nokeypad editing back to line editing. EXTENDED EXT Enters line mode commands when EDT is in character mode. Returns to change mode after executing the command. 34 Digital Standard Editor (EDT) Commands FILL [+ {=][rep]FILL[+ | -][entity-count][+ | ~Jentity[=buffer] Places the maximum amount of text on each line within the limit determined by the SET WRAP command. Default: 80 characters. INSERT | Prepares the current text buffer for insertion of text in front of the cursor position. ) [+ ! -][rep][+ ! -][entity-count][+ | ~[[entity][=buffer] NULL Moves the cursor the specified number of entities. PASTE PASTE ' [+ ! -l[rep]PASTE[+ ! -][entity-count][+ | ~]entity[=bufter] Copies the contents of the specified text buffer in front of the current cursor location. QuIT QuIT Ends the editing session without saving any edits and returns to the monitor (CLI) prompt. R REPLACE [+ ! =][rep]R[+ ! -][entity-count][+ | -]entity[=buffer] Deletes the text specified and enters insert mode so that you can replace the deleted text. To exit from insert mode here, press L2. REFRESH REF EDT refreshes the entire screen. SUBSTITUTE [+ !-l[count]S/s1/s2 Replaces one string of characters with another. Count defines the number of substitutions and minus (-) indicates a backward search. Use any nonalphanumeric character as a delimiter, in place of the /. SELECT SEL Lets you select a range of text by entering SEL at one end and moving the cursor to the other end. The select range is the text between the cursor and the position marked by SEL. SHIFT LEFT [count]SHL Shifts the screen image to the left. The amount shifted is equal to the count you specify times 8 (one tab stop). The default count is 1. 35 Digital Standard Editor (EDT) Commands SHIFT RIGHT [count]SHR Shifts the screen image to the right. The amount shifted is equal to the count you specify times 8 (one tab stop). SUBSTITUTE NXT [+ !-J[count]SN Uses the sl and s2 defined in the last substitute command to replace the next occurrence of s1 with s2. Count defines the number of substltutlons and a minus (- ) sign indicates a backward search. TAB TAB When no tab size is specified with SET TAB or when the cursor is not at the beginning of a line, TAB inserts a tab character at the cursor position.: When a tab size is specified with SET TAB, and the cursor is at the ) beginning of a line, TAB moves the cursor to the column position specified in the SET TAB command. TAB ADJUST [+ i =][rep]TADJ[+ | -][entity-count] [+ | -]entity[=buffer] Adjusts the tab level for the selected range of lines. TAB COMPUTE TC Sets the indentation level count to the value obtained by dividing the current cursor column position by the SET TAB number. TAB DECREMENT [count]TD Decreases the indentation level count. TAB INCREMENT [count]TI Increases the indentation level count. TOP TOP Places the current line at the top of the screen. UNDELETE CHARACTER [count]UNDC Inserts the last character deleted by a DELETE CHARACTER command into the current text buffer (in front of the cursor). UNDELETE WORD [count]UNDW Inserts the last word deleted by a DELETE WORD command into the current text buffer (in front of the cursor). 36 Digital Standard Editor (EDT) Commands = UNDELETE LINE [count]JUNDL Inserts the last line deleted by a DELETE LINE command into the current text buffer (in front of the cursor). - CIRCUMFLEX [count]”[A...Z] Inserts a control character in the text buffer. LINE RANGES: Most EDT commands allow you to specify a range of text on which the action of the command is performed. These ranges are: Single Line Ranges: .(period) Current location of cursor. number{.decimal] The line number specified. - "string " | -"string" The most recent preceding line containing the string specified. Without a string specification, EDT uses the last search string. [range]+[number] The line that is the specified number of lines after [range]-[number] The line that is the specified number of lines before the specified range. the specified range. BEGIN The first line in the text buffer. END An empty line following the last line in the text LAST The last line in the most recent text buffer before the ORIGINAL number , The line numbers assigned to the text in the main text buffer from the primary input file. You can locate text by its original line number even after it has buffer. current text buffer. been assigned new numbers. Contiguous Line Ranges: [range-1]:[range-2] The set of lines from range-1 through range-2 inclusive. Range-1 and Range-2 are any single line range [range]#number ! [range]FOR number The specified number of lines beginning with range, where range is any single line range specification. specification. 37 Digital Standard Editor (EDT) Commands BEFORE All lines preceding the current line in the current buffer. : REST All lines after and including the current line. WHOLE The current text buffer. Noncontiguous Ranges: [range,range,...]! All lines specified by each range, which must be [range AND range...] single line range. [range]All “string’ All lines in the range containing the specified string. Text Buffer Ranges: [=buffer][range] ! [BUFFER buftfer][range] 38 When you use a buffer without a range specification, the default is the entire text buffer and the cursor is placed at the first line in the text buffer. FLX COMMAND SUMMARY Command lines for the File Exchange utility (FLX) use the following format: outfile/sw=infile(,s)/sw FLX assumes the following defaults if no switches are specified on the command line: Input volume DOS-11 Output volume FILES-11 FLX switches are as follows: BLOCKS outfile/BL:n[.}=Infile Specifies the number of contiguous blocks (n) in octal or decimal to be allocated to the output file. BLOCK SIZE outfile/BS:n=infile Specifies the block size (n) for cassette tape output. CONTIGUOUS outflie/CO=infile Specifies that the output file is to be contiguous. DELETE outfile/DE=inflle[/DE] Deletes files from a DOS-11 or RT-11 (used with the /RT switch) volume. DIRECTORY outfile/Di=infile Causes a directory listing of a cassette or DOS-11 volume or, when used with the /RT switch, of an RT-11 volume. The directory is placed in the specified output file. DENSITY outfile/DNS:n=infile _ Specifies a density of 800, 1600, or 6250 bpi for a magnetic tape volume. DOS-11 outfile/DO=infile[/DO] Identifies the volume as a DOS-11 formatted volume. FORMATTED ASCII outfile/FA:n=infile Specifies formatted ASCII transfer mode file format. 39 FLX Command Summary FORMATTED BINARY - outfile/FB:n=infile. Specifies formatted binary transfer mode file format. FORTRAN CONTROL outfile/FC=infile Specifies that FORTRAN carriage control conventions are to be used. IDENTIFICATION /ID Displays the current version number of FLX. IMAGE MODE outfile/IM:n=infile Specifies image mode (n is in decimal bytes). LIST outdevice/Ll Same as /DI. NUMBER outfile/ZE/NU:n[.}=Infile Used with /ZE and /RT switches; specifies the number of directory blocks (n)in octal or decimal to allocate when you are 1mt1ahz1ng an RT-11 disk or DECtape. ‘ : RSX FORMAT outfile/RS=infile[/RS] Identifies the volume as a Files-11 formatted volume. RT FORMAT outfile/RT=infile[/RT] Identifies the volume as an RT-11 formatted volume. REWIND outfile/ [-JRW=infile[/RW] Specifies whether a magnetic tape will rewind before FLX begins the file transfer. SPOOL outfile/SP=infile Specifies that the converted fileis to be spooled by the print spooler or the Queue Manager. uiC outfile/Ul=infile Specifies that the output file is to have the same UFD as the input file. 40 FLX Command Summary VERIFY outfile/VE=infile Verifies each record written to a cassette. ZERO outflie/ZE=infile/RT Initializes cassettes or DOS-11 volumes or, when used with the /RT switch, RT-11 volumes. Initializing erases any files already on the volume. S 41 FMT COMMAND SUMMARY Command lines for the Disk Volume Formatter (FMT) use the following format: FMT ddn:{/switchl.../switchn] In this command line, dd is the abbreviation for the volume being formatted and n is the unit number of the volume. ‘ FMT switches are as follows: BAD ddn:/BAD Runs the Bad Block Locator Utility if it is installed. Note that you can use this switch only with operating systems that allow spawning of tasks. RSX-11M provides spawned tasks as a system generation option. DENSITY ddn:/DENS=n Selects high (double) or low (single) density for RX02 floppy diskettes. The value n can be 800 or 1600. ERROR LIMIT ddn:/ERL=n Determines the maximum number of errors FMT allows on the volume. MANUAL ddn:/MAN Enters manual operating mode and formats the sector or track you specify. ' NOVERIFY ddn:/-VE Inhibits the default verification of a successful FMT operation. OVERRIDE ddn:/OVR Overrides or ignores the manufacturer’s bad block sector file (MDBSF). VERIFY ddn:/VE Verities that an FMT operation was successfully completed. This switch is the default. WRITE LAST TRACK ddn:/WLT Rewrites the MDBSF (on the last track of the device) to add bad sectors found during an FMT operation. INDIRECT ddn:/@Y Informs FMT that it is receiving input from an indirect command file. User intervention is not allowed during the operation. 43 LBR COMMAND SUMMARY Command lines for the Librarian utility (LBR) use the following format: outfilel/sw][,listfile]=infile1[,infile2,...infilen][/sw] LBR switches are as follows: COMPRESS outfile/CO:size:ept:mnt=infile Compresses a library file by physically deleting logically deleted records, putting the free snace at the end of the file, and making the free space available for new library module inserts. CREATE outfile/CR:size:ept:mnt:libtype:infiletype=infile[s] Allocates a contiguous library file on a direct access device (for example, a disk). DELETE : outfile/DE:module1[:module2 dulen] Logically deletes library modules and their associated entry points from a file. DEFAULT outfile/DF:type... or /DF:type Specifies the default library file type. DELETE GLOBAL outfile/DG:global1[:global2:...:globain] Deletes the specified library module entry points from the entry point table. ENTRY POINT outfile[/EP}=Infile[...,infilen] or outfile=infile[/EP][...,infilen[/EP]] Includes or excludes entries in the entry point table. EXTRACT outfile=infile/EX[:modulename1i:....modulenamen] Reads (extracts) one or more modules from a libréry and writes them into the specified output file. 45 LBR Command Summary INSERT outfile/IN=infile1[,infile2...,infilen] or outfile=infile/IN p:op:op:op (universal) Inserts library modules into a library file. LIST outfille],listfile]/switch(es) Lists all modules in the library file plus additional information,.depending on which form of the switch you use: /LI Lists all modules in the library file. /LE Lists all modules in the library file and their corresponding entry points. /FU : , Lists all modules in the library file and provides a full module description that includes the size, module-dependent information. 'MODIFY HEADERS date of insertion, and outflle/MH:module:op:op:op:op Modifies the optional user-specified information in the module header of a universal library. REPLACE ' outfile/RP=infile1[,infile2...,Infilen] (global format) outfile=infile1/RP{,infile2[/RP]...,Infilen[/RP]] (local format) outfile/RP:name:op:op:op:op=infile1[,infile2...,infilen)(universal/global format; outfile=infile1/RP p:op:op:opf,infile2...,infilen}(universal/local format) Replaces or, in certain cases, inserts library modules in a library file. SPOOL outfile,listflie/SP Spools the listing file for printing. This is the default setting; use /-SP to prevent the file from being printed. SELECTIVE outfile=infile1/SS[,inflle2[/SS]...,infilen[/SS]] Sets the selective search attribute bit in the object module header. SQUEEZE outfile/SZ=infile1[,infile2...,infilen] (global format) outfile=infile1/SZ[,infile2[/SZ]...,infilen[/SZ]] (local format) Reduces the size of macro definitions by removing comments, blank lines, and trailing blanks and tabs from the macro text. 46 SLP COMMAND SUMMARY Command lines for the Source Language Input Program (SLP) use only the following format: outfile[/switch,listfile/SP or /-~-SP]=infile[/switch] SLP switches have the same effect and can be used on either input or output file ~ - specifications, except for the /SP switch, which can only modify the listfile. These switches are: ' AUDIT TRAIL outfile/ [-]JAU=infile outfile=infile/[-]AU Enables or disables the audit trail, which indicates the changes made during the most recent editing session. BLANK FILL outfile/ [-]BF=inflle outfile=Iinfile/ [-]BF . Enables or disables blank fill (right-justification) for an audit trail. COMPRESS outfile/ [-]CM=infile outfile=infile/[-]CM Deletes the audit trail and any trailing spaces or tabs, and truncates the text at the specified horizontal position. CHECKSUM outfile/CS[:n]=infile outfile=infile/CS[:n] Calculates the checksum value for the edit commands. DOUBLESPACE outfile/ [-]DB=infile outfile=infile/ [-]DB Enables or disables double-spaced listings. /~-DB is the default switch. NO SEQUENCE outfile/NS=inflle outfile=infile/NS Does not sequence lines in the output file. New lines are indicated by the audit trail (if specified). This switch overrides the /RS and /SQ switches. RESEQUENCE outfile/RS=infile outfile=Infile/RS Resequences the lines in the output file so that the line numbers are incremented for each line written to the output file. 47 SLP Command Summary SPOOL outfile,listfile/ [-]SP=infile Enables or disables the spooling of listing files to a line printer. This switch _ applies only if the print spooler task (RSX-11M) or the Queue Manager (RSX-11M/M-PLUS)is installed. SEQUENCE outfile/SQ=infile outfile=infile/SQ Sequences the linesin the output file so that the numbers reflect the line numbers of the original input file. TRUNCATE outfile/TR=infile ~ outfile=infile/TR Specifies that a diagnostic error message occurs when lines are truncated by the audit trail. SLP uses the following special operators, in edit mode, to perform specific functions: Operator - Function Identifies the dash as the first character of a SLP edit command line \ Suppresses audit trail processing % Reenables audit trail processing @ Invokes an indirect file for SLP processing / Terminates the SLP edit session and returns to SLP command < Allows characters in the input file that SLP would normally use mode as operators 48 - PAT COMMAND SUMMARY PAT command lines use the following format: [outfile)=infile[/CS[:numberl],correctfile[/CS[:number]] In this command line, outfile is the file specification for the output file, infile is the file specification for the input file containing one or more concatenated object modules, and correctfile is the specification for the correction file containing updates to be applied to one module in the input file. The only PAT switch is the following: CHECKSUM [outfile]}=infile/CS[:n],correctfile[/CS[:n]] Directs PAT to calculate the checksum for all the binary data that constitutes the module. PAT displays this checksum in octal. 49 PERIPHERAL INTERCHANGE PROGRAM (PIP) COMMANDS Default Operation The default PIP operation (with no switches) is to copy the specified files, using the following format: outfile = infile(,s)[/subswitches] PIP allows the following parameters for this command: outfile If the command does not specify a file name, file type, or version number, PIP uses the input name and type and the next highest version number. If the command specifies a file name, file type, or version number, no other field can be a wildcard and the command line can only specify one input file. “infile If the command does not specify file name, file type, or version number, the default is *.*;*. subswitches: /BL:n[.] Specifies the number of contiguous blocks allocated for the output file, where n is octal or decimal. If n is decimal, it is followed by a period (n.). /CO, /-CO, or /NOCO /FO /NV : Specifies a contiguous or noncontiguous output file. File ownership (output file UFD). Forces the output version number of the copied file to be 1 ‘higher than the current highest version. /SU APPEND Copies the output file, superseding an existing file. outfile[/FO] = infile(s)/AP[/FO] Opens an existing file and appends the input files, infile(s), to the end of it. PIP allows the following parameters for this command: outfile Explicit file name and file type. infile(s) Explicit file parameters; wildcard by default. /FO File ownership is the output file UFD; without /FO, ownership is the UIC of the user running PIP. 51 Peripheral Interchange Program (PIP) Commands BLOCKSIZE outfile/BS:n = infile(,s) Defines the block size for magnetic tape. D = infile(,s) CREATION DATE outfile/C outfile = infile/CD Gives the output file the creation date of the input file rather than the date of the file transfer. (This switch cannot be used with the merge switch or with a magnetic tape as an output device.) /DD:startdate:enddate DATE Restricts file searches to files created during the specified period of time. DELETE infile(s)/DE[/LD] - Deletes files. /LD is a subswitch that causes PIP to list the files it deletes. DEFAULT [ddn:J[JUFD]/DF Changes the default device and/or UFD for the current PIP task. END-OF-FILE infile/EOF[:block:byte] Specifies the end-of-file pointers for a file. If values for block and byte are not entered, PIP places EOF at the last byte of the last block in the file. ENTER outfile = infile(s)/EN[/NV] Enters a synonym for a file in a directory on the same device, with an option to force the version number of the output file to 1 greater than the latest version for the file. outfile The file name, file type, or file version can be explicit, a wildcard, or null. A field that is a wildcard or null assumes a corresponding input field. infile Default for the file name, file type, and file version is *.*;*. /NV Forces a new version of the file. EXCLUDE filespec/EX Excludes one file specification during a search. FILE ID = /Fl:fil outfile b q b Accesses a file by its file identification number (file ID). 52 Peripheral Interchange Program (PIP) Commands FREE [ddn:] /FR Displays on the terminal the amount of space available on a volume, the largest block of contiguous space, the number of avaxlable file headers, and the number of headers used. IDENTIFICATION /ID Identifies the version number of PIP currently in use and whether PIP is linked to ANSFCS. { LIST [listflle = Jinfile(s)/LIi[/subswitch] Lists the contents of one or more UFDs, with an option to specify formats for output directories. outfile Listing file specifier; defaults to TI:. infile Default is *.%;*. The following subswitches determine what type of report is displayed. /LI/BR or /BR /LI Brief report. ~ Limited report. /LI/FU:n or /FU:n Full report (n specifies the decimal characters per hne, the defaultis device buffer size). /LI/TB or /TB Total blocks report. /LI & /TD or /TD/LI Files created on current day. The /TD switch alone does not generate a directory listing. MERGE outtlle = inflle(,s)/ME[/subswitch(es)] Creates one file by concatenating two or more files. The legal subswitches are as follows: subswitches: /BL:n[.] Specifies the number of contiguous blocks allocated for the output file, where n is octal or decimal. If n is decimal, it is followed by a period (n.). 53 Peripheral Interchange Program (PIP) Commands /CO, /-CO, or /INOCO Specifies a contiguous or noncontiguous output file. /FO File ownership (output file UFD). /NV Forces the output version number of the copled file to be 1 higher than the current highest version. /SU : Copies the output file, superseding an existing output file. NO MESSAGE infile(s)/NM[/sw] Causes certain PIP error messages not to be displayed: for example, the message NO SUCH FILE(S). The switches that can be used with the NM switch are as follows: /L1 Lists directory. /DE Deletes file(s). /PU Purges file(s). /UN Unlocks .file(s) . You can also use any subswitches of these switches. PROTECTION SYMBOLIC: infile/PR[/SY[:RWED][/OW[:RWED]] [/GR[:RWED]J[/WO[:RWED]J[/FO] Alters the file protection for the file specified. The file name and file type must be explicit. Symbolic protection codes assign privilege merely by their presence, using the following: System =/SY:RWED Owner = /OW:RWED Group =/GR:RWED World = /WO:RWED \ The symbolic codes are as follows: R read W write E extend D delete Numeric protection denies privilege by setting bits in a protection status word. Add octal values from the following list to deny privilege. 54 Peripheral Interchange Program (PIP) Commands User Octal Code : Bit Class Privilege System R 1 w 2 1 E 4 2 0 D 10 3 R 20 4 w 40 5 E D 100 200 6 7 Group R \\' E D 400 1000 2000 4000 8 9 10 11 World R W E D 10000 20000 40000 100000 12 13 14 15 Owner PURGE infile(s) /PU[:n][/LD] Deletes a specified range of versions of a file (bfit does not delete the latest version). Specification of a file version number is not necessary. Wildcards are valid for file name and file type. When :n is specified, PIP deletes all but the n latest consecutively numbered versions. Without :n, PIP deletes all but the latest version. REMOVE infile(s) /RM Removes an entry from a UFD, but does not delete the file. RENAME outfile = inflle(s)/RE[/NV] Changes the name of the file specified. Used with the /NV switch, /RE creates an output file with a version number 1 higher than the latest version of the file. outfile A wildcard (*) or null field assumes the value of the corre- infile Null file name, file type, and file version default to *.*;*, /NV See COPY. sponding field in the input file. 55 Peripheral Interchange Program (PIP) Commands REWIND outfile/RW = infile outfile = Infile /RW outfile Causes the magnetic tape on the specified unit to be rewound infile " Causes the magnetic tape on the specified unit to be rewound and erased. before the input fileis opened. SELECTIVE DELETE infile(s)/SD Prompts for user response before deleting files. SHARED READING Iinfile(s)/SR Allows shared reading of a file that has already been opened for writing. SPAN BLOCKS outdsk:outfile/SB = inmag:infile Allows output file records to cross block boundaries when ANSI tapes are being copied to Files-11 volumes. SPOOL Iinfile(s)/SP[:n] Specifies a list of files to be printed on a line printer. n is the number of copies. This switch applies only if you have the Serial Despooler or ‘the Queue Manager. However, using it with the Queue Manageris not recom- mended. TRUNCATE inflle(s)/TR Truncates files to their logical end-of-file point. = Infile(s) ' USER FILE DIRECTORY ENTRY outfile(s)/UF[/FO] Creates a User File Directory entry in the Master File Directory on a volume. outfile Specifies the UIC as [*,*] to transfer multiple infile UICs. /FO See APPEND. UNLOCK infile(s)/UN Unlocks a file that was locked as a result of being closed improperly. 56 Peripheral interchange Program (PIP) Commands UPDATE FILE outfile — infile(s)/UP[/FO] Opens an existing file and writes new data (infile) in it, from the beginning. outfile Must be explicitly identified. infile Null parameters default to *.*;*. Input file(s) replace the current contents of output files. 57 QUEUE MANAGER This section describes the Queue Manager commands for RSX-1IM-PLUS. It includes syntax to use the commands from either DCL or MCR. DELETE Deletes queues or QMG jobs by name or by the job’s unique entry number. Format DCL>DELETE/JOB queuename jobname[FILE_POSITION:n] DCL>DELETE/ENTRY:nnn[/FILE_POSITION:n] MCR>QUE queuename:jobname/Fl:n/DEL MCR>QUE /EN:nnn/Fl:n/DEL HOLD AND RELEASE You can specify that a job be held when you issue your PRINT or SUBMIT command. You can also hold jobs with the HOLD command and release such jobs with the RELEASE command. HOLD (QUE /HO) blocks a job in its queue until it is explicitly released. RELEASE (QUE /RE) unblocks a job that has been held in queue. Format DCL>HOLD/JOB queuename jobname DCL>HOLD/ENTRY:nnn MCR>QUE queuename:jobname/HO MCR>QUE /EN:nnn/HO DCL>RELEASE/JOB queuename jobname DCL>RELEASE/ENTRY:nnn MCR>QUE queuename:jobname/REL MCR>QUE /EN:nnn/REL PRINT Queues files for printing on a line printer or use on other output devices. Format . . DCL>PRINT/commandqualifier[s] file[s]/filequalifier[s] MCR>PRI! [queuename:][jobname][/jobswitch][=]file[s][/fileswitch[s]] DCL Command Qualifiers = MCR Job Switches /JOBCOUNT:n /CO:n /QUEUE:queuename queuename: /UPPERCASE /LOWERCASE /NOLO /LO 59 Queue Manager /[NOJHOLD /PAGE_COUNT:n /NAME:jobname /PRIORITY:n /FORMS:n /[NOJHO /PA:n jobname= /PRIO:n /FO:n /LENGTH:n /[NOJRESTART /[NOJFLAG__PAGE /LE:n /[NO]JRES /[NO]FL /DEVICE:ddnn: /NOJOBPAGE gueuename: /NOJO DCL File Qualifiers MCR File Switches /AFTER:(dd-mmm-yy hh:mm) /AF:hh:mm:dd-mmm-yy /[NO]DELETE /COPIES:n /[NO]DEL /CO:n SET QUEUE Modifies attributes given to print jobs, batch jobs, or files that compose jobsin queues. Such jobs and files have been entered in queues by the PRINT command. Job Format DCL>SET QUEUE queuename:jobname/qualifier[/qualifier[s]] DCL>SET QUEUE /ENTRY:nnn/qualifier[/qualifier[s]] MCR>QUE queuename:jobname/MOD/switch[/switch(s]] MCR>QUE /EN:nnn/MOD/switch/[/switch[s]] MCR Switches DCL Qualifiers /AFTER:(hh:mm dd-mmm-yy) /AF:hh:mm:dd-mmm-yy /JOBCOUNT:n /FORMS:n /LENGTH:n /LOWERCASE /PAGE__COUNT:n /PRIORITY:n /[NOJRESTART /UPPERCASE /CO:n /FO:n /LE:N /LO /PA:N /PRIO:n /[NO]RE /NOLO File Format DCL>SET QUEUE/ENTRY:nnn/FILE_POSITION:n/qualifier[/qualifier[s]] jobname/FILE__ queuename QUEUE DCL>SET POSITION:n/qualifier[/qualifier[s]] MCR>QUE /EN:nnn/MOD/Fl:n/switch{/switch[s]] MCR>QUE queuename:jobname/MOD/Fl:n/switch[/switch[s]] 60 Queue Manager DCL Qualifiers MCR Switches /COPIES:n /CO:n / [NO]JDELETE /[NO]DEL SHOW PROCESSOR Displays information about the initialized characteristics printers, and other devices under control of the Queue Manager. Format DCL>SHOW PROCESSOR/qualifier MCR>QUE [processorname:}/switch DCL Qualifiers MCR Switches processornamef:] /LI:DEV /PRINT or /DEVICE /LI:DEV:P /INPUT or /CARD__READER /LI:DEV:I SHOW QUEUE SHOW QUEUE displays information about QMG print jobs. Format DCL>SHOW QUEUE [queuename]/qualifier(s] MCR>QUE [queuename:][[uic]][jobname]/switch[s] DCL Qualifiers MCR Switches /FULL /FU /FILES /LI /BRIEF /BR /DEVICE /LI:P /ENTRY:nnn /EN:nnn /FORMSI:n] /FO[:n] /NAME:jobname jobname /OWNER__UIC:uic [uic] /PRINT /LIP 61 ZAP COMMAND AND SWITCH SUMMARY Invoke ZAP before you enter the ZAP command line, using the following format: " ddnn: [ufdifilename,filetype;version[/sw...] You cannot enter a file specification on the command line when you invoke ZAP. In this command, the file specification is the task image file to be examined or modified. The default file type is .TSK and the default version is the latest one. ZAP command lines use the following switches: ABSOLUTE ddnn:filespec/AB Specifies absolute mode. LIST ddnn:filespec/L] Displays the overlay segment table for an overlaid task image file. READ-ONLY ddnn:filespec/RO Specifies read-only mode. ZAP Open/Close Commands ZAP uses the following commands to examine or modify a task image file: / (slash) § - Opens a location, displays its contents in octal, and stores the contents of the location in the Quantity Register (Q). If the location is odd, it is opened as a byte. " (quotation mark) Opens a location, displays the contents of the location as two ASCII characters, and stores the contents of the location in the Quantity Register (Q). é % (percent sign) - Opens a location, displays the contents of the location in Radix-50 format, and stores the contents of the location in the Quantity Register (Q). \ (backslash) { Opens a location as a byte, displays the contents of the location in octal, and stores the contents of the location in the Quantity Register (Q). 63 ZAP Command and Switch Summary " (apostrophe) Opens a location, displays the contents as one ASCII character, and stores the contents of the location in the Quantity Register (Q). <RET> (RETURN key) Closes the current location as modified and opens the next sequential location if no other values or commands are on the command line. ZAP commands take effect only after you press the RETURN key. T or (circumfiex or up arrow) Closes the currently open location as modified and opens the preceding location. __ (underscore) Closes the currently open location as modified, uses the contents of the location, as an offset from the current location, and opens the new location. @ (at sign) Closes the currently open location as modified, uses the contents of the location as an absolute address, and opens that location. > (right angle bracket) Closes the currently open location as modified, interprets the low-order byte of the contents of the location as the relative branch offset, and opens the target location of the branch. < (left angle bracket) Closes the currently open location as modified, returns to the location from which the last series of underscore (), at sign (@), and/or right angle bracket (>) commands began, and opens the next sequential location. General-Purpose Commands X Exits from ZAP and returns control to the CLIL. K Calculates the offset in bytes between an address and the value contained in a Relocation Register, displays the offset value, and stores it in the Quantity Register (Q). 64 ZAP Command and Switch Summary o] Displays the jump and branch displacements from the current location to a target location. Displays in octal the value of the expression to the left of the equal sign. \' Verifies the contents of the current location. R Sets the value of a Relocation Register. 65 MONITOR CONSOLE ROUTINE (MCR) COMMANDS In this section, (P) indicates that a command format or keyword is privileged. ABORT ABO taskname [/keyword] Keywords: /PMD /TERM=TTnnn: Terminates execution of the specified task from the issuing terminal, or from another terminal if the /TERM keyword is used by a privileged user. You can request a Postmortem Dump with the /PMD keyword. ACTIVE ACT [/keyword] Keywords: /ALL /TERM=TTnn: Displays on the terminal all tasks issued from that terminal, all tasks active in the system, or all tasks issued from a specified terminal. ACTIVE TASK LIST ATL [taskname] Displays the name and status of all active tasks in the system, or the status of the particular task specified. ALLOCATE Keywords: ‘ ALL dd[nn:][=linn:][/keyword] /TERM=TTnn: /TYPE=dev Establishes the specified device as the user’s private device on multiuser protection systems. Privileged users can allocate a device to any terminal, using the /TERM keyword, but nonprivileged users can only allocate devices to their own terminals. Specifying dd allocates the first logical unit of the dd-type device (for example, DM1:). Specifying the /TYPE keyword allocates the first available dev-type device (for example, RK07). Specifying =llnn: creates a logical device name and assigns it to the physical device being allocated. ALLOCATE CHECKPOINT SPACE (P) ACS ddnn:/BLKS=n. Allocates or discontinues a checkpoint file on disk for systems that support the dynamic allocation of checkpoint space. The /BLKS keyword specifies the number of blocks to be allocated to the checkpoint file. Use n=0 to discontinue use of a checkpoint file. 67 Monitor Console Routine (MCR) Commands ALTER ALT taskname[/keyword] Keywords: (P) /PRi=static and running priority /RPRI=running priority only /TERM=TTnn: = task priority from a specified terminal Changes the static or running priority of an installed task. ACD function ANCILLARY CONTROL DRIVER Functions (Privileged): INSTALL filename AS NUMBER n [ASSIGN logicalname] - REMOVE NUMBER n [logicalname] Loads and unloads character translation routines so terminals that conform to other standards can use the DIGITAL Multinational Character Set (MCS). Functions (Nonprivileged): LINK ttnn: TO NUMBER n [logicalname] UNLINK ttnn: Links or unlinks the specified routine to the specified terminal. ASSIGN ASN ppn:=linn: [/keyword] Keywords: /GR (P) /FINAL (P) /GBL (P) /LOGIN /TERM=TTnn: Assigns, displays, or deletes logical name assignments if extended logical name support was selected during system generation or logical device assignments, as specified in the following list. Note that ppn: is the physical device name or equivalence string, and linn is the logical name being assigned. Local assign operations' ASN ppn:=linn: ASN ppn:=linn:/TERM=TTnn: (P) Login assign operations ASN ppn:=linn:/LOGIN (P) ASN ppn:=linn:/LOGIN/TERM =TTnn: Group assign operations ASN ppn:=linn:/GR (P) 68 (P) Monitor Console Routine (MCR) Commands Global assign operations ASN ppn:=linn:/GBL (P) Local display operations ASN Login display operations ASN /TERM=TTnn: (P) Group display operations ASN /GR (P) Global display operations ASN /GBL (P) Local delete operations ASN = ASN =lInn: Login delete operations ASN =/LOGIN ASN =/LOGIN/TERM=TTnn: (P) ASN =/TERM=TTnn: ASN =/lIInn:/TERM=TTnn: ASN =/linn:/LOGIN ASN =/linn:/LOGIN/TERM=TTnn: (P) (P) (P) (P) (P) Group delete operations ASN=/GR (P) Global delete operations ASN =/GBL (P) ASN =lInn:/GBL BLOCK (P) BLK [taskname][/TERM=TTnn:] Declares that the specified task is ineligible to execute or to compete for memory resources. Nonprivileged users can block only tasks running from their own terminals. Privileged users can block any task. However, ACP tasks, CLI tasks, tasks being aborted, and halted tasks cannot be blocked. 69 Monitor Console Routine (MCR) Commands BOO [filespec] BOOT (P) Bootstraps a system that exists as a task image fileon a Files-11 volume. BREAKPOINT TO XDT (P) BRK Passes control to the Executive Debugging Tool (XDT). BRO TTnn: message BROADCAST BRO @filespec BRO ALL:message (P) BRO LOG:message (P) BRO user-name message Displays the specified message at one terminal for a nonprivileged user, or at a number of terminals for a privileged user. BYE [/keyword] Keyword: /[NOJHOLD Logs the user out of a multiuser protection system, optionally specifying that the full-duplex terminal driver not hang up a remote line or that DECnet not break the connection. CANCEL CAN taskname Cancels time-based initiation of a task. Privileged users can cancel any task, but nonprivileged users can cancel only tasks that they initiated. COMMON BLOCK DIRECTORY Keyword: CBD [common-region-name[/keyword]] /TASKS Displays information about all entries or a specific entry in the Common Block Directory. Also, CBD with the /TASKS keyword displays the name of each task attached to a specific common region and the number of times the task has mapped to the region. COMMAND LINE INTERPRETER Keywords: CL! /keyword=cliname /DISABLE=cliname /ELIM=cliname or ELIM=+ /ENABLE=cliname /INIT=cliname[/subkeyword(s)] Subkeywords: /CPR="string" /DISABLE /DPR="string" /LGO /MESSAGE 70 Monitor Console Routine (MCR) Commands Subkeywords: /NULL /PRIV /PROMPT /QUIET /RESTRICT /SNGL /TASK=taskname /MESSAGE=cliname:"message-text" /SHOW /UNOVR Sets up for use a command line interpreter other than MCR, such as DCL or a user-written CLI. CLOCK QUEUE CLQ[UEUE] Displays on the entering terminal information about tasks currently in the clock queue. DEALLOCATE DEA [ddnn:] Releases a private (allocated) device where ddnn: is the device name and unit number. Privileged users can deallocate any device, but nonprivileged users can only deallocate devices that they have allocated. If no device is specified, the command deallocates all of the user’s allocated devices. DEBUG DEB [taskname] Allows you to debug a task by forcing the task to trap to a debugging aid. Nonprivileged users can debug only tasks that they initiated. Privileged users can debug any task. DEFINE LOGICALS ' DFL keyword Defines, deletes, or displays logical name assignments. Keywords: /ALL /FINAL (P) /GBL or SYSTEM (P) /TERM=TTnn: (P) Local define operations DFL ppn:=linn: (P) DFL ppn:=linn:/TERM=TTnn: (P) Group define operations DFL ppn:=linn:/GR (P) g Monitor Console Routine (MCR) Commands Global define operations DFL ppn:=linn:/GBL (P) DFL ppn:=linn:/SYSTEM (P) é Local display operations DFL DFL /ALL Group display operations DFL /GR (P) Global display operations DFL /GBL or /SYSTEM (P) Local delete operations DFL = Group delete operations DFL =/GR (P) Global delete operations DFL =/GBL or /SYSTEM DEVICES DEV [/keyword] DEV dd: DEV ddnn: Keyword: /LOG Displays symbolic names of all devices or of all devices of a particular type, or the name of a_specific device. The /LOG keyword displays all of the logged-in terminals as well as device characteristics. DIGITAL COMMAND LANGUAGE DCL command-line Allows you to issue DCL commands from a terminal that is set to MCR. DISMOUNT Keywords: DMO ddnn:[["]IabeI["]][/keyword(s)] DMO /USER[/keyword(s)] /DEV (P) /TERM=TTnn: (P) /LOCK=option Tells the file system to mark the volume for dismount and to release the control blocks. Privileged users can dismount any volume, but nonprivileged users can dismount only devices that they have mounted. 72 Monitor Console Routine (MCR) Commands FiX IN MEMORY Keywords: (P) FIX taskname [/keyword] /REG /RON Loads and locks a task or a common task region into its memory (or partition memory). GROUP GLOBAL EVENT FLAGS Keywords: FLA[GS][[gga}keyword] /CRE /ELIM For privileged users, creates or eliminates global event flags for any group. For nonprivileged users, creates or eliminates group global flags only for their own login group. Any user can display all of the group global event flags. HELLO/LOGIN HEL [uic[/password]]} HEL [username[/password]] LOG [ulc|/password]] LOG [username|/password]] Logs you in on a terminal to access a multiuser system. HELP HELP [/keyword] [qualifier][qualifier 2][...qualifler 9] HELP % [qualifier}[qualifier 2][...qualifier 9] Keywords: /CLl:cliname /DCL /FIL:[filespec) /GRO /LOC /MCR /OUT:filespec Displays the contents of a help file on the issuing terminal. HOME HOM ddnn:volume-label/keyword(s) Keywords: /DENS=density /EXT=Dblock-count /FPRO=[system,owner,group,worid] /LRU=directory-count /MXF=file-count /NAME=new-volume-label /OVR (P) /OWNER=[g,m) 73 Monitor Console Routine (MCR) Commands Keywords: /POS /PRO=[system,owner,group,world}] /UIC=[g,m] /VI /WiN=retrieval-pointer-count Modifies certain fields in the home block of a Files-11 disk volume. INITIALIZE VOLUME Keywords: INI ddnn:["Jvolume-label["] [/keyword(s)] /ACCESS="character" /BAD=[option] /DENS=density /EXT=Dblock-count /FPRO=[system,owner,group,world] /INDX=index-file-position /INF=initial-index-file-size /LRU=directory-count . /MXF=file-count /OWNER=[g,m] or OWNER="owner" /POS /PRO=[system,owner,group,worid] /UIC=[g,m] /VI /WIN=retrieval-pointer-count Produces a Files-11 volume on disk, magnetic tape, or DECtape. On mul- tiuser protection systems, you can initialize volumes only on devices that you allocated. INSTALL INS [$lfilespec|[/keyword(s)] Keywords: (P) /AFF=[CPx,UBy] /CKP=option /CLI=option /INC=size /10P=option /PAR=pname /PMD=option /PRI=number /PRO=[system,owner,group,world] /RON=o0ption /ROPAR=parname /SEC=option /SLV=option /SYNC=option /TASK=taskname 74 Monitor Console Routine (MCR) Commands Keywords: /TIME=nM or /TIME=nS /UIC=[g,m] /WB=option /XHR=option Makes a specified task known to the system. i : LOAD LOA dd:[/keyword(s)] Keywords: /PAR=parname (P) /CTB=ccal,b...] /SIZE=parsize /HIGH /VEC Reads a nonresident device driver into memory and constructs the linkages required to allow access to the device. LOGICAL UNIT NUMBERS LUN[S] taskname Displays the static LUN assignments for a specified task. MOUNT Allows the file system software access to a physical device. Files-11 disk or DECtape format: MOU ddnn:[label][/keyword(s)] Keywords: /ACP=option (P) /CACHE=o0ption /DENS=density /EXT=block-count /FOR /FPRO=[system,owner,group,worid] /LOCK=option /LRU=directory-count /OVR (P) /PARM="user parameters" /PRO=o0ption - /PUB /[NO]JSHARE /UIC=[g,m] /UNL /VI 75 Monitor Console Routine (MCR) Commands Keywords: /[NOJWAIT /WIN =option /[NOJWRITE Files-11 (ANSI) magnetic tape format: MOU device-list:[file-set-ID][/keyword(s)] Keywords: /ACP=option (P) /BS=n /CC=option /DENS=density /FOR /FPRO=[system,owner,group,world] /[NOJHDR3 /[NOJLABEL /LOCK= option /OVR (P) /OVRACC (P) /OVREXP (P) /OVRFSID (P) /PARM="user parameters" /PRO= option /PUB /RS=n /[INOJSHARE /TR= option /UIC=[g,m] /VI /VOL= (list) ~/[NOJWAIT /[NO]WRITE OPEN REGISTER (P) OPE[N] mem-addr{+/-n][/keyword] mem-addr /contents [ctri-char]{valuejterm Keywords: /AFF=[CPx,UBy] /CPU=CPx /TASK=taskname /TASKD /TASKI /PAR=partitionname /KNL /KNLD 76 Monitor Console Routine (MCR) Commands Keywords: /KNLI /DRV=dd: /REG=region-name ~ Allows examination and optional modification of a register in memory. PARTITION DEFINITIONS PAR[TITIONS] Displays a description of each memory partition in the system. REASSIGN (P) REA taskname lun ddnn: Reassigns a task’s static logical unit numbers from one device to another. REDIRECT (P) RED nddnn:=oddnn: Redirects all I/0 requests from one physical device unit to another (from 0 to n). REMOVE (P) REM [ddnn:] taskname or REM region-name/keyword Keyword: /REG Deletes an entry (task name) from the System Task Directory (STD) and thereby removes the task from the system. The optional device specification indicates the device from which the task was installed. The /REG keyword removes regions from the CBD. RESUME RES taskname [/keyword] Keyword: /TERM=TTnn: (P) Allows nonprivileged users to continue execution of a suspended task that was initiated from the entering terminal. Privileged users can resume any suspended task. RUN RUN taskname [/UIC=[g,m]] (/UIC privileged keyword) RUN taskname dtime [/RSI=magu][/UIC=[g,m]] (P) RUN taskname sync [dtime][/RSI=magu][/UIC=[g,m]] RUN taskname atime [/RSl=magu][/UIC=[g,m]] (P) (P) RUN [ddnn:][$] filespec [/keyword(s)] Keywords: /CKP=option /CMD="command-line" /EST=option /INC=size /10P=option /PAR=pname /PMD=option 77 Monitor Console Routine (MCR) Commands Keywords: /PRl=number (P) /ROPAR=pname /SLV=option /TASK=taskname /TIME=nM or TIME=nS /UIC=[g,m] Initiates execution of a task, either immediatelv or at one of several fimedependent intervals. SAVE (P) SAV [/keyword(s)] Keywords: /WB /MOU="string" /SFILE="filespec" /CSR=x Copies the current system image into the system image file from which the current system was booted. SET SET /keywérd:values Keywords: . /[NOJABAUD[=TTnn:] /[NOJANSI[=TTnn:] /[NOJAVOI[=TTnn:] /[NO]BLKMOD[=TTnn] /[NO]BOT=pname:value /[NO]BRO[=TTnn:} /BUF=ddnn:[size] /[NO]JCACHE=option /CLI=TTnn:[cli] /COLOG /CRASHDEV and CRASH__DEVICE:ddnn:[CSRaddr] /[NOJCRT[=TTnn:] /DCL[=TTnn:] /[NO]DEC[TTnn:] /DEF[="(ddnn:][[directory]]] /[NO]DPRO[=protection codes] /[NO]JEBC[=TTnn:] /[NOJECHO[=TTnn:] /[NOJEDIT[=TTnn:] /[NO]JESCSEQ[=TTnn:] /[NOJFDX[=TTnn:] /[NOJFORMFEED[=TTnn:] /HFILL=TTnn:[value] /INOJHHT[=TTnn] /[NOJHOLD[=TTnn:] 78 Monitor Console Routine (MCR) Commands Keywords: /HOST[=node[::] /[NOJHSYNC[=TTnn:] /INQUIRE /LIBUIC[=[uic]] /LINES=TTnn:[value] /[NOJLOGON (P) /[NOJLOWER[=ddnn:] /[NO]MAIN=pname|[:base:size: type] /NOPAR=pname /MAXEXT[=size] (P) /MAXPKT{[=n] /MCR[=TTnn:] /[INO]JNAMED /NETUIC[=[g,m]] /NOCEX /NOMAIN=pname (P) /[NO]JOPT[=ddnn:opttyp:fairness-count] /[NOJOVLP[=ccn] /PAR=pname|[:base:size[:type]] /[NOJPARITY /PASSWORD /[NOJPASTHRU[=TTnn:] /PLCTL[=high][:[low][:[frsiz][:basep]]]] (P) /POOL[=top] /POOLSIZE=size /[NOJPRINTER_PORT[=TTnn: ] /[NO]JPRIV[=TTnn:] /[NOJPUB[=ddnn:] /[NOJREGIS[=TTnn:] /[INOJREMOTE([=TTnn:[speed]] /RNDC[=nn] /RNDH[=nn] /RNDL[=nn] /[NOJRPA[=TTnn:] /SECPOL /[NOJSERIAL[=TTnn:] /[NO]JSLAVE[=TTnn:] /[NOJSOFT[=TTnn:] /SPEED=TTnn:[recv:xmit] /SWPC[=nn] /SWPR[=nn] /SYSUIC[=[g,m]] /TERM=TTnn:[value] /TOP=pname:value /[NOJTTSYNC[=TTnn:] 79 Monitor Console Routine (MCR) Commands Keywords: /[NOJTYPEAHEAD([=TTnn[:size]] /UIC[=[g,m][:TTnn:]] /UIC[=TTnn:] /[NO]JVFILL[=TTnn:] /[NO]JWCHK[=ddnn:] /INOJWRAP[=TTnn:] Affects characteristics of the system, tasks, and devices. Privileged users can alter the characteristics of any device or task, but nonprivileged users can alter only characteristics for devices and tasks allocated to them. All ' users can display information. SYSTEM SERVICE MESSAGE (P) SSM message Inserts text into the error log file. TASKLIST - ATL TAL [taskname] Displays the names and status of all tasks installed in the system or of a specific task. TASKLIST TAS [taskname][/DEV=ddnn:] Describes each task installed in the system, a specific task, or one or more tasks installed from a specific device. TIME TIM [hrs:mins[:secs]] [m1/day/year] [hrs:mins[:secs]] [day-m2-year] For privileged users, sets and displays the date and time for the system. For nonprivileged users, only displays them. USER FILE DIRECTORY Keywords: UFD ddnn:[volume-iabel}{g,m][/keyword(s)] /ALLOC=number /PRO={[system,owner,group,world] Creates a User File Directory (UFD) on a Files-11 volume and enters its name into the Master File Directory (MFD). Privileged users can create UFDs on any mounted volume, but nonprivileged users can create UFDs only on a volume mounted on a device that they have allocated. UNBLOCK Keyword: UNB [taskname][/keyword] /TERM=TTnn: (P) Continues the execution of a previously blocked task. Nonprivileged users can unblock only tasks running from their own terminals. Privileged users can unblock any task. 80 Monitor Console Routine (MCR) Commands UNFIX UNF taskname or UNF reglon-name /keyword Keywords: (P) /REG /RON Frees a fixed task or common task region from memory. UNLOAD UNL dd: (P) Removes a loadable device driver from memory. UNS[TOP] taskname[/keyword] Keyword: /TERM=TTnn: (P) Continues execution of a task previously stopped internally by the Executive. Nonprivileged users can unstop only tasks running from their own terminals. Privileged users can unstop any task. 81 DIGITAL COMMAND LANGUAGE (DCL) In this section, (P) indicates that a command format or keyword is privileged. ABORT ABORT[/COMMAND][/qualifier[s]] commandname ABORT/TASK[/qualifier] taskname Command Qualifiers: /COMMAND /TASK /[NO]JPOSTMORTEM /TERMINAL:ttnn: Default: (P) /COMMAND Forces an orderly end to a running task or to the action of a specific command. ALLOCATE ALLOCATE[/qualifier[s]] dd[nn:] [logicalname] Command Qualifiers: /TERMINAL:ttnn: (P) /TYPE:devicetype Default: NONE Declares a specified device to be a private device. You can allocate devices by logical name or physical name. If you omit the unit number and colon, the first available device of that class is allocated. ANALYZE/CRASH__DUMP ANALYZE/CRASH__DUMP [/qualifier[s]lfilespec]/qualifier[s]] Command Qualifiers: /LIST[:listfilespec[/qualifiers]] /ERROR__LIMIT /PAGE__COUNT /PAGE_LENGTH /[NO]JPRINTER /EXIT:n /LIMIT:n /LINES:n /[-]SP /BINARY:binaryfilespec /MEMORY_SIZE:n /SYMBOLS:symbolfilespec 83 DIGITAL Command Language (DCL) Filespec Qualifiers: /ACTIVE:(arg(,...]) DEVICES TASKS /ALL /DEVICES /TASKS /BLOCK:n /CLOCK__QUEUE /CONTROLLERS /DENSITY:n /DATA_STRUCTURES:(arg[....]) . COMMAND_PARSER DEVICE PARTITION STATUS TASK UNIT /DUMP[:(START:n,END:n[ADDRESS:n])] /HEADERS /KERNEL:(argl,...]) DATA:(START:n,END:n) INSTRUCTION:(START:n,END:n) REGISTERS /PARTITION /POOL:(START:n,END:n) /SECONDARY__POOL[:(START:n,END:n]) /[NO]JSYSTEM /TASKS:(arg|....]) DIRECTORY ADDRESS:(NAME:name[,START:n,END:n}) DATA:(NAME:namd{,START:n,END:n]) INSTRUCTION:(NAME:name[,START:n,END Helps you determine the cause of system crashes by analyzing and formatting a memory dump created by the Executive Crash Dump Module. You must have the Advanced Programmer’s Kit to use this command. ANALYZE/MEDIA Command Qualifiers: ANALYZE/MEDIA[/qualifer(s]] ddnn: /ALLOCATE=label /BADBLOCKS /BADBLOCKS/EXERCISE /BADBLOCKS/NOEXERCISE /[NO]JEXERCISE[=(n,m)] /OVERRIDE /RETRY /SHOW 84 DIGITAL Command Language (DCL) Default: NONE Allows you to identify and determine the number of bad blocks on a disk. ANALYZE/MEDIA determines if bad blocks exist on a disk volume and records their locations for use by the BACKUP and INITIALIZE com mands. : APPEND APPEND[/qualifier[s]] infile[,s] outfile Command Qualifiers: : /DATE:dd-mmm-yy /SINCE:dd-mmm-yy /THROUGH:dd-mmm-yy /SINCE:dd-mmm-yy/THROUGH:dd-mmm-yy /TODAY /EXCLUDE:filespec /NOWARNINGS /REWIND /SHARED Default: NONE Appends to an existing sequential file records from one or more sequential files. The file specification for the EXCLUDE qualifier can include wildcards. Data range qualifiers, together with the /EXCLUDE qualifier, are also accepted on the COPY, DELETE, DIRECTORY, PURGE, RENAME, SET PROTECTION, TYPE, and UNLOCK commands. ASSIGN ASSIGN[/qualifier[s]] equival Command Qualifiers: name logical_name /FINAL (P) /GROUP: [g] (P) /LOCAL /LOGIN (P) /GLOBAL (P) /SYSTEM (P) /TERMINAL:ttnn: (P) . /TRANSLATION:FINAL (P) Default: Synonym for GLOBAL - Synonym for FINAL /LOCAL Equates a logical name to a physical Files-11 device name, to all or part of a Files-11 file specification, or to another logical name. ASSIGN checks the syntax of an equivalence name that is either a device or a file specification. All references to the logical name are resolved by the operating system. This format applies only to RSX-11M-PLUS operating systems that support extended logical names. 85 DIGITAL Command Languag.e (DCL) ASSIGN/QUEUE queuename processorname ASSIGN/QUEUE (P) Establishes a path between a queue and a processor in the Queue Manager subsystem. ASSIGN/REDIRECT (P) ASSIGN/REDIRECT oldddnn: newddnn: Redirects output from one physical device to another. You can also redirect a physical device to a pseudo device, or vice versa. ASSIGN/TASK:taskname ddnn: lun ASSIGN/TASK (P) Reassigns an installed task’s Logical Unit Numbers (LUNSs) from one physical device to another. The reassignment overrides the static LUN assignments in the task’s disk image file. You cannot change the LUNs of an active task. BACKUP BACKUP[qualifier[s]] source:[filespec[s]ldest: Command Qualifiers: Selective Backup and Restore Group 1: /AFTER:(dd-mmm-yy hh:mm) /BEFORE:(dd-mmm-yy hh:mm) Use with -/MODIFIED. /CREATED or with : /CREATED /EXCLUDE /IMAGE:arg SAVE RESTORE /MODIFIED /NEW__VERSION /[NOJREPLACE Group 2: Initialization /ACCESSED:n /BADBLOCKS:arg AUTOMATIC MANUAL OVERRIDE /EXTENSION:n /FILE_PROTECTION:code /HEADERS:n /INDEX:arg BEGINNING MIDDLE END n 86 : n is default number of FCBs on each volume Default is 5 Default is same protection as input volume ' Specifies location of INDEXF.SYS on volume; default is same position as involume Logical block n DIGITAL Command Language (DCL) Command Qualifiers: Group 2: Initialization ./[NO]INITIALIZE /MAXIMUM__FILES:n /SAVE_SET:name Default is name of disk volume being backed up Default is same number of mapping pointers (windows) as input . /WINDOWS:n volume Group 3: Tape and Disk Control /APPEND /DENSITY:arg 800" 1600 Default density = 800 bpi (if unit supports two densities; otherwise default is density of the particular unit.) /ERROR__LIMIT:n /LABEL:TAPE:fileset-1D /LENGTH:n Default n = 25 Default n = physical length of the output tape Rewinds first tape of tape set before executing the command line; may use with /APPEND /REWIND Group 4: Verification /COMPARE /VERIFY Group 5: /LIST /[NOJLOG Display /LOG goes to Tl:; default is /NOLOG 87 DIGITAL Command Language (DCL) Command Qualifiers: Disk Processing Group 6: /APPEND /DIRECTORY /NOINITIALIZE ' /LABEL:arg INPUT:volumelabel [OUTPUT:]volumelabel /LABEL:OUTPUT is default; if the only volumelabel in command line is outvolume, /LABEL;volumelabel will do /MOUNTED /[NO]PRESERVE Default /PRESERVE Backs up and restores Files-11 volumes. Transfers files from a volume to a backup volume and retrieves files from the backup volume. BACKUP works through the Backup and Restore Utility (BRU). BROADCAST BROADCAST ttnn: message BROADCAST @indirectspec BROADCAST[/qualifier] message BROADCAST username message Command Qualifiers: /ALL (P) /LOGGED__IN (P) Displays the specified message at one or more terminals. CANCEL CANCEL taskname Eliminates entries from the clock queue. CANCEL does not affect a currently executing task, but only the pending entries in the clock queue. CONTINUE CONTINUE[/qualifier] [taskname] Command Qualifier: /TERMINAL:ttnn: (P) CONTINUE resumes execution of a previously suspended task. Taskname defaults to TTnn. CONVERT CONVERT[/qualifier[s] infile outfile CommandQualifiers: /[NOJAPPEND /BLOCK_SIZE:n /[NOJFIXED__CONTROL : 88 Default is 512 Default is NOFIXED__ CONTROL DIGITAL Command Language (DCL) Command Qualifiers: Default is NOIDENTIFICATION /[NOJIDENTIFICATION /INDEXED /KEY[:n] /[INOJLOG__FILE[:filespec] /[NOIMASS__INSERT /MERGE /PADI:[#]arg] Outfile is indexed Default=1 NOLOG__FILE is default. Pad infile records to outfile length. Default pad character is blank. /RELATIVE /[NOJREPLACE /SEQUENTIAL /[NO]JTRUNCATE Default is NOTRUNCATE Invokes the RMSCNV utility which moves records from one file to another. RMSCNV reads records from an input file and writes them to an output file. The action of RMSCNYV depends on the organization - sequential, relative, or indexed — of the two files, and on the qualifiers you include in the CONVERT command. See the main text and the RMS-11 documentation supplied with your system for more information. COPY COPY infile[s] outfile[s] Command Qualifiers: /ALLOCATION:n[.] n is octal unless terminated with a decimal point /BLOCK_SIZE:n n is octal unless terminated with decimal point /[NOJCONTIGUOUS /EXCLUDE:filespec /NONEW__VERSION Suppresses automatic increment /NOWARNINGS of version numbers Suppresses error messages /OWN Makes outfile UIC owner of copy /OVERLAY /PRESERVE_DATE Preserves the creation date /REPLACE /REWIND /SHARED /UFD Copies files. Unless specified otherwise, COPY preserves the file organization of the input file: that is, indexed files are copied as indexed files, and so forth. See also the CONVERT command. See APPEND command description for other qualifiers. 89 DIGITAL Command Language (DCL) CREATE filespec CREATE Creates a sequential file in a directory on a file-structured device. After you issue the CREATE command, you can immediately enter text. If you want an empty file, enter a CTRL/Z. CREATE/DIRECTORY CREATE/DIRECTORY[/qualifier] [ddnn:] : [directory] Command Qualifiers: /ALLOCATION:n Entries for n files ) /LABEL:volumelabel /NOWARNINGS /OWNER__UIC:[uic] /PROTECTION:code Creates a User File Directory (UFD) on a Files-11 volume and enters its name in the volume’s Master File Directory (MFD). Nonprivileged users can create directories on mounted volumes only on their own private (allocated) devices. DEALLOCATE : DEALLOCATE[/qualifier] [ddnn:] Command Qualifiers: /ALL Frees all devices allocated by Ti : /DEVICE /TERMINAL:ttnn: (P) Counteracts ALLOCATE and frees a private device for access by others. DEASSIGN DEASSIGN[/qualifier[s]] logical__name: Command Qualifiers: /ALL Combine with any other qualifier /GLOBAL (P) /GROUP[:g] (P) /LOCAL Default /LOGIN /SYSTEM (P) /TERMINAL:ttnn: (P) Synonym for global Deletes logical name assignments. DEASSIGN counteracts both the ASSIGN and DEFINE commands. 90 DIGITAL Command Language (DCL) DEASSIGN/QUEUE (P) DEASSIGN/QUEUE queuename processorname Counteracts ASSIGN/QUEUE. 1t is used to eliminate the path from a queue to a processor in the Queue Manager subsystem. DEBUG DEBUG[taskname] Forces a task to trap to a debugger by setting the T-bit in the task’s Processor Status Word. The task must have been built using the /DEBUG qualifier to the LINK command, or have issued an Executive directive specifying a debugger. Nonprivileged users can use this command only for nonprivileged tasks running from their own terminals. Privileged users can name any task, but the command must be issued from the terminal the task was run from. The default taskname is TTnn. DEFINE DEFINE[/qualifier[s]] logical__name equival name Command Qualifiers: /FINAL (P) /GLOBAL (P) /GROUPI:g] (P) /LOCAL Default /LOGIN (P) /SYSTEM (P) Synonym for GLOBAL /TERMINAL:ttnn: (P) /TRANSLATION:FINAL (P) Synonym for FINAL Equates a logical name to a physical device name, to all or part of a file specification, or to another logical name. All references to the logical name are resolved by the operating system. Unlike the ASSIGN command, DE- FINE does not check the syntax of equivalence name that is either a device or file specification. DELETE DELETE[/qualifier{s]] Command Qualifiers: - 4 /[NOJLOG Lists deleted files on Tl: /[NO]JQUERY /NOWARNINGS Deletes specified versions of files and releases the storage space that the files occupy. See APPEND command description for other qualifiers. DELETE/DIRECTORY DELETE/DIRECTORY[ddnn:][directory] Deletes a directory on a Files-11 volume and removes its name from the volume’s Master File Directory (MFD). Nonprivileged users can only delete directories on mounted volumes on their own private (allocated) de- vice. DIGITAL Command Language (DCL) DELETE/ENTRY DELETE/ENTRY:n{/qualifier] Command Qualifier: /FILE__POSITION:n Deletes QMG jobs by entry number. DELETE/JOB DELETE/JOB[/qualifier] queuename [[g,m]]jobname , Command Qualifier: /FILE_POSITION:n Deletes QMG jobs by queue name and job name. DELETE/PROCESSOR (P) Qualifiers: DELETE/qualifiers processorname APPLICATIONS_PROCESSOR BATCH__PROCESSOR CARD__READER DEVICE INPUT PRINTER Synonym for input Synonym for printer Synonym for cardreader Synonym for device PROCESSOR Deletes print processors, output despoolers, or batch processors from the Queue Manager subsystem by processor name or device name. This command also sets the device unspooled. DELETE/QUEUE (P) DELETE/QUEUE queuename/ERASE Deletes queues in the Queue Manager subsystem by name. See DELETE/JOB and DELETE/ENTRY to delete jobs from queues. DIFFERENCES DIFFERENCES infile1 infile2 Command Qualifiers: /CHANGE_BAR[:n] n is alternative octal ASCII code of changebar character. Default is 041 (1) /IGNORE:arg BLANK__LINES COMMENTS FORM__.FEEDS SPACING Comments begin with any group of tabs and blanks equals one blank TRAILING__BLANKS /LINES:n : 92 The n lines specified must be the same for a match. DIGITAL Command Language (DCL) Command Line numbers in output Qualifiers: /[NOJNUMBERS file /OUTPUT filespec Names output file; T| is default. /SLP[:audittrail) Compares two ASCII (text) files line by line to determine if parallel records . (lines) are identical, and produces a listing of the differences, if any, between the files. DIRECTORY DIRECTORY]/format][/destinationjotherqual[s]}ifilespec[s]] Command Format Qualifiers: /ATTRIBUTES RMS-11 attributes /BRIEF /FREE [ddnn:] ' /FULL Free blocks on volume; default volume is SY: Blocks used and allocated /SUMMARY Destination /OUTPUT([:filespec] Names output file; Tl: is default /PRINTER Output to printer Other qualifiers /DATE:dd-mmm-yy /SINCE.dd-mmm-yy /THROUGH:dd-mmm-yy /SINCE:dd-mmm-yy/THROUGH:dd-mmm-yy /TODAY /EXCLUDE:filespec /NOWARNINGS Suppresses error messages /REWIND Displays information on files in directories (UFDs). See APPEND command description for other qualifiers. DISMOUNT DISMOUNT ddnn: [label] Command Qualifiers: /TERMINAL:tthn:(P) : /ALL Dismounts volumes from another terminal Dismount all devices mounted by user 93 DIGITAL Command Language (DCL) Command Qualifiers: /PUBLIC (P) ' /SAVE (P) /[NOJUNLOAD ‘ /SYSTEM Dismount all users from volume Disk keeps spinning Affects magnetic tape devices only. Synonym for /PUBLIC Marks the volume mounted on the specified device as logically off line and disconnected from the file system. EDIT EDIT[/qualifier] [edit-input] Command Qualifier: . /EDI j /KED /K52 /MAKE /MUNG /OUTPUT: filespec /CREATE /SOS /TECO Line text editor Unbundled KED editor VT52 version of KED Unsupported TECO editor Unsupported TECO editor Use with KED and K52 Use with KED and K52 Unsupported Son of Stopgap Unsupported Text Editor and Corrector /USING:yyy Unsupported user editor Invokes an editor. See also EDIT/EDT and EDIT/SLP for those editors. EDIT/EDT EDIT/EDT[/qualifier[s]] filespec Command Qualifiers: /[NO]JCOMMAND(:filespec] Default is COMMAND: EDTINLEDT /[NO]JCREATE Default is CREATE /[NOJREAD__ONLY - /[NO]JRECOVER Default is NOREAD_ONLY Default is NORECOVER /[NOJJOURNAL[:filespec] /[NO]JOUTPUT(:filespec] Invokes EDT, the DIGITAL standard editor, and the default editor. EDIT/SLP EDIT/SLP[/qualifier[s] filespec Command Default is /AUDIT: Qualifiers: /[NOJAUDIT[:(arg[s])] POSITION:n SIZE:n 94 °~ (POS:80:5122:8) n<=132. n<=14. DIGITAL Command Language (DCL) Command Qualifiers: /CHECKSUMI:n] /[NO]JLIST[:filespec] /[INOJOUTPUT(:filespec] /[NOJREPORT Report truncation lines by audit trail /[NO]JTAB Right-justify with tabs or spaces. Default is NOTAB /[NO]JTRUNCATE[:n] : : Deletes audit trails and trailing characters Invokes the Source Language Input Program (SLP), a program-maintenance editor. FIX (P) FIX taskname [/qualifier(s)] Qualifiers: /READONLY_SEGMENT /REGION Causes an installed task or region to be loaded and locked into memory. HELP HELP[/qualifier{s]] [%] [parameter1] [...parameter9] Command Qualifiers: , /OUTPUT:filespec Default is /OUTPUT:TI: /LOCAL Help file is in default UFD; /GROUP Help file is in [g,1]; g is /CLl:cliname your gi'oup number /MCR Default for MCR terminals /DCL Default for DCL terminals /FILE:filespec /filename Names file containing help text Defaults to LB:[1,2]filename.HLP Displays information about your system. Help for MCR, DCL, and most utilities is supplied with the system. Your system may also have help for an alternate CLI, as well as local, group, or other special help. HOLD/ENTRY HOLD/ENTRY:n Holds a QMG job in its queue by entry number. HOLD/JOB HOLD/JOB queuename [[g,m]] jobname Holds a QMG job in its queue by queue name and job name. 95 DIGITAL Comniand Language (DCL) INITIALIZE INITIALIZE[/qualifier[s]] ddn: volumelabel Command Qualifiers: /ACCESSED:n Number of UFDs accessed simultaneously /BAD_BLOCKS:arg AUTOMATIC (AUTOMATIC,MANUAL) MANUAL /DENSITY:arg NOAUTOMATIC OVERRIDE (OVERRIDE,MANUAL) " 800 1600 HIGH LOW /EXTENSION:n- Extend files by n blocks; default n=5. /FILE_PROTECTION:(code) /HEADERS:n /INDEX:arg BEGINNING MIDDLE END Locates index file on volume Default for tapes and DECTAPES Default for disks Logical block n /LABLE: VOLUME__ACCESSIBlLITY “c" Magtape only; limits access /MAXIMUM__.FILES:n /[NO]SHOW /OWNER:[uic] /PROFESSIONAL Default is NOSHOW Specifies owner of volume Initializes disk Professional 300 series /PROTECTION:(code) /WINDOWS:n Default n=7. Produces a volume in Files-11 format. See also INITIALIZE/UPDATE. You must mount the volume /FOREIGN. Nonprivileged users must allocate the device. INITIALIZE PROCESSOR processortype: 96 |NITIALIZE/processortype processornam e/.,....lifler[s] APPLICATIONS__PROCESSOR output CARD__READER output BATCH_PROCESSOR input DIGITAL Command Language (DCL) Processortype: ' , Qualifiers: DEVICE output PRINTER output PROCESSOR output INPUT input /BATCH__QUEUE:queuename /CONSOLE:ddnn: input input /FLAG_PAGE:n output /FORMS:n output [NOJLOWERCASE /[NO]JSHAREABLE INITIALIZE/QUEUE , output output /[NOJUPPERCASE output /PRINTER__QUEUE:queusname input INITIALIZE/QUEUE queuename|/qualifier] (P) Command Qualifiers: /BATCH /PRINTER /NOWARNINGS INITIALIZE/QUEUE creates, names, and starts a queue in the Queue Manager subsystem. INITIALIZE/UPDATE INITIALIZE/UPDATE[/qualifier[s]] ddnn: volumelabel Command Qualifiers: /ACCESSED:n /DENSITY:arg HIGH LOW /EXTENSION:n ’ o Extend full files by n blocks /FILE_PROTECTION:code /LABEL:newvolumelabel /MAXIMUM__FILES:n /OWNER:[uic] /PROFESSIONAL Initializes disk as Professional 300 series /PROTECTION:code /[NOJSHOW /WINDOWS:n Default is SHOW Mapping pointers to file windows; default is 7. Invokes the HOME utility to alter values in the Volume Home Block without affecting the other data on the volume. INITIALIZE/UPDATE is only for disks and DECtapes in Files-11 format. You must mount the volume /FOREIGN. 97 DIGITAL Command Language (DCL) INSTALL INSTALL[/qualifier{s]] [$]fllespec (P) Command Qualifiers: /[NOJCHECKPOINT /COMMAND:"taskcommand" n (decimal) additional /EXTENSION:n words of address space /[NO]INTERPRETER /MULTIUSER_PARTITION:parname Read-only portion /PARTITION:parname /[NOJPOSTMORTEM 0-250 /PRIORITY:n /[NOJREADONLY__COMMON /[NO]RESIDENT_HEADER /[NO]JSLAVE /TASK__NAME:taskname /TRANSLATION__ROUTINE:n - Default is NOSLAVE 1-6 characters /UIC:[uic] /[NOJWRITEBACK Includes a task in the System Task Directory, thus making it known to the system. LIBRARY LIBRARY[/operation][/qualifier{s]] LIBRARY @fllespec Creates and maintains user-written library files. The command has eight fupctions, each listed here as a separate command. See main text for more details on all functions and qualifiers. LIBRARY/COMPRESS[:(arg[,s])] lib{newlib] LIBRARY/COMPRESS Entry point table entries Arguments: GLOBAL:n MODULES:n BLOCKS:n Module name table entries Size in 256-word blocks. Physically deletes modules that have been logically deleted through LIBRARY/DELETE. You can rename the resulting compressed library. You can also use this command to copy a library and rename it. LIBRARY/CREATE LlBRARY/CREATE[:(arg[,s])][/quaiifler[s]llb[lnflle[s]] Arguments: GLOBAL:n MODULES:n BLOCKS:n Entry point table entries Module name table entries Size in 256-word blocks DIGITAL Command Language (DCL) Command Qualifiers: /[NO]JGLOBALS /MACRO /OBJECT ‘ Identifies object library; default /SELECTIVE__SEARCH /SQUEEZE /UNIVERSAL Creates a library and optionally inserts one or more modules into it. LIBRARY/DELETE LIBRARY/DELETE llbspéc module[,module[,s] Deletes object modules from a library. See LIBRARY/REMOVE for removing global symbols (entry points) from & library. LIBRARY/EXTRACT LIBRARY/EXTRACT[/qualifler] libspec module[,s] Command Qualifier: /OUTPUT[:filespec] Reads one or more modules from a library and writes them to a specified. output file. You can extract up to eight modules with a single command. If you extract more than one module, the modules are concatenated in the output file. Default output file is TT: LIBRARY/INSERT LIBRARY/INSERT libspec filespec[s] Command Qualifiers: /[NO]JGLOBALS /SELECTIVE_SEARCH /SQUEEZE Inserts modules from one or more files into a library. LIBRARY/LIST LIBRARY/LIST[:filespec] libspec Command Qualifiers: /BRIEF /FULL /[NOINAMES Names and global entry points Lists the names of all modules in a library on your terminal or in an output file. LIBRARY/REMOVE LIBRARY/REMOVE libspec globalf,globall,s] Removes global symbols (entry points) from a library. See LIBRARY/DELETE for deleting object modules from a library. 99 DIGITAL Command Language (DCL) LIBRARY/REPLACE Command Qualifiers: LIBRARY/REPLACE libspec fllespec|s] : /[NOJGLOBALS /SELECTIVE__SEARCH /SQUEEZE Replaces a module in a library with a new modules of the same name and deletes the old module. LINK LINK[/qualifier[s]] filespec[/qualifier[s]][,filespec[s]] Command Qualifiers: /ANCILLARY_PROCESSOR([:n] /[NO]JCHECKPOINT:arg SYSTEM Checkpoints to [1,2] CORIMG.SYS Checkpoints to task TASK image file /CODE:(arg[s]) cLl DATA_SPACE EAE FAST_MAPFast mapping [NOJFPP PIC Same as POSITION— INDEPENDENT POSITION__INDEPENDENT /COMPATIBLE /[NO]JCROSS__REFERENCE Default is ODT /[NO]DEBUG(:filespec] /ERROR__LIMIT:n Same as PIC Stops task build after n errors Same as /TASK /[NOJEXECUTABLE:filespec /[NOJEXTERNAL /FAST /FULL__SEARCH /[NOJHEADER /[NOJIO_PAGE /LONG /MAP[:filespec] Long map /[NOJMEMORY__MANAGEMENT[:n] Default is MEM /OPTIONS[:filespec] /OVERLAY__DESCRIPTION /POSTMORTEM /[NO]PRINT /[NO]PRIVILEGED Default is NOPRIV . 100 DIGITAL Command Language (DCL) Command Qualifiers: /[NO]JRECEIVE /[NO]JRESIDENT_OVERLAYS /SAVE Saves indirect file /[NOJSEGREGATE Default is NOSEG /SEQUENTIAL ' /SHAREABLE[:arg] Multiuser; default COMMON argument is TASK LIBRARY TASK /SLAVE /SLOW /SYMBOL__TABLE[:filespec] /[NOJSYSTEM__LIBRARY_DISPLAY Default is NOSYS /[NO]TASK[:filespec] Same as /EXECUTABLE /TKB Default is TKB /TRACE /INOJWARNINGS Default is WARNINGS /[NO]WIDE File Qualifiers: /[NOJCONCATENATE /DEFAULT_LIBRARY Names file to replace {1,1] SYSLIB.OLB /[NOJGLOBALS Default is GLOBALS /LIBRARY /INCLUDE:(module1l...,modulen) /OVERLAY_DESCRIPTION /SELECTIVE__SEARCH Invokes the Task Builder, which links object modules and routines from user and system libraries to form an executable task. See also LINK/C81. LOGIN LOGIN userid password Grants access to a multiuser protection system and establishes your privileges as a system user. LOGOUT LOGOUT[/qualifier] Command Qualifier: /[NOJHOLD Holds remote line after logout; default is NOHOLD Counteracts LOGIN. LOGOUT also aborts any nonprivileged tasks running from the terminal, and dismounts any volumes and deallocates any private devices allocated from the terminal. 101 DIGITAL Command Language (DCL) MCR MCR mcrcommand Enters an MCR command from a DCL terminal without leaving DCL. MOUNT MOUNT[/qualifier[s]] ddnn: volumelabel ble devices) addr (Disks and other rand MOUNT[/qualifier[s]] ddnn:[,ddnn:...] flleset-1D (magnetic tapes) Command Qualifiers for Both Disks and Tapes: /CACHE:(option],s]) par=[main__parname:]subparname[:size] [NO]DIRECTORY [NO]JLOGICAL [NOJOVERLAY [NOJREAD_AHEAD [NOJVIRTUAL /NOCACHE /DEFAULT:arg SAVE NOUNLOAD UNLOAD /FILE_PROTECTION:(code) Protection for files created during mount /FOREIGN /OVERRIDE:IDENTIFICATION (P) /PARAMETERS:"user parameters" /PROCESSOR:arg acpname UNIQUE /PROTECTION:(code) /PUBLIC (P) Deallocates and sets device public /[NOJWAIT Default is /NOWAIT /[NO]JSHAREABLE /[NO]JSHOW /SYSTEM /[NOJWRITE Command Qualifiers for Disks and Other Files-11 Devices: n is number of File Control Blocks /ACCESSED:n Extend full files by n blocks /EXTENSION:n /OWNER:[uic] /UNLOCK /WINDOW:arg n (USER:n,INDEX:n) FULL 102 DIGITAL Command Language (DCL) Command Qualifiers for ANSI and Unlabelled Tapes: /BLOCK_SIZE:n /CARRIAGE_CONTROL:arg ' FORTRAN LIST NONE /DENSITY:arg 800 1600 /[NO]JHDR3 /[NOJLABEL /OVERRIDE:arg ACCESSIBILITY EXPIRATION__DATE IDENTIFICATION SET__IDENTIFICATION /RECORD__SIZE:n /TRANSLATE:arg EBCDIC NONE UT1 uT2 uUT3 /VOLUME__IDENTIFICATION:(volume-ID[,volume-ID[s]) Declares a volume to be logically known to the system, on line, and available for use. Some qualifiers can be used with any MOUNT command,; some are limited to mounting disks (and other random-addressable devices) and others are limited to mounting magnetic tapes. PRINT PRINT[/qualifier[s] filespec[/qualifiers][,filespec[s]] Command Qualifiers: /AFTER:(dd-mmm-yy hh:mm) /AFTER:TOMORROW /COPIES:n /[NO]DELETE /DEVICE:ddnn: /[NOJFLAG__PAGE Flag page on each file; default is NOFLAG /FORMS:n n can be 0 through 256; default is 0 /[NOJHOLD Default is NOHOLD /JOB__COUNT /[NOJJOB__PAGE | Flag page on job; default is JOB.PAGE 103 DIGITAL Command Language (DCL) Command Qualifiers: /LENGTH:n /[NOJLOWERCASE /NAME:jobname 1-9 characters /[NOJTRANSFER /PAGE_COUNT:n /PRIORITY:n . nis 1 through 150 nonprivileged 1 through 250 privileged Default is 50 /QUEUE:queuename /[NO]JRESTART /[NOJUPPERCASE File Qualifiers: /COPIES:n /[NO]DELETE /[NOJTRANSFER Queues files for printing on a line printer. PRINT can also queue jobs for other output devices. PURGE PURGE[/qualifier{s]] filespec[s] Command Qualifiers: /KEEP:n /{NO]JLOG /NOWARNINGS Lists files on Tl as deleted Suppresses error messages Deletes all but the latest versions of files, and releases the storage space that the deleted files occupy. See APPEND command description for other qualifiers. RELEASE/ENTRY:n RELEASE/ENTRY Releases by entry number a print or batch job that has been held in its queue. The variable n is the QMG entry number. RELEASE/JOB RELEASE/JOB queuename [[g;m]]jobname Releases by queue name and job name a print or batch job that has been held in its queue. REMOVE REMOVE[/qualifier] taskname (P) Qualifier: /REGION (P) /TRANSLATION__ROUTINE:n (P) Removes an ACD Counteracts INSTALL. REMOVE takes a task name out of the System Task Directory. 104 DIGITAL Command Language (DCL) RENAME RENAME[/qualifier[s]] oldfilespec newfilespec Qualifier: /NOWARNINGS Suppresses error messages. Changes the name, type, or version number of an existing file. See APPEND command description for other qualifiers. REQUEST REQUEST message Sends a message to the operator’s console (CO:). RUN uninstaliedtask = RUN[/qualifier[s]] [$]filespec Command Qualifiers: /[NOJCHECKPOINT /COMMAND:"taskcommand" /EXTENSION:n /PARTITION:parname /[NOJPOSTMORTEM /PRIORITY:n (P) /STATUS:arg TASK COMMAND /TASK_NAME:taskname /TIME_LIMIT:n[u] /UIC:[uic] (P) When used to run an uninstalled task from a task image file, RUN is a combination command, encompassing INSTALL, RUN, and REMOVE. RUN installedtask = RUN[/qualifier[s]] taskname Command Qualifiers: /DELAY:nu (P) /INTERVAL:nu (P) /SCHEDULE:hh:mm:ss (P) /STATUS:arg COMMAND TASK /SYNCHRONIZE:u /UIC:[uic] (P) (P) Initiates the execution of installed tasks. Privileged users can use RUN to initiate the execution of installed tasks on a schedule by creating entries in the sytem clock queue. SET [DAYJTIME (P) SET [DAY]TIME:[dd-mmm-yy] [hh:mm] Sets the system date and time. 105 DIGITAL Command Language (DCL) SET DEBUG SET DEBUG[/qualifier[s]] Command Qualifiers: /[NOJEXECUTE Translates, then executes the command Display logical symbols and /FULL translation Displays the MCR translation of any DCL command. SET DEFAULT SET DEFAULT[NOJNAMED__DIRECTORY device namej:] - Command Qualifiers: /[NOJNAMED__DIRECTORY Aliows the sytem to accept either named or numbered directories Default: /NONAMED_DIRECTORY Establishes your default device or directory, or both. With no arguments, SET DEFAULT returns a nonprivileged user to login device and UIC. SET DEVICE (P) SET DEVICE:ddnn:/qualifier|s] Command Qualifiers: /CACHE:(option(s]) Modifies data caching PAR=[main__parname:]subparname]:size] [NO]DIRECTORY [NOJOVERLAY [NOJVIRTUAL [NOJLOGICAL [NOJREAD__AHEAD /NOCHACHE /[NOJCHECKPOINT__FILE[:n] /[NOJLOWERCASE /[NO]JPUBLIC /[NO]JSYSTEM /WIDTH:n (Nonprivileged for TI:) Establishes certain device attributes. 106 n is number of decimal blocks in [0,0] CORIMG.SYS Default is NOPUBLIC Synonym for /[NOJPUBLIC DIGITAL Command Language (DCL) SET FILE SET FILE[/qualifier[s]] filespec[/qualifier[s]] Command Qualifiers: /ENTER:synonym__filespec Refers to a file by more than one name Suppresses error mes- sages /NOWARNINGS /REMOVE /REWIND /TRUNCATE File Qualifiers: /END_OF_FILE:(BLOCK:n,BYTE:n) Establishes certain file characteristics. You can change an end-of-file marker, have an entry in one directory point to a file in another directory, remove an entry from a directory, or truncate files to their actual length. SET GROUPFLAGS SET GROUPFLAGS:n[/qualifier] Command Qualifiers: /CREATE Default is CREATE /DELETE ' Creates and deletes group global event flags. Nonprivileged users can use the command for their own group. The variable n is the group number. SET HOST SET HOST nodename Connects your terminal to another system. Both your current system and the remote system must run DECnet software. SET LIBRARY/DIRECTORY (P) SET LIBRARY/DIRECTORY:[directory] Establishes the directory where the system utilities and other nonprivileged system tasks are kept. SET [NOJPARTITION (P) SET [NOJPARTITION:parname/qualifier]s] Command Qualifiers: /BASE:n /DEVICE Device common /DIAGNOSTIC 107 DIGITAL Command Language (DCL) Command Qualifiers: /SIZE:n /SYSTEM /TOP /[+]n Creates or eliminates a partition. SET PASSWORD SET PASSWORD Allows nonprivileged users to change their passwords. SET PRIORITY (P) SET PRIORITY:n taskname Alters the priority of an active task. SET PROTECTION SET PROTECTION:(code)[/qualifier[s]] filespec[s] Command Qualifier: /[NO]DEFAULT Establishes your personal default protection code for all files that you create after issuing com- mand. Establishes the protection status of files. Default is SY:RWED, OW:RWED,GR:RWED,W:R. See APPEND command description for other qualifiers. SET QUEUE/ENTRY SET QUEUE/ENTRY:nf/qualifier] Command Qualifiers: /AFTER:(dd-mmm-yy hh:mm) /COPIES:n /[NO]DELETE /FILE_POSITION:n /FORMS:n /HOLD Same as HOLD/QUEUE /JOBCOUNT:n /LENGTH:n /[NO]JLOWERCASE /PAGE_COUNT:n /PRIORITY:n n is 1 through 150 nonprivileged; 1 through 250 privileged Default is 50. /RELEASE Same as RELEASE/QUEUE /[NOJRESTART /[NOJUPPERCASE Modifies by entry number some attributes of print or batch jobs once they are in a queue. See SET QUEUE/JOB to modify by job name. 108 DIGITAL Command Language (DCL) | SET QUEUE/JOB Command Qualifiers: SET QUEUE/JOB[/qualifier] queue [[g,m]]jobname /AFTER:(ddd-mmm-yy hh:mm) /COPIES:n /[NO]DELETE /FILE_POSITION:n /FORMS:n /JOBCOUNT:n /HOLD Same as HOLD/QUEUE /LENGTH:n /[NOJLOWERCASE /PAGE_COUNT:n /PRIORITY:n n is 1 through 150 nonprivileged; 1 through 250 privileged /RELEASE Same as RELEASE/QUEUE Default is 50. /[NOJRESTART /[NOJUPPERCASE Modifies by job name some attributes of print or batch jobs once they are in a queue. See previous command to modify by entry number. SET SYSTEM (P) SET SYSTEM/qualifier Command Qualifiers: /[NO]JCRASH__DEVICE[:ddnn:] Loads a crash driver /DIRECTORY:[directory] Sets directory where system tasks are kept /EXTENSION LIMIT:n \ Maximum size a task can be extended /[NOJLOGINS /NETWORK__UIC:[uic] : Sets directory for DECnet-related tasks /PACKETS:n /POOL:top:max:total n is 0 through 15 Increases pool size /POOL/LIMITS:arg HIGH=n high pool limit low pool limit LOW=n MINIMUM_SIZE=n minimum size of largest free pool block required TASK__PRIORITY=n lowest task priority Establishes certain characteristics of the system. 109 DIGITAL Command Language (DCL) SET TERMINAL[:ttnn:}/qualifier{s] SET TERMINAL Command Qualifiers: Group 1: Common Use /[NO]BROADCAST /CLlcliname /[INO]JCONTROL=C /DCL /[NOJHOLD__SCREEN /INQUIRE /[NOJLOWERCASE NOLOWER is default. Same as UPPER /MCR /[NO]JPRIVILEGED (P). /SPEED:(transmit,receive) /[NOJUPPERCASE Same as LOWER /WIDTH:n Group 2: Terminal Setup /[NOJADVANCED_VIDEO /[NOJANSI_CRT /[NOJAUTOBAUD /ASR33 /ASR35 /[NO]BLOCK_MODE /CRFILL:n /INO]JDEC_CRT /DTCO1 /[NOJEDIT_MODE /[NOJFORM_FEED /[NOJHARDCOPY /[NOJHOSTSYNC /KSR33 /KSR35 /LA12 /LA24 /LA30P /LA30S /LA34 /LA36 /LA38 /LA50 /LA100 110 n is 0 through 7. DIGITAL Command Language (DCL) Command Qualifiers: Group 2: Terminal Setup /LA120 /LA180S /LA210 /LFFILL /LNO3 /LQPO2 /LQPO3 /MODEL:arg /PAGE_LENGTH:n Default is terminal hardware setting /PRINTER__PORT /PRO_SERIES /[NO]JREGIS /[NOJSCOPE /[NOJSOFT_CHARACTERS /[NO]JTAB ‘ /TRANSLATION__ROUTINE[:arg] ' n ACD number logical logical name for ACD number /[NOJTTSYNC /VTO5 /VT50 /VT52 /VT55 /VT61 /NT100 /VT101 /NVNT102 /NT105 /NT125 /VT131 /VT132 /VT200_SERIES Group 3: Task Setup /INOJECHO /[NOJEIGHT_BIT /[NOJESCAPE /[NOJFULL_DUPLEX /[NOJINTERACTIVE /[NOJLOCAL i1 DIGITAL Command Language (DCL) Command Qualifiers: Group 2: Terminal Setup /[NOJPARITY[:type] oDD EVEN /[NOJPASSALL /[NOJPASTHRU /[NOJREMOTE. /[NO]JSERIAL /[NO]SLAVE /[NOJTYPE_AHEAD /[NOJWRAP SET TERMINAL sets various attributes of your terminal. Privileged users can set attributes for any terminal. SET UiC (P) SET UIC [g,m] Changes your User Identification Code (UIC). SHOW ACCOUNTING Command Qualifiers: SHOW ACCOUNTING/qualifier /INFORMATION /TRANSACTION[:infile] outfile Displays current information on your terminal session for nonprivileged users. Privileged users can display information about any terminal session. SHOW ASSIGNMENTS Command Qualifiers: SHOW ASSIGNMENTS[/qualifier[s]] /ALL /GLOBAL (P) GROUP[g] (P) /LOCAL /LOGIN (P) /SYSTEM (P) uic group number Default is LOCAL Same as /GLOBAL /TERMINAL:ttnn: (P) Displays at your terminal all local and login logical name assignments. Privileged users can display assignments from other terminals and global assignments. 112 DIGITAL Command Language (DCL) SHOW CACHE SHOW CACHE [ddnn:][/qualifer] Command Qualifier /RATE:n Displays disk data caching information. SHOW CLOCK_QUEUE SHOW CLOCK__QUEUE Displays information about tasks currently in the clock queue. This information consists of the task names, the next time each task is to be run, and each task’s reschedule interval, if any. SHOW COMMON SHOW COMMONI[:name][/qualifier] Command Qualifier: /TASK Displays the name of resident commons installed in the system, their PCB addresses, the number of attached tasks, and the status of the common. SHOW [DAY]TIME SHOW [DAY]TIME Displays the system time and date setting. SHOW DEFAULT SHOW DEFAULT Displays the current default device and UFD for your terminal, along with your terminal number. SHOW DEVICES SHOW DEVICES[/qualifier][dd[nn:]] Command Qualifiers: /[NOJCACHE /[NOJPUBLIC /[NO]JSYSTEM Synonym for /[NO]PUBLIC /WIDTH Displays information about the devices included in the system. SHOW GROUPFLAGS SHOW GROUPFLAGS Displays the group global event flags currently in the system. SHOW HOST SHOW HOST Displays the name of the processor to which your terminal is currently connected. 113 DIGITAL Command Language (DCL) SHOW LIBRARY SHOW LIBRARY Displays the current library directory. This is the directory where nonprivileged system utilities are kept. SHOW LOGICALS[qualifierss]] SHOW LOGICALS Command Qualifiers: ‘ /ALL (P) /GLOBAL (P) /GROUP[:g] (P) /LOCAL /LOGIN (P) /SYSTEM (P) /TERMINAL:ttnn: (P) Displays at your terminal all local and login logical name assignments. Privileged users can display assignments from other terminals, from other groups, and global assignments. SHOW MEMORY SHOW MEMORY Invokes the Resource Monitoring Display (RMDEMO), a dynamic display of the system’s activities in memory. SHOW PARTITIONS SHOW PARTITIONS[:name] Displays address and content information about the partitions in the system. You can display information about all partitions or about a single partition. SHOW PROCESSOR SHOW PROCESSOR [processor-name|/arg]] Arguments: BATCH CARD_READER DEVICE INPUT PRINTER Same as INPUT Output processor; same as printer Same as CARD_READER Same as DEVICE Displays information about the batch processors, printers, card readers, and other devices under control of the Queue Manager. SHOW PROTECTON SHOW PROTECTION Displays your personal default file protection code. 114 DIGITAL Command Language (DCL) SHOW QUEUE SHOW QUEUE[/qualifier] [queuename] Command Qualifiers: /ALL All entries in all queues /BATCH ' /BRIEF /DEVICE Same as /PRINTER; all queues /ENTRY:n /FILES ‘ : Files in each job; shorter than FULL /FORMS:n /FULL /NAME:jobname /OWNER__UIC:[[uic]] /PRINTER ' Same as /DEVICE Displays information about print jobs in queues. SHOW SYSTEM SHOW SYSTEM[/qualifier] Command Qualifiers: /CLI ‘ /CRASH__DEVICE /DIRECTORY Default; displays system directory JEXTENSION__LIMIT /NETWORK__UIC /PACKETS /POOL /POOL/LIMITS /SECONDARY_POOL Displays information about the current system. SHOW TASKS SHOW TASKS[:taskname]/qualifier[s] Command Qualifiers: /ACTIVE[:ttnn:] /DEVICE:ddnn: /INSTALLED Use only with /INSTALLED/BRIEF : /LOGICAL_UNITS /BRIEF /FULL /ALL Displays information about active or installed tasks. 115 DIGITAL Command Language (DCL) SHOW TASKS/DYNAMIC Format to display task header: SHQW TASK:taskname/DYNAMIC[/qualifier] Command Qualifier: /RATE:n Format to display Active Task List: SHOW TASKS/ACTIVE/DYNAMIC[/qualifier[s]] Command Qualifiers: /OWNER:arg ddnn: /ALL /PRIORITY:n /RATE:n Default Default for n is 250 Rate in seconds for display change; Default is 1. Invokes RMD to display on a video terminal continuing changes to either a single task header or to all or part of the Active Task List. On a hard-copy terminal, SHOW TASKS/DYNAMIC provides a snapshot display. SHOW TERMINAL[:ttnn:][/qualifier] SHOW TERMINAL Command Qualifiers: /[NOJANSI_CRT /[NOJADVANCED_VIDEO /[NOJAUTOBAUD /[NOJASR33 /[NO]JASR35 /[NO]JBLOCK__MODE /[NO]BROADCAST /[INO]JCONTROL=C /[NO]JCRFILL /DCL /[NO]DEC_CRT /DTCO1 /[NO]JECHO /[NOJEDIT__MODE /[NOJEIGHT__BIT /[NOJESCAPE /[NO]JFORM__FEED /[NOJFULL_DUPLEX /[NOJHARDCOPY /[NOJHOLD__SCREEN /[NOJHOST_SYNC /HT /[NOJINTERACTIVE 116 DIGITAL Command Language (DCL) Command Qualifiers: /[NOJKSR33 /[NO]JKSR35 /[NOJLA12 /[NO]JLA24 /[NO]JLA30P /[NO]JLA30S /[NO]LA34 /[NOJLA36 /[NO]LA38 /[NOJLAS0 . /[NO]JLA100 /[NOJLA120 /[NO]JLA180S /[NOJLA210 /[NO]JLFFILL /[NO]JLNO3 /[NOJLOCAL /LOGGED__ON /[NOJLOWERCASE /[NOILQPO2 /[NOJLQPO3 /MCR /MODEL /PAGE_LENGTH /[NOJPARITY /[NOJPASSALL /[NOJPASTHRU /PRINTER__PORT /[NO]JPRIVILEGE /[NO]PRO__SERIES /[NO]JREGIS /[NOJREMOTE /RT /[NO]JSCOPE /[NOJSERIAL /[NO]JSLAVE /SPEED ‘ /[NO]JSOFT_CHARACTERS /[NO]JTAB /Tl /TT /[NO]JTTYSNC /[NO]JTYPE_AHEAD /[NOJUPPERCASE 117 DIGITAL Command Language (DCL) Command /VT Qualifiers: /[NOJVTO05 /[NOJVTS50 /[NOJVT52 /[NO]JVTSS /[NO]VT61 /[NO]JVT100 /[NO]JVT101 /[NOJVT102 /[NO]JVT105 /[NOJVT125 /[NO]JVT131 /[NOJVT132 /[NO]JVT200__SERIES /WIDTH /[INOJWRAP Displays information about your terminal and other terminals on your system. 7 SHOW UIC SHOW UIC Displays your User Identification Code (UIC). SHOW USERS SHOW USERS Displays all currently logged-in terminals, including DECnet host terminals and virtual terminals, with the default UFD and login UIC for each. START START[/qualifier] [taskname] Command /TERMINAL:ttnn: Qualifier: (P) Resumes execution of a task stopped by a STOP$S directive. Taskname defaults to TTnn. START PROCESSORNAME (P) START/qualifier processorname /qualifier APPLICATIONS__PROCESSOR BATCH__PROCESSOR Same as INPUT CARD_READER Same as PRINTER DEVICE Qualifiers: INPUT PRINTER - 118 PROCESSOR Same as CARD_READER Same as DEVICE DIGITAL Command Language (DCL) Parameter Qualifiers: /FORMS:n Overrides initialization value Default is CONTINUE /CONTINUE /RESTART /NEXT /TOP_OF_FILE /BACKSPACE:n /FORWARDSPACE:n /PAGE:n /ALIGN Starts an output processor or cardreader processor. START/QUEUE (P) START/QUEUE queuename Starts a queue. START/QUEUE/MANAGER (P) START/QUEUE/MANAGER Starts the Queue Manager. START/UNBLOCK START/UNBLOCK[qualifier] [taskname] Command Qualifier: /TERMINAL:ttnn: (P) Continues the execution of a task blocked by the STOP/BLOCK command. Nonprivileged users can unblock any task running from their own terminals. Privileged users can unblock any task. STOP/ABORT STOP/ABORT printer[:] Stops the current job on a line printer immediately. Privileged users can stop any job. Nonprivileged users can stop only their own jobs. STOP/BLOCK STOP/BLOCK [/qualifier] [taskname] Command Qualifier: /TERMINAL:ttnn: (P) Blocks an installed running task. The task no longer executes or competes for memory. Nonprivileged users can block tasks running from their own terminals. Privileged users can block any task. STOP PROCESSORNAME (P) Qualifiers: STOP/qualifier processorname/qualifier APPLICATIONS__PROCESSOR BATCH_PROCESSOR CARD__READER Same as INPUT 119 DIGITAL Command Language (DCL) Qualifiers: DEVICE INPUT PRINTER Same as PRINTER Same as CARD_READER Same as DEVICE ' PROCESSOR Parameter /ABORT Qualifiers: /FILE_END /JOB_END /PAUSE Stops a batch processor, card-reader processor, printer, or other output Processor. STOP/QUEUE queuename STOP/QUEUE (P) Stops queues.. STOP/QUEUE/MANAGER (P) Command Qualifier: STOP/QUEUE/MANAGER(/qualifier] /ABORT Stops the Queue Manager after the current job. /ABORT stops the Queue Manager immediately. SUBMIT SUBMIT][/qualifier{s]] filespec|s] Command Qualifiers: /AFTER:TOMORROW /AFTER:(dd-mmm-yy hh:mm) /[NO]DELETE ~ /[NOJHOLD /[NOJLOG__FILE /NAME:jobname /[NOJPRINTER[:queuename] ‘ | /PRIORITY:n Deletes batch file after run; command or filespec qualifier Default is NOHOLD; /HOLD has same effect as HOLD command. 1-9 characters; default is first filename Optionally name queue for log print job n is 1 through 150 nonprivileged; 1 through 250 privileged, default n=50. 120 DIGITAL Command Language (DCL) Command Qualifiers: /QUEUE:queuename /[NOJRESTART /[NOJTRANSFER Queues QMG batch jobs consisting of one or more user batch jobs for processing by a batch processor. TYPE TYPE [/qualifier[s] filespec[s] Prints selected files on your terminal. See APPEND command description for other qualifiers. UNFIX UNFIX[/qualifier] taskname Command Qualifiers: /REGION /READONLY_SEGMENT Frees a fixed task or region from memory. Taskname can also be a region name. UNLOCK UNLOCK [/qualifiers] filespec[s] Unlocks locked files. Locked files are files that have been improperly closed. They are identified by an L in the directory listing. See APPEND command description for other qualifiers. 121 ERROR LOGGING SYSTEM The Error Logging System records information about errors and events that occur on system hardware for immediate action or later analysis and reporting. The system consists of four tasks: o The Error Logger (ERRLOG) ¢ The Error Log Interface (ELI) e The Report Generator (RPT) e The Control File Language Compiler (CFL) This section describes the ELI commands that run ERRLOG and the RPT commands that generate error log reports. ELI COMMANDS The general format for an ELI command is: [filespec]/switch1[/...switchn] filespec A device mnemonic or the name of an error log file, backup file, or file to append to the current error log file. switches Switches to set, change, or display ERRLOG operation. You must specify at least one switch on each ELI command line. Using ELI Defaults: ELI /LOGGED This command starts ERRLOG, using LB:[1,6]LOG.ERR as the error log file and LB:[1,6]BACKUP.ERR as the backup file. It also starts error limiting on the error log devices. Switches: APPEND filespec/AP Appends the specified file to the current error log file. Logging must be active for this switch to work. BACKUP filespec/BA Sets the name for a backup file to the next highest version of the file named. This file is used if the primary error log file becomes unusable. 123 Error Logging System HARD ERROR LIMIT device(s)/HL:n Sets limit (n) for hard (unrecoverable) errors on a device or devices. If limiting is turned on and the hard error limit is reached, logging of hard errors for that device stops. /LIM LIMITING Starts the use of error limiting, using either default limits or those set with ELI switches. [filespec/LOG LOGGING Begins error logger operation, turns on error limiting, and, if you specify a file name, overrides the -default name of the error log file (LB:[1,6]LOG.ERR). /NOLIM /-LIM NOLIMITING Stops the use of error limiting. /NOLOG /-LOG NOLOGGING Stops error logger operation and turns off error limiting. RESET device(s)/RE Resets the QIO and error counts on the specified devices to 0. You may specify up to 14 devices. SHOW [device(s))/SH Displays error logging information for the specified devices or, if 'you do not specify device names, for all error logging devices on the system. Also displays information about the current operating status of the error logging system. SOFT ERROR LIMIT device(s)/SL:n Sets limits (n) for soft (recoverable) errors on a device or devices. If limiting is turned on and the soft error limit is reached, logging of soft errors for that device stops. SWITCH filespec/SW Copies the current error log file to the file specified and begins logging in that file. 124 % Error Logging System RPT COMMANDS The general format for an RPT command is: [reportfile][/switch(es)]:[inputfile][/switches] reportfile The name of the listing file that contains the Error Log Report. switches Optional switches to control how RPT selects and formats information from the error log file. You can use the switches with either the output report file specification or the input file specification. Default: RPT =@ED The default command line selects the following RPT switches: /F[ORMAT]:B[RIEF] /TIYPEJ:A[LL] /DA[TE]:RANGE:+:» /P[ACKET]:*: /D[EVICEJ:ALL /W[IDTH]:W[IDE] Switches: DATE /DA:qualifier Qualifiers: P[REVIOUS]:ndays R[ANGE]:start:end T[ODAY] Y[ESTERDAY] Allows you to select packets based on the date of their occurrence. DEVICE /DE:qualifier Qualifiers: (devicename(s)) A[LL Allows you to select packets for a particular device, for more than one device, or for all the devices on the system. 125 Error Logging System FORMAT F:qualifier B[RIEF] Qualifiers: F[ULL] N[ONE] R[EGISTERS] Allows you to specify the desired format for the packet-by-packet report. PACKET NUMBER /PA:bbbb.xxx(:bbbb.xxx) Allows you to select a packet or range of packets by specifying the packet identification number. The value bbbb is the block number and xxx is the record number. A packet specified as * indicates open ended. REPORT /R:qualifier D[AY] Qualifiers: MONTH WEEK SYSTEM userstring Invokes a predefined string of switches for RPT to use. The qualifier can be one of the DIGITAL-defined strings or a user-defined switch string. The DIGITAL-defined strings and their switches are as follows: SYSTEM /FO:BR/TY:A/DA:RA:*:#/PA:+:+/WLWI/SU: (H,E) DAY /F O:FULL/TY:A/DA:TODAY/WL:WI/SU:ALL /FO:BR/TY:A/DA:PRE:7/WI:WI/SU:(H,E) /FO:BR/TY:A/DA:PRE:Bl/WI:WI/SU:(H,E) WEEK MONTH SERIAL NUMBER Qualifiers: /SE:qualifier D[RIVE]:number and/or P[ACK]:number Selects packets based on drive or pack serial number. SUMMARY /SU:summary__type Qualifiers: HISTORY ERROR GEOMETRY ALL -NONE Allows you to select the type of summary reports that RPT generates. You cannot use the multiple summary syntax to specify more than one keyword if one of the keywords is ALL or NONE. That is, /SU:(ALL) is legal but /SU:(ALL,ERROR) is not. The default is /SU:NONE. 126 Error Logging System TYPE [T:qualifier Qualifiers: A[LL] C[ONTROL] E[RRORS] M[EMORY] PE[RIPHERAL] PR[OCESSOR] S[YSTEM__INFO] Selects packets based on packet type or types. VOLUME LABEL /V:volumelabel Selects packets based on volume label. WIDTH /W:qualifier Qualifiers: N[ARROW] WIIDE] Selects the width of the report RPT creates (80 or 132 characters). Many RPT switches accept lists of qualifiers. The format for these lists is: /switch:(qualifier 1, qualifier 2...) 127 PROCEDURE FOR HALTING A JOB IN A PRINT QUEUE The following section describes the commands to stop a job on a print processor without actually disabling the processor or queue manager. The procedure is useful when you accidentally queue a large job that should not be printed. STOP/ABORT (/KIL) deletes the active job on a given processor. Privileged users can delete any job; nonprivileged users can delete their own jobs. You do not need to know the queue name or job name, but rather the name of the processor to delete the job. - Format DCL>STOP/ABORT processorname MCR>QUE processorname:/KIL processorname Specifies the processor whose active job you wish to delete. Note that the MCR command format requires a colon ( : ) after the processor name. You can stop jobs running on any processor under the control of QMG. Examples DCL>STOP/ABORT Processor? LPO This example shows how to stop a print job on line printer LP0:. The currently active job is deleted from the queue and the next eligible job is queued up. Notes Use this command to stop a processor fast, such as a line printer printing nothing but form feeds. As soon as the active job is deleted, QMG passes the next eligible job to the processor. The processor has not been aborted or killed, but only the active job on that processor. You can also delete the active job on a card-reader processor with this command. 129 ON-LINE DEBUGGING TOOL (ODT) COMMANDS OPEN/DISPLAY/MODIFY TASK LOCATIONS address mode-symbol contents new-value terminator address (a) Specifies the effective address of the location (word or byte) to be opened. The address can be expressed absolutely or in relative form (see Relocatable Address). An odd address forces byte mode. mode-symbol Specifies the mode in which the location is to be opened or displayed. If the address is not specified, the last opened location is opened and displayed. Symbol Open/Display Location As: / 6-digit octal word \ 3-digit octal byte ” 2 ASCII characters (word) T 1 ASCII character (byte) % 3 Radix-50 characters (word) contents Specifies the current contents of the opened location. new-value [k] Specifies the optional value to replace the current contents upon termination of the command line. terminator Closes the currently open location, replacing the current contents (if so directed). The terminators are: Return RET Terminates the current sequence, displays the ODT prompt (), and waits for the next command. Line feed Opens the next sequential location and prints its contents. 131 % On-Line Debugging Tool (ODT) Commands Circumflex (") or up-arrow (1) Opens the preceding location in the current mode. If typed as an ODT prompt rather than as a terminator, opens the location that precedes the last-opened location in the same mode. Underline (__) or back-arrow () Opens the PC-relative location. The effective address equals the contents (previous or replaced) of the current location added to its address plus 2. Mode is the same, except that odd effective addresses force byte mode. ’ At sign (@) Opens the location addressed absolutely by the contents (previous or replaced) of the current location. Mode is the same, except that odd effective addresses force byte mode. Right angle bracket (>) Opens the PC-relative branch-offset location. The effective-address calculation involves the low-order byte of the contents (previous or replaced) of the just-closed location. Byte, as a signed value, is multiplied by 2 and added to its effective address plus 2. Mode remains the same as when the location was opened. Left angle bracket (<) Reopens the location most recently opened by a /, <LF>, or ~. If the currently open location was not opened by a —, @ or >, then < closes and reopens the current location. COMMAND INPUT ERRORS Individual characters in a command line cannot be corrected. In general, typing an illegal character or command (such as 8 or 9) causes ODT to ignore the input, print the question mark error indicator (?), and wait for a valid command. RELOCATABLE ADDRESS An effective address can be entered as an explicit value relative to (plus) the contents of a relocation register; typically the register contains the relocatable base address for the applicable program section or object module. ODT displays task addresses in relative form if a relocation register contains an address-offset value equal to or less than the address to be 132 On-Line Debugging Tool (ODT) Commands displayed; if the Format Register ($F) contains 0, ODT also displays the register’s initialized state. Otherwise, ODT displays addresses in absolute form. The relocation registers are identified as OR through 7R; a null value is taken as 0 when an offset is established. The registers initially contain -1, the nonactive state. Establishing Relocatable Address Offsets value;nR Value replaces current contents of relocation register n. n,value;nR Value is added to (subtracted from) current contents of relo- $nR/ Displays current contents of relocation register n. New value cation register n. is typed before terminator replaces current contents. Inhibiting Relocatable Addressing R Sets all active relocation registers to -1, the nonactive state. nR Sets relocation register n to -1, the nonactive state. Entering or Displaying Relative Address Effective address is address relative to (plus) the current contents of relocation register r. BREAKPOINTS A breakpoint must be set in the first word of an instruction. Breakpoints are identified as 0B through 7B. (8B is reserved for use with single step execution.) A breakpoint address can be entered in absolute or in relative form (see Relocatable Address). inserting Breakpoints r,address;nB Inserts breakpoint n at specified address. r,address;B Inserts next unset breakpoint at specified address. Removing Breakpoints B nB ~ Removes all inserted breakpoints. Removes only breakpoint n. Moving Breakpoints r,address;nB Moves breakpoint n to new address, overriding previous address. 133 On-Line Debugging Tool (ODT) Commands Report of Breakpoint Occurrence nB:r,address Reports address at which breakpoint n suspended task exe: cution. Displaying Breakpoint Position $nB/ Displays current absolute address (or inactive state) of breakpoint n. Entering a replacement value alters the current contents of the breakpoint register. CONTROL OF TASK EXECUTION Go Command G Initiates task at entry address. r.address G Initiates task at specified address (address must be even). Execution continues to a breakpoint or to completion. Proceed Command P Resumes task execution from current breakpoint suspen- . sion, and continues to a breakpoint or completion. nP Resumes task execution from current breakpoint suspension, and does not recognize this breakpoint again until its $nC Displays current contents of the proceed-count register associated with breakpoint n. New value typed before termina- nth occurrence. tor replaces current contents. Single-instruction Command S Executes PC-addressed instruction, suspends task, and nS Executes next n instructions, suspends task, and prints ad- prints address of next instruction. dress of next instruction. 8B:r,address Specifies the next instruction’s address. FILL MEMORY BLOCK - F COMMAND The memory-limit registers, low ($L) and high ($H), must contain the address boundaries of the affected memory area. Both contain 0 initially. The following sequence establishes the address reference, which can be in relative or absolute form: 134 On-Line Debugging Tool (ODT) Commands $L (or $H)/contents new-address terminator value F Places a value in search argument register ($A), and/or en- ters the current contents of ($A) in all memory locations from low limit ($L) through high limit ($H) in the same mode as the last-opened location. LIST MEMORY BLOCK - L COMMAND L Prints memory locations within specified address limits on kL Uses address value k as ending location and initiates listing console listing device (CL:). operation. a;L Uses address value a as a beginning location and initiates listing operation. akL Uses address values a and k as beginning and ending ad- n;a;kL All listing control arguments are specified in a single listing dresses and initiates listing operation. command; n is the LUN register containing the address of the listing device. CALCULATING OFFSETS - 0 COMMAND Calculates positive or negative (2’s complement) PC-relative and branch offsets between even (word) addresses. From Open Location address/contents/addressO pc-rel>branch Example: 16126/001402/161340 000004 > 000002 Between Two Specified Addresses address;addressO pc-rel>branch Example: 16126;161340 000004>000002 GENERAL PURPOSE REGISTERS C Constant Register Contains user-specified 16-bit value (unsigned, absolute) for reference as “C” in any address or new-value expressions. $C/ prints current contents. New value typed before replaces contents. 135 On-Line Debugging Tool (ODT) Commands Q Quantity Register Always contains the last value printed for reference as “Q” in address or new value expressions. PROCESSOR STATUS WORD $S/ Displays the task Processor Status Word (PSW). The new value typed before the terminator replaces the old PSW contents. DIRECTIVE STATUS WORD | sw/ Displays a task’s Directive Status Word ($DSW). The new value typed before the terminator replaces the old contents. MISCELLANEOUS SYMBOLS AND OPERATORS + or space Sums contiguous arguments. - Subtracts the following argument from the preceding one. Equals address of the last explicitly opened location. = Calculates the 16-bit value (positive or 2’s complement) of the preceding argument string, prints it as 6 octal digits, and stores it in Q. Arguments can be signed or unsigned octal values, relocatable address expressions, or any valid ODT expression. TERMINATING ODT SESSION X Terminates ODT and returns control to the system monitor. For additional information, refer to the RSX-1IM/M-PLUS and Micro/RSX Debugging Reference Manual. 136 TASK BUILDER (TKB) SWITCHES AND OPTIONS The format for Task Builder commands is as follows: >TKB TKB>taskimagefile,memallocfile,symdeffile = inputfile(s) For example, to task-build a program called Zebra, type the following: >TKB TKB>ZEBRA.TSK,ZEBRA.MAP,ZEBRA.STB = ZEBRA.OBJ.... TKB>/ ENTER OPTIONS: TKB> optionname = argument(s) TKB>//(to end Task Builder operation) or TKB>/(if you have another task to build) The Task Builder file specification is as follows: filespec = dev: (g, m]filename.typ; version/switch(es) defaults = SY: [uiclfilename.typ;n/switch The Task Builder uses the following default file types for the files named: Task Image File .TSK Memory Allocation File .MAP Symbol Definition File .STB Object Module- .0BJ Overlay Description .ODL Indirect Command .CMD Object Module Library .OLB In the file specification above, n is the latest version number for an input file and the latest version plus 1 for an output file. 137 Task Builder (TKB) Switches and Options SWITCHES The following key is used in the description below to designate which input and output files can use the Task Builder switch specified: 10} T) M] [S) 14 Common or Library Task Image Task Builder Map Symbol Definition Input (. TSK)* (.TSK) (.MAP) (.STB) (.0BJ,.OLB,.0ODL,.CMD) * Commons or libraries are specified with the /-HD switch, which produces a .TSK file without a header. The default value for switches is negative (-sw) unless otherwise specified. [AC:n Specifies that the task is an Ancillary Control Processor (ACP); n épecifies the base relocation register (allowable registers are 0, 4, or 5; default register is 5). Overrides /PR if applied to the same file. [T] /AL Makes the task image file checkpointable and allocates checkpoint space in the task image file. (Do not use with /CP in the same command line.) T) /CC Specifies that the input file contains more than one object module. /-CC task-builds only the first object module. The LB (library) switch overrides /CC if it is applied to the same file. (Default is /CC.) [T] /CL Specifies that the task is a command line interpreter. [T) /CM ~ Specifies a compatibility mode resident overlay structure. (Overlay segments are aligned on 256-word physical boundaries.) [T) /CO Causes the Task Builder to build a shared common. [C] 138 Task Builder (TKB) Switches and Options . /CP Makes the task image checkpointable and allows the task to be checkpointed to system checkpoint space. (Do not use in the same command line with /AL.) [T} /{CR Appends a global cross-reference listing to the memory-allocation file. [M] /DA Includes a debugging aid in the task image (ODT) for a task image (output) file or a user-supplied debugging program (for an input file). [T,I] /DL Specifies a default library file (replacing SYSLIB.OLB) for global refer-. ences that remain undefined after user-specified library files have been searched. (Can be applied to only one input file per task.) (I} /EA Specifies that the task uses the extended arithmetic element. (/FP overrides /EA if applied to the same file.) [T} [EL Specifies the maximum possible size for the library, according to the size specified in the PAR option. (The actual size of the library may be smaller.) ' /FM Causes the allocation of additional memory between the task and the external header for fast mapping. [T} /FP Specifies that the task uses the floating point processor. (Overrides /EA if applied to the same file.) [T) /FU Specifies a full search of all cotree segments for a matching definition or reference when processing modules from the default object module library. [T) 139 Task Builder (TKB) Switches and Options /HD Includes a header in the task image. (Default is /HD; /-HD is used with common blocks, resident libraries, loadable drivers, and system images.) [T,S] /ID This switch directs TKB to mark your task as one that uses I-space APRs and D-space APRs in user mode. TKB separates I-PSECTs from DPSECTs. /1P Allows the Task Builder to inform INSTALL that the privileged task pur- posely overmaps the I/O page. Conversely, /-IP informs INSTALL that the privileged task is over 12K and does not map the I/O page. [T} /LB Without arguments: TKB uses the input file as a library of relocatable object modules and searches to resolve undefined global references. Includes in task image any modules found in the library that resolve the ' undefined references. (1] With arguments: [/LB:mod-1mod-2.....] TKB inserts only the modules named in the command, regardless of references, into the task image. [I] /L1 Causes the Task Builder to build a libfary shared region. Use the /-HD switch with /LI. /MA Includes information from the input file in the memory allocation listing (when applied to an input file) or controls the display of information about the default library and shared regions (when applied to a memory alloca- tion file). (Default is /MA for input file or /-MA for a memory allocation file.) [M,I] ' /MM[:n] Specifies that the system on which the task is to run has memofy manage- ment hardware. (Defaults to /MM if host system has memory management, or to /-MM if it does not.) [T] n 140 Used with /-MM to specify the highest physical address in K-words of the task or system being built. Specify as decimal numbers 28 or 30. Task Builder (TKB) Switches and Options /MP Specifies that the input file describes the task’s overlay (tree) structure; the input file is an .ODL file. (1) /MU The /MU switch specifies to TKB that the task is a multiuser task. /NM Tells the Task Builder not to print diagnostic messages. [T] /Pl Specifies that only position-independent code or data is in the shared region. [T,S] /PM Produces a Postmortem Dump if the task is terminated with an SST abort. (T) /PR:n Specifies that the task has privileged access. /AC overrides /PR:n if applied to the same file; n specifies base relocation register (0, 4, or 5; default is 5). (T /RO Enables recognition of the memory-resident overlay operator (!) in the overlay descriptor file (/MP]. (Default is /RO.) [T} /SB Selects the slow Task Builder [T} /SE Specifies that the task can receive messages by means of the Executive SEND directive. (Default is /SE.). [T} /SG Allocates task program sections alphabetically by access code (RW followed by RO). [T} 141 Task Builder (TKB) Switches and Options /SH Produces a short form of the memory-allocation file without the file contents section. (M] /SL Specifies that the task is slaved to an initiating task. Slave task runs under the UIC and TI: of the sending task. (Applies only to systems with multiuser protection.) [T] /SP Lists the memory-allocation file on the printer via the spooler. (Default is /SP.) M) /SQ Builds program sections in the task image in the order in which they are named, rather than in alphabetical order. (Cannot be used with FORTRAN I/0 handling modules or FCS modules from SYSLIB.) (T] /SS Extracts a global symbol definition from the input file if the global symbol table has a matching undefined reference. (1] /TR Specifies that the task can be traced. [T} /Wi Lists the memory-allocation file in 132-column (wide) format. (Default is /WL.) M] [-XH The /XH switch informs TKB that the task is to have an external header. XT:n Terminates the building of the task after n error diagnostics are detected; can be octal or decimal (decimal must be specified with a decimal point, for example, 8.). 142 ' Task Builder (TKB) Switches and Options OPTIONS (H] Option is of interest to high-level language programmers. [M] _ Option is of interest to MACRO-11 programmers. (H,M] Option is of interest to both high-level language and MACRO pro- grammers. . Names used for option input can be 6 characters long, from the Radix-50 charac- ter set (A-Z, 0-9, and $). ABORT =n Terminates the current task-build operation and restarts the Task Builder for another. (The n satisfies the option syntax; it means nothing.) [(H,M] ABSPAT = segname:address:valuei...:value8 Patches the task image from a base address. Also patches the I-space part of an I- and D-space task. Eight values may be specified. [M] ACTFIL = filemax (decimal integer) Specifies the number of files that a task can have open simultaneously (the default is 4). [H] ASG = devicename:uni...:un8 Assigns logical unit number(s) in decimal to specified physical device(s). (H,M] CLSTR =library__1,library__2,... library__n:switch:apr Declares a cluster or group of system-owned resident libraries or commons (from two to six) to be accessed by the task and all residing at the same virtual address space in the task. [H, M] Switch Read-only or read-write access for the task (RO or RW) APR Which APR is to be used as the starting APR for the task 143 . ‘Task Builder (TKB) Switches and Options - CMPRT Declares completion routine for supervisor-mode library [H,M] COMMON = name:access-code[:apr] Declares that the task accesses a system-owned resident common area. Causes the common to be mapped with D-space APRs. The common can contain only data when linked to I- and D-space tasks. [H,M] DSPPAT = - ddress:valuet...:value8 Patches the task image from a base address. Also patches the D-space part of an I- and D-space task. Eight values may be specified. EXTSCT =psect ext If the program section has the concatenated attribute, this option extends the size of the named program section by the number of octal bytes speci- fied in the extension. If the program section has the overlay attribute, it is extended only if the extension value exceeds the length of the section. (H,M] EXTTSK=n Extends the D-space portion of an I- and D-space task. Extends the task memory allocation by the length n (in decimal words in the range 0<n<65,535.) when it is installed in a system-controlled partition. The extension is rounded to the closest 32-word boundary. The default is the extension to the total task size as specified by the PAR option length parameter. [H,M] FMTBUF = max-format (decimal integer) Specifies the number of characters (in decimal bytes) in the longest format specification to be compiled at run time. The default is 132. (M] GBLDEF = symbol-name:symbol-value Defines the named global symbol as having'a value in the range of 0 through 177777 (octal). [M] GBLINC = symbolname,symbolname...,symboiname Specifies the symbols to be included as undefined references in the symbol table file of a shared resident library. [M] Task Builder (TKB) Switches and Options GBLPAT =se e[ +/-offset]:vall...:val8 L4 Patches the task image from the location addressed by the global symbol plus or minus the octal offset value through 8 words. All values are octal. (M] GBLREF = symbol-name:symbol-value Declares the named symbol as a global symbol reference orlglnatlng in the root segment of the task. (H,M] GBLXCL = symbol ymbol :symboiname Specifies the symbols that are to be excluded from the symbol definition file of a resident library. [(H,M] LIBR = code|:apr] Declares that the task accesses a system-owned resident library. Causes the library to be mapped with both I-space and D-space APRs when linked to an I- and D-space task. [H,M] MAXBUF = max-record Specifies the maximum allowable record buffer size (in decimal bytes) in any file processed by the task. [H] - Declares the named global symbol to be the address of the ODT synchronous system trap vector (SST). The global symbol must be definedin the main root segment. [M] PAR = name[:base:length] Identifies the partition for which the task is built. For a mapped system, a size of 0 implies a system-controlled partition, and a nonzero size implies a user-controlled partition. Base and length do not have to be expressed if the partition resides on the host system. The default is PAR = GEN. (H,M] PRI = priority Sets the priority at which the task executes; can be overridden when the task is installed. The priority is a decimal integer between 1 and 250. [H,M] RESCOM = filespec/access-code[:apr] Declares that the task accesses a user-owned resident common. Causes the common to be mapped with D-space APRs. When linked to I- and D-space tasks, the common can contain data only. [H,M] 145 Task.Builder (TKB) Switches and Options RESLIB = filespec/access-codef:apr] Declares that the task accesses a user-owned resident library. Causes the library to be mapped with both I-space and D-space APRs when linked to an I- and D-space task. [H,M] RESSUP Declares task’s intention to access a resident supervisor-mode library. (H,M] ROPAR Declares partition in which read-only portion of multiuser task is to reside. (H,M) ‘ SUPLIB Declares task’s intention to access a system-owned supervisor-mode library. TASK =taskname Names the task. [H,M] TSKV = symbol-n :vector-l g & B Declares a global symbol to be the address of the task synchronous system trap vector (SST). (M) UIC =[g,m] Declares the UIC for time-based initiation of a task. The default is the UIC under which the Task Builder is running. [H,M] UNITS = max-units Declares the number of logical units used by the task (a decimal number in the range of 0 through 250). The default is 6. [H,M] VSECT = psect b window[:physical-length] Specifies the virtual base address, length of virtual memory address space (window), and length of physical memory allocated to the named program section. [(H,M] WNDWS =n Declares the number (0 through 7) of extra address windows required by the task. The number specified equals the number of simultaneously mapped regions that the task will use. (H,M] 146 RMSBCK UTILITY SUMMARY The RMS-11 File Back-Up Utility (RMSBCK) transfers the contents of an RMS-11 file to another file, on another device, to maintain the file should the original file be lost or damaged. The command line for the RMSBCK utility is as follows: Type HELP or ? for a help message. See the RMS-11 Utilities manual for more information. The RMSBCK switches are listed below. Global Switches /ID Identifies the current version. Default: Provides no identification. [[NOjJQU Enables or disables query mode. Default: Enables query mode. /SL[:file-spec] Provides summary listing to terminal or in file, if specified. Default: Pro- vides no summary. Output File Switches /NV Creates a new version of the output file (the default). /RA Performs read-after-write data integrity checking. Default: Does no readafter-write checking. /RC Performs check-after-writing data integrity checking. Default: Does no check-after-writing. /RW Rewinds magnetic tape before writing. Default: Does not rewind magtape. 147 RMSBCK Utility Summary /su Supersedes existing file. Default: Does not supersede file. Input File Switches /CD:dd-mmm-yy[:v] Backs up files based on creation date: specify v as A to back up all files created after the date specified or as B to back up all files created before the date specified. If v is not specified, all files created on the date specified will be backed up. Default: Performs no date checking. /RD:dd-mmm-yy[:v] Backs up files based on revision date: specify v as A to back up all files revised after the date specified or as B to back up all files revised before the date specified. If v is not specified, all files revised on the date specified will be backed up. Default: Performs no date checking. 148 RMSCNYV UTILITY SUMMARY The RMS-11 File Conversion Utility (RMSCNYV) ’reads records from an RMS-11 file of any organization and loads them into another RMS-11 file of any organization. The command line for the RMSCNYV utility is as follows: [outfile[/switch...]=]infile[/switch...] Type HELP or ? for a help message. See the RMS-11 Utilities manual for more information. The RMSCNYV switches are listed below. Global Switches /AP Appends records to an existing sequential file. Default: Does not append. /BL:[n] Sets magnetic tape block size. Default: Uses 512 bytes. [CA:[file-spec] Creates an output file with the attributes of the existing input file. Default: Output file must exist or RMSCNYV creates a sequential file. [EO Converts CTRL/Z EOF character in an ASCII stream file to null and pads the file with nulls to the physical EOF. Default: Assumes null-filled stream file. [FO:x Sets output file organization, where x is S, R, or I. Default: Uses sequential (S) organization. /ID Identifies the current version. Default: Provides no identification. /1M Processes files in block mode. Default: Uses standard RMS-11 access modes. 149 RMSCNYV Utility Summary [KN:["]keyname["] g Reads an indexed file using the key of reference specified by keyname. Default: Reads file using primary key. /KR:n Reads an indexed file using the key of reference specified by n. Default: Reads file using primary key (0). /LO Honors bucket fill size when filling buckets in an indexed file. Default: Fills buckets to capacity. /MA Uses mass-insertion mode and sequential PUT operations. Default: No mass insertion; uses random PUT operations. /ML:n Explicitly sets limit of buffer allocation. Default: RMSCNYV calculates the amount of memory available for allocation. /PDL:[# " IX["T] Pads input records to output record length, if necessary. Default: Does not pad records. /SL[:file-spec] Provides summary listing to terminal or in file, if specified. Default: Does not provide summary. /SU Supersedes existing sequential file. Default: Does not supersede existing file. TR Truncates input records to output record length, if necessary. Default: Does not truncate records. /WF Writes or reads fixed-control area. Default: Ignores fixed-control area. 150 RMSDES UTILITY SUMMARY The RMS-11 File Design Utility (RMSDES) allows you to design and create sequential, relative, and indexed files. The command line for the RMSDES utility is as follows: DES filenamel.typ] [kind] See the RMS-11 Utilities manual for more information. The following sections list the RMSDES attribute settings and commands. ATTRIBUTE SETTINGS Section Keyword Attribute Keyword and Variable System TARGET! argument Default argument must be one of: RSX User’s system RSTS File SOURCE!? User’s system FILE PLACEMENT! logical NO NAME string FILE.DAT ORGANIZATION argument argument must be one of: SEQUENTIAL SEQUENTIAL RELATIVE INDEXED 1. CLUSTER_SIZE number 0 blocks ALLOCATION number 0 blocks EXTENSION number 0 blocks BUCKET_SIZE number 1 block PROTECTION string System protection Informational attribute. 2. Not user settable: RMSDES automatically notes the user’s source system. 151 RMSDES Utility Summary Section Keyword Attribute Keyword and Variable Default OWNER string User’s UIC MAGTAPE_BLOCK__SIZE number 512 bytes MAGTAPE_REWIND logical NO MAX_RECORD_NUMBER number 0 records Record CONTIGUOUS logical NO SUPERSEDE logical NO SIZE number 0 bytes" FORMAT argument argument must be one of: VARIABLE VARIABLE STREAM FIXED VFC Record CONTROL__FIELD__SIZE number 2 bytes BLOCK__SPAN logical YES CARRIAGE_CONTROL argument argument must be one of: CARRIAGE_RETURN CARRIAGE_RETURN FORTRAN PRINT NONE Key n? NAME string No name TYPE argument argument must be one of: STRING STRING BIN2 BIN4 b INT?2 INT4 DECIMAL 3. You must specify a number (n) for each key, key segment, and/or 152 area that you define. RMSDES Utility Summary Section Keyword Attribute Keyword Default and Variable NULL__KEY logical NO NULL_VALUE argument argument must be one of: (space) An ASCII character A decimal number Key n? DUPLICATES logical NO (primary key) YES (alternate key) SEGn__POSITION? number Byte 0 SEGn_LENGTH? number 0 bytes CHANGES logical YES (alternate key) DATA_FILL number 100 DATA__AREA number Area 0 INDEX__FILL number 100 LEVEL1_INDEX__AREA number Area 0 INDEX__AREA number Area 0 ALLOCATION number 0 blocks EXTENSION number 0 blocks BUCKET__SIZE number 1 block CONTIGUOUS logical NO POSITION argument argument must be one of: NONE NONE _VIRTUAL number LOGICAL number EXACT__POSITIONING logical 3. NO You must specify a number (n) for each key, key segment, and/or area that you define 153 RMSDES Utility Summary COMMANDS CLEAR ALL Restores all attribute values in all sections to their default values. CLEAR section ALL Restores all attribute values in the specified section to their default values. CLEAR section attribute Restores the specified attribute value in the specified section to its default value. CREATE [filename].typ]] Creates an empty data file that has the attribute values specified in the design buffer. For indexed files in which areas are not defined, RMSDES prompts for whether areas are to be defined by default. If you do not specify a file name and type, the file will have those specified in the design buffer. If you did not specify a file name and type in the design buffer, the file will be created as FILE.DAT. <CTRL/Z> Terminates RMSDES without saving the design or creating an empty data file. <ESC> . In response to any prompt, returns the RMSDES utility prompt and preserves all attribute values in the design buffer. EXIT filename|.typ] Stores the file design in the description file specified in the command line and terminates RMSDES. The default file type is .DES. GET filename[.typ] [kind] Reads the file design specified in a description file, and sets the appropriate attribute values in the design buffer. Reads the attribute values of a data file, and sets the appropriate attribute values in the design buffer. The default file type is .DES. If the file is a data file, kind (DAT) must be specified. 154 : RMSDES Utility Summary HELP Lists all available help topics and gives instructions for displaying the text. HELP command Displays Help text for the specified command. HELP COMMANDS Lists all valid commands. HELP SECTIONS Lists all available help topics for all sections and gives instructions for displaying the text. HELP section Displays help text for the specified section and lists all available help topics for all attributes in the specified section. HELP section attribute Displays help text for the specified attribute in the specified section. ? Displays help text for the section, attribute, or value for which you are being prompted. Note also that you can type ? instead of HELP for any form of the HELP command. QuUIT Terminates RMSDES, without storing the design or creating an empty data file. SAVE filename[.typ] Stores the file design in the description file specified in the command line. The default file type is .DES. SET ALL Prompts for setting all attribute values in all sections. For indexed files in which areas are not defined, prompts for whether areas are to be defined by default. 155 RMSDES Utility Summary SET section ALL Prompts for setting all attribute values in the specified section. SET section attribute value Sets the specified attribute value in the specified section. SHOW ALL Displays all attribute values in all sections. SHOW section ALL Displays all attribute values in the specified section. SHOW section attribute Displays the specified attribute value in the specified section. SHOW ID Identifies the current level and patch version of RMSDES. 156 RMSDSP UTILITY SUMMARY The RMS-11 File Display Utility (RMSDSP) produces a concise description of any RMS-11 file, including back-up files. The command line for the RMSDSP utility is: [outfile=]infile[/switch...][,infile[/switch...]...] Type HELP or ? for a help message. See the RMS-11 Utilities manual for more information. The RMSDSP switches are listed below. Global Switches /BP Lists contents of back-up files. Default: Provides basic display only. /BR Provides a brief display of attributes. Default: Provides basic display of file attributes and characteristics. /FU Provides detailed display for indexed files or back-up files. Default: Pro- vides basic display only. /iD Identifies the current version. Default: Provides no identification. /SU Supersedes existing output file. Default: Does not supersede an existing file. 157 RMSIFL UTILITY SUMMARY The RMS-11 Indexed File Load Utility (RMSIFL) reads records from an RMS-11 file of any organization and loads them into an indexed file. The command line for the RMSIFL utility is as follows: outfile[/switch...]=infile[/switch...] Type HELP or ? for a help message. See the RMS-11 Utilities manual for more information. The RMSIFL switches are listed below. Global Switch /ID Identifies the current version. Default: Provides no identification. Output File Switches /ER[:file-spec] Writes primary keys of exception records to terminal if no file-spec; or writes exception records to the specified file. Default: Writes primary keys of exception records to terminal. /NOER[:S] Stops processing if input record is incompatible. Default: Writes primary keys of exception records to terminal. /LO Honors bucket fill size. Default: Fills buckets to capacity. # Ix] /PD[:[ Pads input records to output record length. Default: Handles input records as exception records if different lengths. /TR Truncates input records to output record length. Default: Handles input records as exception records if different lengths. 159 RMSIFL Utility Summary Input File Switches /DE:dvn1:[dvn2:...dvn5:] Reassigns devices for sort work files. Default: Creates and uses sort work files on SY:. /KR:n Uses key of reference number. Default: Uses primary key (0). /NOSO Does not sort records before loading. Default: Sorts records in input file before loading. 160 RMSRST UTILITY SUMMARY The RMS-11 File Restoration Utility (RMSRST) restores files that were backed up using RMSBCK and produces standard RMS-11 files as output, so your programs can access them. The command line for the RMSRST utility is as follows: outfile[/switch...]=infile[/switch...][,infile[/switch...]...] Type HELP or ? for a help message. See the RMS-11 Utilities manual for more information. The RMSRST switches are listed below. Global Switches /iD Identifies the current version. Default: Provides no identification. [[NOJCV Enables or disables file version number conversion. Default: For RMSBCK V2.0 or later, conversion is enabled and /NOCV will disable it. For RMSBCK tapes prior to V2.0, conversion is disabled and /CV will enable it. INOJQU Enables or disables query mode. Default: Enables query mode. /SL]:file-spec] Provides summary listing to terminal or in file, if specified. Default: Pro- vides no summary. Output File Switches [FR Changes protection code. Default: Uses original protection. /NV Creates new version of output file (the default). | 161 RMSRST Utility Summary /RA Performs read-after-writing data integrity checking. Default: Performs no read-after-writing checking. /RC Performs check-after-writing data integrity checking. Default: Performs no check-after-writing checking. /SU Supersedes existing files. Default: Does not supersede existing files. Input File Switches /BD:dd-mmm-yy Restores disk files based on back-up date. Default: Performs no date checking. [OA:[uic] Restores files based on original account (UIC). Note that in this case, the square brackets are required syntax. Default: Applies no account criterion. /SE:file-spec or /SE:(file-spec1 file-spec2[,...,file-spec10]) Restores specified files from container file. Default: Restores all files on container file. 162 RMS-11 COMPLETION CODES AND FATAL ERROR , CODES The following sections list completions that are returned in the STS and STV fields of FABs and RABs, and fatal error completions. For more information on these codes, see Appendix A of the RMS-11 Macro Programmer’s Guide. COMPLETION CODES SU$SUC Operation succeeded Octal: Decimal: SUSDUP Inserted record has duplicate key SUS$IDX Error updating index ER$ACC File access error ER$SACT Activity precludes operation Octal: Decimal: Octal: Decimal: Octal: , , Decimal: " Octal: : ERS$AID Bad value in AID field ERSALN Bad mask in ALN field ER$ALQ Bad value in ALQ field , Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: ER$ANI Bad ANSI-format magtape file Octal: Decimal: ERSAOP Bad mask in AOP field ERSATR Error reading attributes ERSATW Error writing attributes ER$BKS Bad value in BKS field Octal: Decimal: Octal: Decimal: - Octal: Decimal: Octal: Decimal: 000001 1 000002 2 000003 3 177740 -32 177720 -48 177700 -64 177660 -80 177640 -96 177620 -112 177600 -128 177540 -160 177520 -176 177500 -192 163 RMS-11 Completion Codes and Fatal Error Codes ER$BKZ Bad value in BKZ field Octal: Decimal: ER$BOF Beginning-of-file found ER$BPA Bad address in BPA field ER$BPS Bad value in BPS field ER$CCR RAB already in use ER$CHG Illegal record key change ER$CHK Bad bucket header ER$CLS File processor error ER$COD Bad code in COD field ER$CRE File processor error ER3CUR Undefined current-record context ER$DAN Bad value in DAN field ER$DEL Record having RFA deleted ERSDEV Bad device specification ER$DFW File processor error ER$DIR Bad directory specification ER$SDME Pool exhausted Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Qctal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: 164 177460 -208 177430 -232 177420 -240 177400 -256 177340 -288 177320 -304 177300 -320 177260 -336 177240 -352 177220 -368 177200 -384 177140 -416 177120 -432 177100 -448 177070 -456 177060 -464 177040 -480 RMS-11 Completion Codes and Fatal Error Codes ERSDNA Bad address in DNA field Octal: Decimal: ERSDNF No such directory ER$DNR Device not ready ER$DPE Device positioning error ERSDTP Bad code in DTP field ER$DUP Duplicate key not allowed ERSENT File processor error ERSENV Feature not in selected RMS-11 environment ERSEOF End-of-file reached ERSESA Bad address in ESA field ERSESL Bad ;'alue in ESL field ERSESS ESS field value too small ERSEXP File expiration date not yet reached ERSEXT . File processor error ERS$FAC FAC field forbids operation ERS$FAL Operation not supported by remote node ERSFEX File already exists Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: 177030 -488 177020 -496 177000 -512 176770 -520 176760 -528 176740 -544 176720 -560 176700 -576 176660 -592 176650 -600 176644 -604 176640 -608 176630 -616 176620 -624 176560 -656 176550 -664 176540 -672 - 165 RMS-11 Completion Codes and Fatal Error Codes ER$FID ERSFLG ER$FLK ER$FNA ER$FND ER$FNF ER$FNM ER$FOP Bad value in FID field QOctal: Bad mask in FLG field Octal: File locked by another task Bad address in FNA field Decimal: Octal: Decimal: Octal: Decimal: File processor error Octal: File not found Octal: Bad file name Octal: Bad mask in FOP field Decimal: Decimal: Decimal: Octal: Decimal: Device or file full ERS$IAN B.ad value in IAN field Octal: Index not initialized Octal: ERSIFI ER$IMX Bad value in IFI field Too many XABs of same type ERSIOP Illegal operation for file ERSIRC Illegal record found in sequential file ERS$ISI Bad value in ISI field Decimal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: Octal: Decimal: ERSKBF Bad address in KBF field Octal: Decimal: 166 -680 176520 -688 176500 -704 176470 -712 176460 -720 176440 -736 176420 -752 176400 ~768 176360 " QOctal: -784 Decimal: ER$FUL ERS$IDX 177530 Decimal: 176340 -800 176320 -816 176300 -832 176260 -848 176220 ~-880 176200 -896 176160 912 176140 928 RMS-11 Completion Codes and Fatal Error Codes ERSKEY Bad key Octal: 176120 Decimal: ERSKRF Bad value in KRF field mesz Bad value in KSZ field ERSLAN Bad value in LAN field ER$SLBL Bad magtape label ERSLBY Logical channel' busy ERSLCH Bgd value in LCH field ER$LEX Extension not needed ERSLOC Bad value in LOC field ER$SMEM M;emory address rollover ER$MKD File processor error ER$MRN Bad value in MRN field or bad record number Octal: ER$MRS Bad value in MRS field ERSNAE Unmappable network access error ER$NAM Bad address in NAM field 'ERSNEF Context not end-of-fil’e ERSNET Network link lost Octal: -944 176100 Decimal: Octal: -960 176060 Decimal: Octal: -976 176040 Decimal: QOctal: -992 176020 Decimal: -1008 Octal: 176000 Decimal: -1024 Octal: 175760 Decimal: -1040 Octal: 175750 Decimal: -1048 Octal: 175740 Decimal: Octal: -1056 175710 Decimal: -1080 Octal: 175700 Decimal: -1088 175660 Decimal: -1104 Octal: 175640 Decimal: -1120 Octal: 175630 Decimal: -1128 Octal: 175620 Decimal: -1136 Octal: 175600 Decimal: -1152 Octal: - 175570 Decimal: -1160 167 RMS-11 Completion Codes and Fatal Error Codes ER§NMF Octal: No more matching files ER$NOD Bad node name ER$SNPK No primary key for indexed file ER$ORD Ordering of XABs illegal ER$ORG Bad mask in ORG field ER$PLG Error reading file prologue ERS$PLV File prologue version level unsupported ER$POS ERSPRM ER$PRV ER$RAC Bad value in POS field Bad file date read Privilege violation Bad mask in RAC field Bad mask in RAT field ERS$RBF ER$RER Bad address in RBF field File processor error . -1172 QOctal: 175650 Decimal: -1176 Octal: 175540 Decimal: -1184 Octal: 175500 Decimal: -1216 QOctal: 175460 Decimal: -1232 Octal: 175440 Decimal: -1248 Octal: 175430 Decimal: -1256 Octal: 175420 Decimal: -1264 Octal: 175400 Decimal: -1280 Octal: 175360 Decimal: -1296 Qctal: 175320 Decimal: -1328 Octal: 175300 Decimal: -1344 Octal: 175260 Decimal: -1360 QOctal: 175240 Decimal: -1376 175220 ERSREX Record already exists Octal: ER$RFA Bad value in RFA field Octal: ER$RFM 168 175554 Decimal: Decimal: -1397 Bad code in RFM field 175200 Decimal; ~-1408 Octal: 175160 Decimal: -1424 RMS-11 Completion Codes and Fatal Error Codes ERSRLK Record locked ER$RMV File processor error ERSRNF No such record ERSRNL Record not locked ER$ROP Bad mask in ROP field ER$RPL File processor error ERSRRV Bad internal pointer ER$RSL Bad value in RSL field ER$RSS Bad value in RSS field ER$RST Bad address in RSA field ER$RSZ Bad value in RSZ field ER$SRTB Record too big for user buffer ER$RVU Internal pointer corrupted ERS$SEQ Sequential insertion records not in order ER$SHR Bad mask in SHR field ERSSIZ Bad value in SIZ field ER$SUP Operation not supported over network Octal: 175140 Decimal: -1440 Octal: 175120 Decimal: -1456 Octal: 175100 Decimal: -1472 Octal: 175060 Decimal: -1488 Octal: 175040 Decimal: -1504 Octal: 175020 Decimal: -1520 Octal: 175000 Decimal: -1536 Octal: 174754 Decimal: -1556 Octal: 174750 Decimal: -1560 Octal: 174744 Decimal: -1564 Octal: 174740 Decimal: -1568 Octal: 174720 Decimal: -1584 Octal: 174710 Decimal: -1592 Octal: 174700 Decimal: -1600 Octal: 174660 Decimal: -1616 Octal: 174640 Decimal: -1632 Octal: . 174610 Decimal: -1656 169 RMS-11 Completion Codes and Fatal Error Codes ER$SYS System error Octal: 174600 Decimal: -1664 Index error Octal: 174560 Decimal: -1680 ERSTYP Bad file extension Octal: 174540 Decimal: -1696 ERSUBF Bad address in UBF field Octal: 174520 Decimal: -1712 ERSUIN Field value rejected by FAL QOctal: 174510 Decimal: -1720 ER$USZ Bad value in USZ field Octal: 174500 ERSVER Bad file version number ER$TRE ER$WCD - Tllegal wildcard in merged string Decimal: -1728 Octal: 174460 Decimal: -1744 Octal: 174430 Decimal: -1768 File processor error Octal: 174420 Decimal: -1776 ER$WLK Device write-locked Octal: 174410 ER$WPL File processor error Decimal: -1792 ER$XAB Bad address in XAB field Octal: 174360 Decimal: -1808 ER$XTR Extraneous data in file specification Octal: 174340 Decimal: -1824 ERSWER 170 Decimal: -1784 Octal: 174400 RMS-11 Completion Codes and Fatal Error Codes FATAL ERROR CODES ER$ACT Illegal concufrent operation Octal: Decimal: ER$AST ER$BUG Illegal operation at AST level Octal: Decimal: Error in RMS-11 internal data Octal: Decimal: ER$CPB ER3SFAB Bad parameter block Bad FAB Octal: ERSMAP ERSRAB Resident library not available Error in internal buffer mapping data -Bad RAB —48 177560 -144 177360 -272 177230 Decimal: - -360 Octal: 176600 Decimal: ERSLIB 177720 Octal: -640 175744 Decimal: -1052 Octal: 175720 Decimal: -1072 Octal: 175340 Decimal: -1312 171 ASCIl CHARACTER SET Octal Octal Octal Octal Code Character Code Character Code Character Code 000 NUL 040 SP 100 @ 140 Character 001 SOH 041 ! 101 A 141 002 003 004 005 006 007 STX ETX EOT ENQ ACK BEL 042 043 044 045 046 047 " # $ % & ! 102 103 104 105 106 107 B C D E F G 142 143 144 145 146 147 010 BS 050 011 HT 051 ( ) 110 111 H | 150 151 h i 012 LF 052 * 112 J 152 j 013 VT 053 + 113 K 153 k 014 FF 054 , 114 L 154 | 015 CR 055 - 115 M 155 m 016 017 SO Sl 056 . / 116 117 N 057 0] 156 157 o) 020 DLE 060 0 120 P 160 p 021 DC1. 061 1 121 Q 161 q 022 DC2 062 2 122 R 162 r 023 DC3 063 3 123 S 163 S 024 DC4 064 4 124 T 164 t 025 NAK 065 5 125 U 165 u 026 SYN 066 6 126 Vv 166 Y 167 W ' a b c d e f g n 027 ETB 067 7 127 W 030 CAN 070 8 130 X 170 X 031 EM 071 9 131 Y 171 y 032 SuUB 072 : 132 Z 172 y4 033 ESC 073 ; 133 [ 173 { 034 FS 074 < 134 \ 174 | 035 GS 075 = 135 ] 175 } 036 RS 076 > - 136 A 176 ~ 037 uUs 077 ? 137 — 177 DEL *Equivalent to the Radix-50 character set. 173 DIRECTIVE ERROR CODES Directives in the Directive Status Word ($DSW) return the following error codes. The complete abbreviation for these codes is IE.xxx. Only partial abbreviations (xxx) are included in this list. The octal error number listed is the low- order byte of the complete word value (two’s complement of the decimal). Abbreviation Error Number Decimal Octal Meaning .UPN -1 377 .INS -2 376 Specified task not installed .PTS -3 375 . Partition too small for task .UNS -4 374 Insufficient 373 send Unassigned LUN .ULN -5 Insufficient dynamic storage dynamic storage .HWR -6 372 Device handler not resident ACT -7 371 ATS -8 370 Task not active Directive inconsistent with for task state FIX -9 367 Task already fixed/unfixed .CKP -10 366 Issuing task not checkpointable .TCH .RBS -11 -15 365 361 Receive buffer too small PRI .RSU -16 -17 360 357 .NSW -18 356 No swap space available LV -19 355 Illegal vector specified TN -20 354 Illegal table number .LNF -21 353 -80 260 Logical name not found Directive issued/not issued -81 257 AST , .MAP Task is checkpointable Privilege violation Resource in use from AST .IOP -83 255 Illegal mapping specified Window has I/O in progress ALG -84 WOV -85 254 253 Alignment error Address window allocation overflow .NVR -86 .NVW 252 Invalid region ID -87 251 Invalid address window ID ATP -88 250 Invalid TI parameter IBS -89 247 Invalid .LNL -90 246 LUN locked in ‘use AUl -91 245 Invalid UIC DU -92 244 Invalid device or unit ATl -93 243 Invalid time parameters : send buffer size than 255(decimal)) (greater Directive Error Codes Abbreviation Error Number Decimal Octal Meaning .PNS -94 242 PR -95 241 Partition/region not in system Invalid priority (greater than 250 JLU -96 240 (decimal)) Invalid LUN AEF -97 237 .ADP -98 236 .SDP -99 235 Invalid event flag (number) Part of DPB out of user’s space DIC or DPB size invalid For additional information, refer to the RSX-11M/M-PLUS and Micro/RSX Executive Reference Manual. 176 EXECUTIVE DIRECTIVE SUMMARY ALPHABETICAL ORDER BY MACRO CALL ABRTS Abort Task FORTRAN Call: CALL ABORT (tsk(,ids]) tsk = Name of task to be aborted (Radix-50) ids = Directive status Macro Call: ABRTS$ tsk = tsk , Name of task to be aborted (Radix-50) ACHNS$ Assign Channel FORTRAN Call: CALL ACHN (mod,itbmsk,lun,fsbuf,fssz) mod tbmsk Modifier for logical name table entries Inhibit mask to prevent a logical table from being searched. The following symbol definitions, when set, prevent a particular table from being searched: System Group Session Task (IN.SYS) (IN.GRP) (IN.SES) (IN.TSK) =0 =1 =2 =3 lun LUN to be assigned fsbuf Address of file specification buffer fssz Size (in bytes) of the file specification buffer 177 Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: ACHNS$ mod,tbmsk,lun,fsbuf,fssz mod = Modifier for logical name table entries tbmsk = Inhibit mask to prevent a logical table from being searched. The following symbol definitions, when set, prevent a particular table from being searched: System Group Session Task (IN.SYS) (IN.GRP) (IN.SES) (IN.TSK) =0 =1 =2 =3 lun = LUN to be assigned fsbuf = Address of file specification buffer fssz = Size (in bytes) of the file specification buffer ALTPS Alter Priority FORTRAN Call: CALL ALTPRI ((tsk],(ipril,ids]) tsk = Active task name ipi = A l-word integer value equal to the new priority, from 1 to 250 ids = Directive status (decimal) Macro Call: ALTP$ [tsk](,pri] tsk = Active task name pri = New priority, from 1 to 250 (decimal) ALUNS$ Assign LUN FORTRAN Call: CALL ASNLUN (lun,dev,unt(,ids}) 178 lun = Logical unit number dev = Device name (format: 1A2) unt = Device unit number ids = Directive status Executive Directive Summary In Alphabetical Order by Macro Call Macro Call: ALUNS$ lun,dev,unt lun = Logical unit number dev = Device name (two uppercase characters) unt = Device unit number AST Service Exit ($S form recommended) ASTX$S FORTRAN Call: Neither the FORTRAN language nor the ISA standard permits direct linking to system-trapping mechanisms; therefore, this directive is not available to FORTRAN tasks. Macro Call: ASTXS$S err (err] = Error routine address Attach Region ATRGS "FORTRAN Call: CALL ATRG (irdbl,ids]) irdb = An 8-word integer array containing a Region Definition Block ids = Directive status Macro Call: ATRGS$ rdb rdb = Region Definition Block address Connect To Interrupt Vector ‘ CINTS FORTRAN Call: Not supported Macro Call: CINTS$ vec vec,base,isr,edir,pri,ast = Interrupt vector address — Must be in the range 60(octal) to highest vector specified during sysgen, inclusive, and must be a multiple of 4 179 Executive Directive Summary in Alphabetical Order by Macro Call base = Virtual base address for kernel APR 5 mapping of the ISR, and isr — Virtual address of the ISR, or 0 to disconnect from the inter- edir = Virtual address of the enable/disable interrupt routine pri = Initial priority at which the ISR is to execute ast — Virtual address of an AST routine to be entered after the fork- enable/disable interrupt routines ‘ rupt vector level routine queues an AST CLEF$ Clear Event Flag FORTRAN Call: CALL CLREF (efnl[,ids)) efn = Event flag number ids = Directive status Macro Call: CLEF$ efn efn = Event flag number CLOGS Create Logical Name FORTRAN Call: CALL CRELOG (mod,itbnum,lns,lnssz,iens,ienssz,idsw) mod = itbum = Modifier of the logical name within a table; if not specified, the nonzero value reserved by the system is placed in the DPB; if specified, nonzero values must correspond to the valid symbolic references used by the system Logical name table number in the lower byte and the status byte in the upper byte, as follows: LS.TER =0 LS.PRV =2 Terminal status Privileged status Ins = Character array containing the logical name string Inssz = Size (in bytes) of the logical name string iens = Character array to contain the returned equivalence string jenssz = Size (in bytes) of the data area for the returned equivalence string idsw 180 = Integer to receive the Directive Status Word Executlve Directive Summary in Alphabetical Order by Macro Call Macro Call: CLOGS$ mod, <prmlst>Ins,Inssz,ens mod = Modifier of the logical name within a table; if not specified, the nonzero value reserved by the system is placed in the DPB; if specified, nonzero values must correspond to the valid symbolic references used by the system ' <prmlst> = <[tbnum)][,status]> tbnum = Logical name table number. The following are the symbolic offsets for the table: LT.TSK Task table LT.SES Session table (LB.LOC and LB.LOG are both valid) status = LT.GRP Group table LT.SYS System table Logical status definition value. The following are the valid bits for the value: Ins = LT.PRV Privileged status LT.TER Terminal logical Character array containing the logical name string Inssz Size (in bytes) of the logical name string lens = lenssz = Character to contain the returned equivalence string Size (in bytes) of the data area for returned equivalence string Cancel Mark Time Requests CMKT$ FORTRAN Call: CALL CANMT (lefn](,ids]) efn = Event flag number ids = Directive status Macro Call: CMKT$ (efn,ast,err] efn = ast = Event flag number Mark time AST address ecrr = Error routine address 181 Executive Directive Summary In Alphabetical Order by Macro Call CNCT$ Connect FORTRAN Call: CALL CNCT (rtname, iefn),[iast],[iesb], [iparm][,ids]) Name (Radix-50) of the offspring task to be connected Event flag to be set when the offspring task exits or emits rtname iefn status iast Name of an AST routine to be called when the offspring task iesb Name of an 8-word status block to be written when the exits or emits status offspring task exits or emits status Word 0— Offspring task exit status Word 1-7 — Reserved Name of a word to receive the status block address when an iparm AST occurs Integer to receive the Directive Status Word ids Macro Call: CNCTS$ tname, [efn],least],[esb] Name (Radix-50) of the offspring task to be connected The event flag to be cleared on issuance and set when the tname efn east offspring task exits or emits status — esb Address of an AST routine to be called when the offspring task exits or emits status , Address of an 8-word status block to be written when the offspring task exits or emits status Word 0 — Offspring task exit status Word 1-7 — Reserved Checkpoint Common Region CPCR$ FORTRAN Call: CALL CPCR (namel,ids]) 182 name Name (Radix-50) of the common region to be checkpointed ids Directive status Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: CPCR$ name name = Name of the common region to be checkpointed Create Address Window CRAWS FORTRAN Call: CALL CRAW (iwdbl,ids}) iwdb = An8-word integer array containing a Windt;w Definition Block ids = Directive status Macro CAIll: CRAWS wdb wdb = Window Definition Block address Create Group Global Event Flags CRGF$ FORTRAN Call: CALL CRGF ([group),ids]) group = Group number for the flags to be created — If not specified, the task’s protection UIC (H.CUIC+1) in the task’s header is ids = Integer to receive the Directive Status Word used Macro Call: CRGF$ (group] group = Group number for the flags to be created — If not specified, the task’s protection UIC (H.CUIC+1) in the task’s header is used Create Region CRRGS FORTRAN Call: CALL CRRG (irdbl,ids]) irdb = An 8-word integer array containing a Region Definition Block ids = Directive status | Macro Call: CRRG$ rdb rdb = Region Definition Block address 183 Executive Directive Summary in Alphabetical Order by Macro Call Create Virtual Terminal CRVTS 4 FORTRAN Call: CALL CRVT [iiast], lioast],[iaast],[imlen],iparml[,ids}) iiast — AST address at which input requests from offspring tasks are joast = AST address at which output requests from offspring tasks iaast = AST address at which the parent task may be notified of the imlen jparm = = Maximum buffer length allowed for offspring I/0O requests Address of 3-word buffer to receive information from the ids = Integer to receive the Directive Status Word serviced are serviced completion of succesful offspring attach and detach requests to the virtual terminal unit stack when an AST occurs Macro Call: CRVTS$ (iast],[oast],[aast],(mlen] iast — AST address at which input requests from offspring tasks are oast = AST address at which output requests from offspring tasks are aast = AST address at which the parent task may be notified of the serviced serviced completion of successful offspring attach and detach requests to the virtual terminal unit (if this parameter is not specified, no notification of attaches and detaches are returned to the parent task) = mlen Cancel Time-Based Initiation Requests FORTRAN Call: CALL CANALL (tskl,ids]) 184 ) Maximum buffer length allowed for offspring I/0 requests tsk = Task name ids = Directive status CSRQS Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: CSRQ$ tsk tsk = Task name Declare Significant Event ($S form recommended) DECL$S FORTRAN Call: CALL DECLAR (l,ids}]) ids = Directive status Macro Call: DECLS3S err = [,err] Error routine address DLOGS$ Delete Logical Name FORTRAN Call: CALL DELLOG (mod,itbnum,lns,Inssz,idsw) mod = itbnum = Modifier of the logical name within a table; if not specified, the nonzero value reserved by the system is placed in the DPB; if specified, the nonzero values must correspond to the valid symbolic references used by the system Logical name table number. The tables and their corresponding numbers are: System Group Session Task (LT.SYS) (LT.GRP) (LT.SES) (LT.TSK) =0 =1 =2 =3 Ins = Inssz = Character array containing the logical name string Size (in bytes) of the logical name string idsw = Integer to receive the Directive Status Word Macro Call: DLOG$ mod,tbnum,Ins,Inssz mod = Modifier of the logical name within a table; if not specified, the nonzero value reserved by the system is placed in the DPB; if specified, the nonzero values must correspond to the valid symbolic references used by the system 185 Executive Directive Summary in Alphabetical Order by Macro Call Logical name table number. The tables and their corre- = tbnum sponding numbers are: (LT.SYS) System Group (LT.GRP) (LT.SES) Session (LT.TSK) Task =0 =1 =2 . =3 Ins = Character array containing the logical name string Inssz = Size (in bytes) of the logical name string DSARS$S Disable AST Recognition ($S form recommended) FORTRAN Call: -CALL DSASTR I[(ids)] ids Directive status = Macro Call: DSARS$S err [err] = Error routine address DSCP$S Disable Checkpointing ($S form recommended) FORTRAN Call: CALL DISCKP I[(ids)] ids = 4Directive status Macro Call: DSCP$S err [err] EKrror routine address = ~ Detach Region '‘DTRGS$ FORTRAN Call: CALL DTRG (irdbl,ids}) irdb = An 8-word integer array containing a Region Definition Block ids = Directive status Macro Call: DTRGS$ | rdb rdb 186 = Region Definition Block address Executive Directive Summary in Alphabetical Order by Macro Call ELAWS Eliminate Address Window FORTRAN Call: CALL ELAW (iwdbl,ids)) An 8-word integer array containing a Window Definition iwdbi = ids = VDirective status Block Macro Call: ELAWS wdb wdb = v Window Definition Block address Eliminate Group Global Event Flags ELGFS FORTRAN Call: CALL ELGF ((groupl]l,ids)) group = Group number of flags to be eliminated ids = Integer to receive the Directive Status Word Macro Call: ELGF$ . [group] group Group number of flags to be eliminated = ELVTS Eliminate Virtual Terminal FORTRAN Call: CALL ELVT (iunum/,ids}) junum = Virtual terminal unit number ids = Integer to receive the Directive Status Word Macro Call: ELVTS$ unum unum Unit number of the virtual terminal to be eliminated = EMSTS Emit Status FORTRAN Call: CALL EMST ([rtname],istat],ids]) rtname = Name of task connected to issuing task to which the status is to be emitted 187 Executive Directive Summary in Alphabetical Order by Macro Call istat = A 16-bit quantity to be returned to the connected task ids = Integer to receive the Directive Status Word Macro Call: [(tname],status EMST$ tname = Name of a task connected to the issuing task to which the status = A 16-bit quantity to be returned to the connected task status is to be emitted Enable AST Recognition ($S form recommended) FORTRAN Call: ENARS$S ‘ CALL ENASTR I[(ids)] ids Directive status = Macro Call: ENARS$S err [err] Error-routine address = Enable Checkpointing ($S form recommended) ENCP$S FORTRAN Call: CALL ENACKP [(ids)] ids Directive status = Macro Call: [err] ENCP$S err = Error-routine address ' Exit If FORTRAN Call: CALL EXITIF (efnl[,ids}) efn = Event flag number ids = Directive status Macro Call: EXIF$ efn efn = 188 Event flag number EXIFS$ Executive Directive Summary in Alphabetical Order by Macro Call Task Exit ($S form recommended) EXITSS FORTRAN Call: CALL EXIT (istat) istat = A 16-bit quantity to be returned to the parent task Macro Call: EXIT$S err [err] = Error routine address Exit with Status EXSTS FORTRAN Call: CALL EXST (istat) istat = A 16-bit quantity to be returned to parent task Macro Call: EXST$ status status = A 16-bit quantity to be returned to parent task Extend Task EXTKS FORTRAN Call: CALL EXTTSK (lincl(,ids]) inc = A positive or negative number equal to the number of 32-word blocks by which the task size is to be extended or reduced (if omitted, task size defaults to installed task size) ids = Directive status Macro Call: EXTK$ linc] inc = A positive or negative number equal to the number of 32-word blocks by which the task is to be extended or reduced (if omitted, task size defaults to installed task size) Test for Specified System Feature FEATS FORTRAN Call: CALL FEAT (isyml,ids]) isym ids = Symbol for the specified system feature Directive status 189 Executlve Directive Summary in Alphabetical Order by Macro Call Macro Call: FEATS sym sym Symbol for the specified system feature = FSS$ File Specification Scanner FORTRAN Call: CALL FSSFSS (fsbuf,fssz,prs.blk,prssz, [reserv][,idsw]) fsbuf =~ Array containing the file specification buffer fssz = Size (in bytes) of the file specification buffer prsblk = Array containing the parse block prssz = Size (in bytes) of the parse block reserv = Reserved parameter (must not be specified) idsw = Integer to receive the Directive Status Word Macro Call: FSS$ fsbuf,fssz,prsblk,prssz,reserv fsbuf = Address of the file specification buffer fssz = Size (in bytes) of the file specification buffer prsblk = Address of the parse block prssz = Size (in bytes) of the parse block reserv = Reserved parameter (must be blank) GCCI$ Get Command for Command Interpreter ‘ Fortran Call: CALL GTCMCI (icbf,icbfl, iibuf], [iibfl],[iaddr], [incp][,ids]) icbf = Name of a byte to receive the command. icbfl = Integer containing the size of the icbf array in bytes. iibuf = Name of an integer array to receive the optional information iibfl = Name of an integer containing the length of the optional information buffer. If you specify a length shorter than the information buffer, as much information as will fit in the specified buffer. length is returned. 190 Executive Directive Summary in Alphabeti cal Order by Macro Call iaddr = Name of an integer that contains the address in pool of the command desired (this address was obtained by a previous call to GTCMCI with GC.CND specified) . incp = Name of an integer containing a value indicatin - g the action to take if there is no comman d queued: GC.CCS (000) — GC.CEX (001) — Return with Carry set (default) Force CLI to exit instead of returning GC.CST (002) — Force CLI to stop instead of returning GC.CND (200) — Copy command into buffer, but do not dequeue it from the list ids = Integer to receive the Directive Status Word. Get Command Interpreter Informat ion GCIli$ FORTRAN Call: CALL GETCII (ibuf,ibfl,licli], lidev], liunit] [,ids] ibuf = Name of an integer array to receive the CLI information ibfl = Length in bytes of the integer array to receive the CLI informa- icli = Name of a 2-word zirray element containin tion of the CLI idev. = Name of an integer containing the ASCII (default = TT:) iunit = Name of an integer containing the octal nal ids = g the Radix-50 name name of terminal unit number of termi- Directive status Macro Call: GCII$ buf,bufl,cli,{dev], [unit) buf = Address of buffer to receive information bufl = Length of information buffer cli = Name (Radix-50) of the CLI on which informat ion is requested 191 Executive Directive Summary in Alphabetical Order by Macro Call dev = unit = ASCII name of terminal whose CLI should be used (default is TI:) Octal unit number of terminal GDIR$ Get Default Directory FORTRAN Call: CALL GETDDS (mod,iens,ienssz,[irsize],[idsw]) mod Modifier for the GDIRS$ directive; specify one of the following — values: = Get Task default 0 GD.LOG = Get terminal default Character array containing the default directory string Size (in bytes) of the default directory string iens = jenssz = irsize = Buffer address of the returned default directory string size idsw = Integer to receive the Directive Status Word Macro Call: GDIRS$ [mod],ens,enssz|,rsize! mod Modifier for the GDIR$ directive; specify one of the following = values: = Get Task default 0 GD.LOG = Get terminal default ens = Buffer address of the default directory string enssz = Size (in bytes) of the default directory string buffer rsize = Buffer address to which the size of the default directory string is returned Get LUN information FORTRAN Call: CALL GETLUN (lun,datl,ids]) 192 lun = Logical unit number dat = A 6-word integer array to receive the LUN information ids = Directive status GLUNS$ Executive Directive Summa ry in Alphabetical Order by Macro Call Macro Call: GLUNS$ lun,buf lun = Logical unit number buf = Address of 6-word buffer that will receive the LUN information Get MCR Command Line GMCRS$ FORTRAN Call: CALL GETMCR (bufl,ids}) buf = An 80-byte array to receive the ids = Directive status command line Macro Call: GMCRS$ Get Mapping Context GMCX$ FORTRAN Call: CALL GMCX (imex(,ids)) imex = An integer array to receive the mappin g context. The size of the array is 8+n+1, where n is the number of window blocks in the task’s header. (The maxim um size is 8+24+1=193 on RSX-11M-PLUS systems.) ids = Directive status Macro Call: GMCX$ wvec wvec = . The address of a vector of n Window Definition Blocks, fol- lowed by a terminator word; n is the number of window blocks in the task’s header. Get Partition Parameters GPRTS FORTRAN Call: CALL GETPAR ([prt],bufl,id s]) prt = Partition name buf = A 3-word integer array to receive ids = Directive status partition parameters 193 Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: GPRT$ [prt],buf prt = Partition name buf = Address of 3-word buffer Get Region Parameters FORTRAN Call: GREGS$ | CALL GETREG ([rid},bufl,ids}) rid = Region id buf = A 3-word integer array to receive region parameters ids = Directive status Macro Call: [rid],buf GREGS$ rid = Regionid buf = Address of 3-word buffer Get Sense Switches ($S form recommended) GSSWS$S FORTRAN Call: CALL READSW (isw) isw = Integer to receive the console switch settings The following FORTRAN call allows a program to read the state of a single switch: CALL SWITCH (ibt,ist) ibt = The switch to be tested (0 to 15) ist = Test results where: 1 = switch on 2 = switch off Macro Call: GSSW§S err 194 = [err] Error-routine address Executive Directive Summary in Alphabetical Order by Macro Get Time Parameters GTIM$ FORTRAN Call: ; g Call CALL GETTIM (ibfl,ids)) ibfl = An 8-word integer array ids = Directive status Macro Call: GTIMS$ buf buf = Address of 8-word buffer Get Task Parameters GTSK$S FORTRAN Call: CALL GETTSK (bufl,ids]) buf = An 18-word integer array to receive ids = Directive status the task parameters Macro Call: GTSK$ buf buf = Address of 18-word buffer Inhibit AST Recognition ($S form recommended) IHARS$S FORTRAN Call: CALL INASTR ids = [(ids)] Directive status Macro Call: IHARSS err [err] = Error-routine address Map Address Window FORTRAN Call: MAPS CALL MAP (iwdbl,ids]) iwdb = An8-word integer array containing ids = Directive status a Window Definition Block 195 Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: MAP$ wdb wdb = Window Definition Block address Mark Time FORTRAN Call: CALL MARK (efn,tmg,tnt(,ids]) efn = Event flag number tmg = Time interval magnitude tnt = Time interval unit ids = Directive status The ISA standard call for delaying a task for a specified time interval is also included: CALL WAIT (tmg,tnt,ids) tmg = Time interval magnitude tnt = Time interval unit ids = Directive status Macro Call: MRKT$ [efn],tmg,tnt[.ast] efn = Event flag number tmg = Time interval magnitude tnt = Time interval unit ast = AST entry point address Map Supervisor D-Space , MSDS$ FORTRAN Call: Not supported Macro Call: MSDS$ mask mask = A 7-bit mask with one bit corresponding to each supervisormode D-space APR. If the bit is set, the APR is mapped to supervisor-mode I-space. If the bit is clear, the APR is mapped to user-mode D-space. The 7 bits are specified in bits 8 through 14 of the mask word. 196 . Executive Directive Summar y in Alphabetical Order by Macro Call Move to/from User/Supervisor I/D-Spa ce MVTS$ FORTRAN Call: é . Not supported Macro Call: MVTSS$ action,addr,val é buff action = One of the following: MV.TUI — Moe to user I-space MV.TUD — Move to user D-space MV.TSI — Move to supervisor I-space MV.TSD — Move to supervisor D-space MV.FUI — Move from user I-space MV.FUD — Move from user D-space MV.FSI — Move from supervisor I-space MV.FSD — Move from supervisor D-space addr = Address of the location in the task buf = Buffer to receive the value fetched (for ‘ val tions) = Value to be stored in the location the move-from opera- (for the move-to operations) " Parse FCS$ PFCS$ FORTRAN Call; CALL PFCS ([mod], litbmsk], [lun], (prsblk, prssz],[dfnbk,dfnsz], [rsmsk]{ prbuf, prsz,rsbuf,rssz, [rslen), (,idsw])) mod = Modifier for logical name table entries; specify one of the following values: LB.LOC =1 LB.LOG = 2 Specifying one of these values indicat es that matches in the logical table are based on the exact value. Not specifying a value indicates that the system will look for the first match- ing logical block, regardless of the modifier value. 197 Executive Directive Summary in Alphabetical Order by Macro Call itbmsk Inhibit mask to prevent a logical table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: System IN.SYS Group IN.GRP = Session IN.SES =10 Task INTSK =1 4 =20 lun LUN to be assigned prbuf Array containing the primary file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless not other parameters follow prsz Size (in bytes) of the primary file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no other parameters follow rsbuf Array containing the resulting file specification buffer ISSZ Size (in bytes) of the resulting file specification buffer rslen Integer to receive the resulting string size prsblk Array containing the parse block prssz Size (in bytes) of the parse block dfnbk Array containing the default name block; dfnbk and dfnsz must both be specified or both omitted; if omitted, a comma between their positiion must be present unless no other parameters follow dfnsz Size of the default name block; dfnbk and dfnsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no other parameters follow rsmsk Mask of fields in the resulting string to suppress before re- turning the string. The bits currently defined are the same as those for the flag word in the parse block, The bits are FS§NOD, FS$DEV, FS$DIR, FS$NAM, FS$TYP, and FS$VER. If the bit FS$NDF is set, the device is not defaulted to and the LUN is not assigned. (FS$NDF has no meaning for the FSS$ directive.) idsw 198 Integer to receive the Directive Status Word. Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: PFCS$ mod,tbmsk,lun,prbuf,prsz,rsbuf,rssz,rslen,prsblk,prssz,dfnbk, dfnsz,rsmsk mod Modifier for logical name table entries; specify one of the following values: LB.LOC =1 LB.LOG = 2 Specifying one of these values indicates that matches in the . logical table are based on the exact value. Not specifying a value indicates that the system will look for the first matching logical block, regardless of the modifier value. tbmsk Inhibit mask to prevent a logical table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: System Group Session IN.SYS =10 IN.GRP = 4 IN.SES =20 Task INTSK = 1 lun LUN to be assigned prbuf Address of the primary file specification buffer prsz Size (in bytes) of the primary file specification buffer rsbuf Address of the resulting file specification buffer ISSZ Size (in bytes) of the resulting file specification buffer rslen Address of a word to receive the resulting string size prsblk Address of the parse block prssz Size (in bytes) of the parse block dfnbk Address of the default name block dfnsz Size of the default name block rsmsk Mask of fields in the resulting string to suppress before re- turning the string. The bits currently defined are the same as those for the flag word in the parse block. The bits are FS$NOD, FS$DEV, FS$DIR, FS$NAM, FS$TYP, and FS$VER. If the bit FS$NDF is set, the device is not defaulted to and the LUN is not assigned. (FS$NDF has no meaning for the FSS$ directive.) 199 Executive Directive Summary in Alphabetical Order by Macro Call PRMS$ PRMSS$ FORTRAN Call: ({mod], (itbmsk],[lun],prbuf,prsz,r PRSRMS CALL buf,rssz,[rslen],(prsblk,prssz], [dfbuf,dfsz], [rsmsk][,idsw]) - mod = : Modifier for logical name table entries; specify on of the following values: LB.LOC =1 LB.LOG =2 Specifying one of these values indicates that matches in the logical table are based on the exact value. Not specifying a value indicates that the system will look for the first matching logical block, regardless of the modifier value. = Inhibit mask to prevent a logical table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: System Group Session Task 10 IN.SYS IN.GRP = 4 IN.SES = 20 INTSK = 1 Il itbmsk lun = LUN to be assigned prbuf = Array containing the primary file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no prsz = rsbuf = Array containing the resulting file specification buffer ISSZ = Size (in bytes) of the resulting file specification buffer rslen = Integer to receive the resulting string size prsblk = Array containing the parse block prssz = Size (in bytes) of the parse block other parameters follow Size (in bytes) of the primary file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no other parameters follow 200 Executive Directive Summary in Alphabetical Order by Macro Call dfbuf = Address of the default file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no other parameters follow dfsz = Size (in bytes) of the default file specification buffer; prbuf and prsz must both be specified or both omitted; if omitted, a comma between their positions must be present unless no other parameters follow rsmsk = Mask of fields in the resulting string to suppress before returning the string. The bits currently defined are the same as those for the flag word in the parse block. The bits are FS$SNOD, FS$DEV, FS$DIR, FS$NAM, FS$TYP, and FS$VER. If the bit FS$NDF is set, the device and directory are not defaulted to and the LUN is not assigned. (FS$NDF has no meaning for the FSS$ directive.) idsw = Integer to receive the Directive Status Word. Macro Call: PRMS$ mod,tbmsk,lun,prbuf, prsz,rsbuf,rssz,rslen, prsblk, prssz,dfbuf, dfsz,rsmsk mod = Modifier for logical name table entries; specify on of the follow- ing values: LB.LOC =1 LB.LOG =2 Specifying one of these values indicates that matches in the logical table are based on the exact value. Not specifying a value indicates that the system will look for the first matching logical block, regardless of the modifier value. tbmsk = Inhibit mask to prevent a logical table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: System Group IN.SYS =10 IN.GRP = 4 Session IN.SES Task IN-TSK = =20 1 lun = LUN to be assigned prbuf = Address of the primary file specification buffer 201 Executive Directive Summary in Alphabetical Order by Macro Call prsz = Size (in bytes) of the primary file specification buffer Address of the resulting file specification buffer rsbuf = ISSZ — Size (in bytes) of the resulting file specification buffer rslen = Address of a word to receive the resulting string size prsblk = Address of the parse block prssz = Size (in bytes) of the parse block dfbuf = Address of the default file specification buffer dfsz = Size (in bytes) of the default file specification buffer rsmsk = Mask of fields in the resulting string to suppress before returning the string. The bits currently defined are the same as those for the flag word in the parse block. The bits are FS$NOD, FS$DEV, FS$DIR, FS$NAM, FS$TYP, and FS$VER. If the bit FS$NDF is set, the device and directory are not defaulted to and the LUN is not assigned. (FS$NDF has no meaning for the FSS$ directive.) Queue I/O Request Qlo$ FORTRAN Call: CALL QIO (fnc,lun,[efn], [pril,(isb}],[prll(,ids]) fuc I/0 function code. lun Logical unit number. efn Event flag number. pri Priority (ignored, but parameter must be present in call). isb A 2-word integer array to receive final I/O status. prl A 6-word integer array containing device-dependent parameters to be placed in parameter words 1 through 6 of the Directive Parameter Block (DPB). Fill in this array by using the ids Directive status. GETADR routine. Macro Call: QIO$ fnc lun 202 fnc,lun,efn],pril,[isb],[ast],[prl] " I/O function code Logical unit number Executive Directive Summary in Alphabetical Order by Macro Call efn = Event flag number pri = Priority (ignored, but Q.IDPR byte must be present in DPB) isb = Address of 1/O status block ast = Address of AST service routine entry point prl = Parameter list of the form <pl,...p6> Queue I/0 Request And Walt QIOWS FORTRAN Call: CALL WTQIO (fnc,lun,efn], [pri),lisb}, [prll{,ids]) fnc = I/O function code lun = Logical unit number efn = [Event flag number pri = Priority (ignored, but parameter must be present in call) isb = A 2-word integer array to receive final I/O status prl = A 6-word integer array containing device dependent parameters ids = to be placed in parameter words 1 through 6 of the DPB Directive status Macro Call: QIOWS fnc,lun,lefn],[pri}, [isb], [ast], prl] fnc = I/O function code lun = Logical unit number efn = Event flag number pri = Priority (ignored, but parameter must be present in DPB) isb = Address of I/O status block ast = Address of AST service routine entry point prl = Parameter list of the form <pl,...p6> Recelve Data Or Stop RCSTS FORTRAN Call: CALL RCST ((rtname),ibufl,ids]) rtname = Sender task name (if not specified, data may be received from any task) 203 Executive Directive Summary in Alphabetical Order by Macro Call ibuf = Address of 15-word buffer to receive the sender task name ids = Integer to receive the Directive Status Word a_nd data Macro Call: RCST$ [tname],buf tname = Sender task name (if not specified, data may be received from any task) buf = Address of a 15-word buffer to receive the sender task name and data Receive Data RCVD$ FORTRAN Call: CALL RECEIV ([tsk],bufl,,ids}) tsk = Sender task name (if not specified, data may be received from any task) buf = A 15-word integer array for received data ids = Directive status Macro Call: RCVD$ tsk [tsk],buf = Sender task name (if not specified, data may be received from any task) buf = Address of 15-word buffer Receive Data Or Exit FORTRAN Call: RCVXS$ ‘ CALL RECOEX ([tsk],bufl,,ids]) 204 "tsk = Sender task name (if not specified, data may be received from any task) buf = A 15-word integer array for received data ids = Directive status Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: RCVXS$ [tsk],buf tsk = buf = Sender task name (if not specified, data may be received from any task) Address of 15-word buffer Read All Event Flags | RDAFS FORTRAN Call: A FORTRAN task can read only one event flag. The call is: efn Il CALL READEF (efnl,ids]) Event flag number ids = Directive status The ExecutiQe returns the status codes IS.SET (+02) and IS.CLR (00) for FORTRAN calls in order to report event-flag polarity. Macro Call: RDAF$ buf buf = Address of 4-word buffer Read Event Flag RDEF$ FORTRAN Call: CALL READETF (iefnl[,ids]) iefn = Integer containing an event flag number ids = Integer variable to receive the Directive Status Word The Executive returns the status codes IS.SET (+02) and IS.CLR (00) for FORTRAN calls in order to report event-flag polarity. Macro Call: RDEF$ efn efn = Event flag number 205 Executive Directive Summary in Alphabetical Order by Macro Call RDXF$ Read Extended Event Flags FORTRAN Call: A FORTRAN task can read only one event flag. The call is: CALL READEF (efnl[,ids)) efn = Event flag number ids = Directive status The Executive returns the status codes IS.SET (+02) and IS.CLR (00) for FORTRAN calls in order to report event-flag polarity. Macro Call: buf RDXF$ buf = Address of six-word buffer RLONS Recursive Translation of Logical Name RLOGS (CALL RCTLON and RLONS are the preferred calls to use on RSX-11M-PLUS and Micro/RSX. CALL RCTLOG and RLOGS$ are provided for compatibility with P/0S.) FORTRAN Calls: CALL RCTLON (mod,itbmsk, [status] ,lns,lnssz,iens,ienssz, [rsize], [rtbmod], lidsw]) CALL RCTLOG (mod,itbmsk,[status],Ins,lnssz,iens,ienssz, [fsize] ,Irtbmod], [idsw]) mod = itbmsk = Modifier of the logical name within a table; restricted to LB.LOC or LB.LOG Inhibit mask to prevent a logical name table from from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: (IN.SYS) =10 4 (IN.GRP) (IN.SES) =20 Task (IN.-TSK) Il System Group Session = 1 If no mask is specified, the tables are searched in the following order: user, session, group, system. Ins 206 = Character array containing the logical name string Executive Directive Summary in Alphabetical Order by Macro, Call status = Word to receive the logical status associated with the located logical name: Inssz = iens = LS.TRM = Terminal status bit LSPRV = Privileged status Size (in bytes) of the logical name string Character array buffer to receive the returned equivalencename string ienssz = Size (in bytes) of the data area for the returned equivalence- rsize = Word to receive the size of the equivalence-name string rtbmod = Word to receive, in the lower byte, the table number and, in the higher byte, the modifier value of the located logical idsw = name string name Integer to receive the Directive Status Word Macro Calls: RLONS$ mod,[tbmsk], [status],Ins,Inssz,ens,enssz, [rsize],[rtbmod) RLOGS$ mod,[tbmsk]),[status},Ins,Inssz,ens,enssz,[rsize],[rtbmod] mod = tbmsk = Modifier of the logical name within a table; restricted to LB.LOC or LB.LOG Inhibit mask to prevent a logical name table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched. System Group Session Task (IN.SYS) (IN.GRP) (IN.SES) (IN.TSK) =10 = 4 =20 =1 If no mask is specified, the tables are searched in the following order: user, session, group, system. The value defaults to 1 (LB.LOC). Ins = Character array containing the logical name string Inssz = Size (in bytes) of the logical name string ens = Character array buffer to receive the returned equivalencename string 207 Executive Directive Summary in Alphabetical Order by Macre Call enssz = Size (in bytes) of the data area for the returned equivalencename string Word to receive the size of the equivalence-name string = rsize rtbmod = Word to receive, in the lower byte, the table number and, in the higher byte, the modifier value of the located logical name status = Word to receive the logical status associated with the located logical name Remove Affinity ($S form recommended) RMAF$S FORTRAN Call: CALL RMAF ((ids)] ids = Integer receive the Directive Status Word Macro Call: RMAF$S Request and Pass Offspring information RPOI$ FORTRAN Call: CALL RPOI (tname,liugc],liumc],liparen],(ibuf], [ibfl],[isc], {idnam], [iunit], [itask],[ocbad][,ids}) tname = Name of an array containing the actual name (in Radix-50) of the task to be requested and optionally chained to iugc = Name of an integer containing the group code number for the UIC of the requested target chain task iumc = Name of an integer containing the member code number for iparen = ibuf = the UIC of the requested target chain task Name of an array (or I*4 integer) containing the Radix-50 name of the parent task. This is returned in the information buffer of the GTCMCI subroutine. ' ibfl Name of an array that contains the command line text for the chained task = Name of an integer that contains the number of bytes in the command in the ibuf array 208 Executive Directive Summary in Alphabetical Order by Macro Call = isc Flag byte controlling the actions of this directive request when executed. The bit definitions of this byte (only the loworder byte of the integer specified in the call is ever used) are as follows: RP.OEX = 128. Force this task to exit on successful execution of the RPOI$ directive. RP.OAL =1 Pass all of this task’s connections to the requested task. (The default is RP.ONX = 2 Pass the first connection in the queue, none.) if there is one idnam = Name of an integer containing the ASCII device name of the requested task’s TI: (must be the name of a physical device) iunit = Name of an integer containing the unit number of the re- itask = quested task’s TI: Name of an array containing the Radix-50 name the requested task is to run under. On RSX-11M-PLUS systems, any task may specify a new name for the requested task as long as the requested task is not a CLI task. The requested task (specified in the tname parameter) must be installed in the ...tsk format. ocbad = Name of an integer containing the internal pool address of the parent OCB. This value may be obtained only in the information buffer of the GTCMCI subroutine, which only a CLI can issue; therefore, only a CLI can specify this argu- ids = Integer to receive the Directive Status Word ment. Macro Call: RPOI$ tname,,, [ugc),lumc],[parent],(bufadr],(buflen],(sc],[dnam], [unit], [task],[ocbad] Name of task to be chained to tname = ugc = Group code for UIC of the requested task umc = Member code for UIC of the requested task Executive Directive Summary in Alphabetical Order by Macro Call Name of issuing task’s parent task whose connection is to be = parent passed. bufadr = Address of buffer to be given to the requested task buflen = Length of buffer to be given to requested task SC = Flag bits: . RP.OEX — (200) RP.OAL — (1) RP.ONX — (2) Force issuing task to exit Pass all connections (default is none) Pass the first connection in the queue, if there is one. ASCII device name for TI: (must be the name of a physical = dnam device) unit Unit number of task’s TI: task Radix-50 name of task to be started. On RSX-11M-PLUS systems, any task may specify a new name for the requested task as long as the requested task is not a CLI task. The requested task (specified in the tname parameter) must be installed in the ...tsk format. ocbhad Address of OCB to pass (CLIs only) = RQSTS Request Task FORTRAN Call: CALL REQUES (tsk,[opt](,ids]) tsk = Task name opt = A 4-word integer array: opt(l) = Partition name, first half (ignored, but must be opt(2) = Partition name, second half (ignored, but must be present) present) opt(3) = Priority (ignored, but must be present) opt(4) = User Identification Code ids 210 = Directive status | Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: RQST$ tsk,(prt],[pril{,ugc,umc] tsk = Task name prt = Partition name (ignored, but must be present) pri = Priority (ignored, but must be present) uge .= UIC group code umc. = UIC member code Receive By Reference RREF$ FORTRAN Call: CALL RREF (iwdb, lisrb][,ids}) iwdb = An 8-word integer array containing a Window Definition Block istb = A 10-word integer array to be used as the receive buffer ids = | Directive status Macro Call: RREF$ wdb wdb = Window Definition Block address Receive By Reference or Stop RRSTS FORTRAN Call: CALL RRST (iwdb,[isrb](,ids]) iwdb = An 8-word integer array containing a Window Definition Block istb = A 10-word integer array to be used as the receive buffer. If the (see Section 3.5.2.2). call omits this parameter, the contents of iwdb(8) are un- changed. ids = Directive status. Macro Call: RRST$ wdb wdb = Window Definition Block address 211 Executive Directive Summary in Alphabetical Order by Macro Call RSUMS$ Resume Task FORTRAN Call: CALL RESUME (tsk[,ids]) tsk = Task name ids = Directive status Macro Call: RSUMS$ tsk tsk Task name = RUNS$ Run Task FORTRAN Call: CALL RUN (tsk,[opt],smg,snt,[rmg], [rnt](,ids]) tsk = Task name opt = A 4-word integer array: opt(l) = Partition name, first half (ignored, but must be present) opt(2) = Partition name, second half (ignored, but must be present) opt(3) = Priority (ignored, but must be present) opt(4) = User Identification Code Schedule delta magnitude smg = snt = Schedule delta unit (either 1, 2, 3, or 4) rmg = Reschedule interval magnitude mt = Reschedule interval unit ids = Directive status The ISA standard call for initiating a task is also provided: CALL START (tsk,smg,snt[,ids]) 212 tsk = Task name smg = Schedule delta magnitude Executive Directive Summary in Alphabetical Order by Macro snt = Schedule delta unit (either 0, 1, 2, 3, or 4) ids = Directive status Call Macro Call: RUNS$ tsk, [prt}, [pri], lugcl, [umec],smg,snt(,rmg,rnt) tsk = Task name prt = Partition name (ignored, but must be present) pri = Priority (ignored, but must be present) ugc = UIC group code umc = UIC member code ‘ smg = Schedule delta magnitude snt = Schedule delta unit (either 1, 2, 3, or 4) rmg = Reschedule interval magnitude rmt = Reschedule interval unit Specify Command Arrival AST SCAAS FORTRAN Call: Not supported Macro Call: SCAAS [ast] ast = AST service-routine entry point. Omitting this parameter dis- ables command arrival ASTs for the issuing task until the directive is specified again. Supervisor Call ($S form recommended) SCALSS FORTAN Call: Not supported Macro Call: SCALSS saddr,caddri,err] saddr = Address of the called supervisor-mode routine caddr = Address of the completion routine for return to the caller err = Address of error routine 213 Executive Directive Summary in Alphabetical Order by Macro Cali Set Command Line Interpreter FORTRAN Call: ‘ SCLIS CALL SETCLI (icli,idev,iunit(,ids]) icli — A 2-word array element containing the name of the CLI to idev = Integer containing the ASCII name of the terminal to be set junit = Integer containing the unit number of terminal ids = Directive status which the terminal is to be set (default = TI:) Macro Call: SCLI$ cli,[dev],[unit] Name of the CLI to which the terminal is to be set cli — dev — ASCII name of the terminal to be set (default = TI:) unit = Unit number of terminal ’ Send Data FORTRAN Call: CALL SEND (tsk,buf,[efn][,ids]) tsk = Task name buf = A 13-word integer array of data to be sent efn = Event flag number ids = Directive status‘ Macro Call: SDATS$ 214 tsk,bufl,efn] tsk = Task name buf = Address of 13-word data buffer efn = Event flag number SDATS Executive Directive Summary in Alphabetical Order by Macro Call Set Default Directory ' SDIRS FORTRAN Call: CALL SETDDS (mod,iens,ienssz,[idsw]) mod = Modifier for the SDIR$ directive; 0 = Modify task default SD.LOG= Modify terminal default SD.BYE = Delete terminal default SD.TI = Set task default to terminal default iens = ienssz = Character array containing the default directory string Size (in bytes) of the default directory string idsw = Integer to receive the Directive Status Word Macro Call: { mod J SDIR$ {,ens,enssz } (must choose one of these options) { mod,ens,enssz } mod = Modifier for the SDIR$ directive; = Modify task default 0 SD.LOG= Modify terminal default = Delete terminal default SD.BYE SD.TI = Set task default to terminal default ens — enssz = Buffer address of the default directory string; if not specified, the default directory string is deleted (ens-and enssz must be selected to modify the default) Size (in bytes) of the default directory string (enssz and ens must be selected to modify the default) Send, Request and Connect SDRCS$ FORTRAN Call: CALL SDRC (rtname,ibuf,[iefn], [iast], [iesb],[iparm](,ids]) 215 Executive Directive Summary in Alphabetical Order by Macro Call CALL SDRCN (rtname,ibuf, [iefn], [iast], [iesb],[iparm](,ids]) rtname = Target task name of the offspring task to be connected ibuf = iefn — Name of 13-word send buffer Event flag to be set when the offspring task exits or emits status Name of an AST routine to be called when the offspring task iast — iesb — Name of an 8-word status block to be written when fhe exits or emits status (ignored for CALL SDRCN) offspring task exits or emits status: Word 0 — Offspring-task exit status Word 1 — TKTN abort code Word 2-7 — Reserved iparm = Name of a word to receive the status block address when an ids — Integer to receive the Directive Status Word AST occurs Macro Call: SDRC$ tname,buf,lefn],[east],[esb] Target task name of the offspring task to be connected tname = buf = Address of a 13-word send buffer efn = The event flag to be cleared on issuance and when the off- east = Address of an AST routine to be called when the offspring esb = Address of an eight-word status block to be written when the spring task exits or emits status task exits or emits status offspring task exits or emits status: Word 0 — Offspring-task exit status Word 1 — TKTN abort code Word 2-7 — Reserved Send Data Request and Pass Offspring Control Block SDRP$ FORTRAN Call: CALL SDRP (task,ibuf,[ibfl],liefn], [iflag], liparen], [iocbad](,ids]) task 216 = Name of an array (REAL, INTEGER, I*4) that contains the Radix-50 name of target task Executive Directive Summary in Alphabetical Order by Macro Call ibuf Name of an integer array containing data to be sent ibfl Name of an integer containing number of words (integers) in the array to be sent.”On RSX-11M-PLUS systems, this argument may be in the range of 1 to 255. If this argument is not specified, a default value of 12(10) is assumed. iefn Name of an integer containing the number of the event flag to be set when this directive is executed successfully iflag Name of an integer containing flags bits controlling execution of this directive. They are defined as follows: SD.REX = 128. Force this task to exit upon successful execution of this directive SD.RAL =1 : Pass all connections to the requested task (default is pass none); if you specify this flag, do not specify the parent task name SD.RNX = 2 Pass the first connection in the queue, if there is one, to the requested task; if you specify this flag, do not specify the parent task name iparen Name of array containing the Radix-50 name of the parent task whose connection should be passed to the target task. The name of the parent task was returned in the information buffer of the GTCMCI subroutine. iocbad Name of an integer containing pool address of the OCB to pass. This value was returned in the information buffer of the GTCMCI subroutine. Only CLI tasks may specify this parameter. ids Name of an integer to receive the contents of the Directive Status Word Macro Call: SDRPS$ task,bufadr,[buflen],(efn],flag],[parent],locbad] task Name of task to be chained to _ bufadr Address of buffer to be given to the requested task buflen Length of buffer to be given to requested task efn Event flag number 217 Executive Directive Summary in Alphabetical Order by Macro Call flag = parent = Flag bits controlling execution of this directive (see iflag, above, for the definitions of the bits) Name of issuing task’s parent task whose connection is to be passed. If not specified, all connections or no connections are passed, depending on the flag bit. = ochad Address of OCB to pass (CLIs only) Set Event Flag SETF$ ' FORTRAN Call: CALL SETEF (efn[,ids]) efn = Event flag number ids = Directive status Macro Call: SETF$ efn efn = Event flag number Specify Floating Point Exception AST SFPAS FORTRAN Call: Not supported Macro Call: SFPAS$ ast [ast] AST service routine entry point address = SMSGS$ Send Message FORTRAN Call: CALL SMSG (itgt,ibuf,ibufl,iprm,iprml,ids) itgt = Name of an integer containing the target object ibuf = Name of an integer array containing the data to be inserted ibufl = Name of an integer containing length of the ibuf array iprm = Name of an integer array containing any additional parame- into the formatted data packet ters 218 Executive Directive Summary in Alphabetical Order by Macro Call iprml = Name of an integer containing the number of parameters in ids = Name of an optional integer to receive the directive status the iprm array Macro Call: . SMSGS$ tgt,buf,len, <pri,...,prn> tgt = Target identifier buf = Address of optional data buffer len = Length in bytes of optional data buffer pri,....prn = Target-specific (for the Error Logger) parameter list: ‘ SMSG$ SM.SER,buf,len,<typ,sub,lun, mask> typ = Error Logger packet code sub = Error Logger packet subtype code lun = Logical unit number of device msk = Control mask word Send Next Command SNXC$ FORTRAN Call: CALL SNXC (lidnam) [,iunit][,ids]) dnam = iunit = Device name (ASCII); if not specified, TI: is used Unit number of the terminal from which the command is to be sent ids = Integer to receive the Directive Status Word Macro Call: SNXC$ [dnam][,unum] dnam = Device name (ASCII); if not specified, TI: is used unum = Unit number of the terminal from which the command is to be sent 219 | Executive Directive Summary in Alphabetical Order by Macro Cali Specify Parity Error AST SPEAS FORTRAN Call: Not supported Macro Call: SPEAS$ [ast] ast AST service-routine entry-point address = Suspend ($S form recommended) SPND$S FORTRAN Call: CALL SUSPND ids [(ids)] Directive status = Macro Call: [err] SPND$S err Error-routine address = Specify Power Recovery AST SPRAS$ FORTRAN Call: To establish an AST: EXTERNAL sub CALL PWRUP (sub) sub = Name of a subroutine to be executed upon power recovery. The PWRUP subroutine will effect the following: CALL sub (no arguments) The subroutine is called as a result of a power recovery AST, and therefore may be controlled at critical points by using the DSASTR (or INASTR) and ENASTR subroutine calls. To remove an AST: CALL PWRUP Macro Call: SPRAS$ ast 220 [ast] = AST service-routine entry-point address Executive Directive Summary in Alphabetical Order by Macro Call Spawn SPWNS$ FORTRAN Call: CALL SPAWN (rtname, [iugc],iumc],[iefn], [iast], [iesb],[iparm], ficmlin,icmlen],[iunit],{[dnam](,ids]) CALL SPAWNN (rtname,[iugc],[iumc], [iefn], [iast], (iesb], [iparm], I icmlin,icmlen], [iunit],[dnam](,ids}) rtname Name (Radix-50) of the offspring task to be spawned | iuge Group code number for the UIC of the offspring task iumc Member code number for the UIC of the offspring task iefn Event flag to be set when the offspring task exits or emits 1ast Name of an AST routine to be called when the offspring status task exits or emits status (ignored for CALL SPAWNN) iesb Name of an 8-word status block to be written when the offspring task exits or emits status: Word 0 — Offspring-task exit status Word 1 — TKTN abort code Words 2-7 — Reserved iparm Name of a wordrto receive the status block address when the AST occurs icmlin Name of a command line to be queued for the offspring task icmlen Length of the command line (255 (decimal) characters maximum) iunit Unit number of terminal to be used as the TI: for the offspring task (if the optional dnam parameter is not specified, this parameter must be the unit number of a virtual terminal created by the issuing task; if a value of 0 is specified, the TI: of the issuing task is propagated) dnam Device name mnemonic (must be the name of a physical ids Integer to receive the Directive Status Word device) 221 - Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: SPWN$ tname,,,[ugc),[umc],lefn],[east], [esb],[cmdlin,cmdlen],[unum],[dnam] tname = Name (Radix-50) of the offspring task to be spawned ugc — Group code number for the UIC of the offspring task umc = Member code number for the UIC of the offspring task efn = The event flag to be cleared on issuance and set when the east = esb = offspring task exits or emits status Address of an AST routine to be called when the offspring task exits or emits status Address of an 8-word status block to be written when the offspring task exits or emits status: Word 0 — Offspring task exit status Word 1 - TKTN abort code Word 2-7 — Reserved cmdlin = cmdlen = unum = Address of a command line to be queued for the offspring task Length of the command line (maximum length is 255 decimal) Unit number of terminal to be used as the TI: for the offspring task (if the optional dnam parameter is not specified, this parameter must be the unit number of a virtual termi- nal created by the issuing task; if a value of 0 is specified, the TI: of the issuing task is propagated) = dnam Device name mnemonic (must be the name of a physical device) Specify Receive Data AST SRDAS FORTRAN Call: Neither the FORTRAN language nor the ISA standard permits direct linking to system-trapping mechanisms. Therefore, this directive is not available for FORTRAN tasks Macro Call: SRDAS$ ast 222 [ast] = AST service-routine entry-point address Executive Directive Summary in Alphabetical Order by Macro Call Specify Requested Exit AST SREAS$ SREX$ FORTRAN Call: CALL SREA (astl,ids]) ast = ids = Name of the externally declared AST subroutine Name of an optional integer to receive the Directive Status - Word CALL SREX (ast,ipblk,ipblkl,[dummy]l,ids]) ast = Name of the externally declared AST subroutine ipblk = Name of an integer array to receive the trap-dependent ipblkl = Number of parameters to be returned into the ipblk array dummy = Reserved for future use ids = Name of an optional integer to receive the Directive Status parameters Word Macro Call: SREAS$ [ast] SREXS [ast][,dummy] ast = AST service-routine entry-point address dummy = Reserved for future use Send By Reference SREF$ FORTRAN Call: CALL SREF (tsk,lefn],iwdb, [isrb](,ids]) tsk = efn = Event flag number iwdb = An8-word integer array containing a Window Definition Block isrb = An 8-word integer array containing additional information (If specified, the address of isrb is placed in iwdb(8); if isrb is omitted, the contents of iwdb(octal) remain unchanged.) ids = Directive status A single-precision floating-point variable containing the name of the receiving task in Radix-50 format. 223 Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: SREF$ task,wdbl,efn] task = Receiver task name wdb = Window Definition Block address efn = Event flag number Specify Receive-By-Reference AST RSRAS FORTRAN Call: Neither the FORTRAN language nor the ISA standard permits direct linking to system-trapping mechanisms. Therefore, this directive is not available for FORTRAN tasks. " Macro Call: SRRAS$ ast [ast] = AST service-routine entry-point address STAFS Set Affinity FORTRAN Call: CALL STAF (iaffl,ids]) jiaff = Affinity mask word ids = Integer to receive Directive Status Word Macro Call: STAF$ [cp!ublub...] cp = CPU selected (A through D) ub = UNIBUS run(s) selected (E through T) Set System Time Directive STIMS FORTRAN Call: CALL SETTIM (ibufn[,ibufp](,ids]) 224 ibufn = An 8-word integer array — new time specification buffer ibufp = An 8-word integer array — previous time buffer ids = Directive status Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: STIM$ bufn,{bufpl bufn = Address of new 8-word time-specification buffer bufp = Address of 8-word buffer to receive the previous system time parameters Stop for Logical OR of Event Flags FORTRAN Call: STLOS | CALL STLOR (iefl,ief2,ief3, ... ief(n)) iefl ... ief(n) = List of event flag numbers Macro Call: STLO$ grp, msk grp = Desired group of event flags msk = A 16-bit mask word Stop ($S form recommended) STOP$S FORTRAN Call: CALL STOP (lids]) ids = Integer to receive the Directive Status Word Macro Call: STOP$S Stop For Single Event Flag STSES$ FORTRAN Call: CALL STOPFR (jefn[,ids) iefn = Event flag number ids = Integer to receive Directive Status Word Macro Call: STSE$ efn efn = Event flag number 225 Executive Directive Summary in Alphabetical Order by Macro Call Specify SST Vector Table for Debugging Aid SVDB$ FORTRAN Call: Neither the FORTRAN language nor the ISA standard permits direct linking to system-trapping mechanisms. Therefore, this directive is not available for FORTRAN tasks. Macro Call: [adr]l,len] adr = len | SVDB$ Address of SST vector table = Length of (that is, number of entries in) table in words Specify SST Vector Table for Task SVTKS FORTRAN Call: Neither the FORTRAN language nor the ISA standard permits direct linking to system-trapping mechanisms. Therefore, this directive is not available for FORTRAN tasks. Macro Call: [adr],len] SVTK$ adr = Address of SST vector table len = Length of (that is, number of entries in) table in words SWST$ Switch State FORTRAN Call: Not supported Macro Call: SWSTS$ base,addr base = The base virtual address within the task for mapping the sub- addr = Virtual address of the subroutine to be executed in system routine through APR5 state by the directive Test for Specified Task Feature FORTRAN Call: CALL TFEA (isyml,ids]) 226 isym = Symbol for the specified task feature ids =- Directive status TFEAS Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: TFEAS$ sym sym = Symbol for the specified task feature TLONS Translate Logical Name TLOGS , | — -PLUS (CALL TRALON and TLONS are the preferred calls to use on RSX-11M and Micro/RSX. CALL TRALOG and TLOG$ are provided for compatibility 4 with P/OS.) FORTRAN Calls: CALL TRALON (mod,tbmsk, [status],Ins,Inssz,ens,ienssz, (rsizel,irtbmodl,[,idsw]) CALL TRALOG (mod,tbmsk, [status),Ins,Inssz,ens,ienssz, mod = Modifier of the logical name within a table; restricted to tbmsk = Inhibit mask to prevent a logical name table from being set, LB.LOC or LB.LOG searched. The following symbol bit definitions, when prevent a particular table from being searched: System Group Session User 10 (IN.SYS) 4 (IN.GRP) (IN.SES) =20 ol g (IN.USR) i --- (rsize], [rtbmod],[,idsw]) 1 If no mask is specified, the tables are searched in the followstatus — ing order: user, session, group, system. Word to receive the logical status word: LS.TER =1 LS. PRV =2 ' Terminal status bit Privileged status Character array containing the logical name string Ins — Inssz ens _ — ienssz = Size (in bytes) of the data area for the returned equivalence rsize = Word to receive the size of the returned equivalence name Size (in bytes) of the logical name string Character array buffer to contain the returned equivalence string name string 227 Executive Directive Summary in Alphabetical Order by Macro Call rtbmod = idsw = Word to receive, in the lower byte, the table number and, in the higher byte, the modifier value of the located logical name Integer to receive the Directive Status Word Macro Calls: TLON$ mod, [statusltbmsk,lns,Inssz,ens,enssz,[rsize], (rtbmod] TLOGS$ mod,[status]tbmsk,Ins,Inssz,ens,enssz,[rsize], [rtbmod] — Modifier of the logical name within a table; restricted to mod LB.LOC or LB.LOG tbmsk = Inhibit mask to prevent a table from being searched. The following symbol bit definitions, when set, prevent a particular table from being searched: System Group (IN.SYS) =10 (IN.GRP) = 4 User (IN.USR) = Session (IN.SES) =20 1 If no mask is specified, the tables are searched in the follow- _ ing order: user, session, group, system. status = Word to receive the logical status: LS.TER =1 LS.PRV =2 Terminal status bit Privileged status Ins = Character array containg the logical name string Inssz = Size (in bytes) of the logical name string ens = Character array to contain the returned equivalence string enssz = Size (in bytes) of the data area for the returned equivalence rsize = name string Word to receive the size of the returned equivalence name; this size is always the actual size of the equivalence name regardless of the string size specified with enssz rtbmod Word to receive, in the lower byte, the table number and, in the higher byte, the modifier value of the located logical name 228 r by Macro Call Executive Directive Summary in Alphabetical Orde ULGF$S Unlock Group Global Event Flags ($$ form recommended) FORTRAN Call: CALL ULGF ([ids}) ids = Directive status Macro Call: ULGFS$S [err] err = Error-routine address Unmap Address Window UMAPS : FORTRAN Call: CALL UNMAP (iwdbl,ids]) iwdb = An 8-word integer array containing a Window Definition Block ids = Directive status | Macro Call: UMAP$ wdb " wdb = Window Definition Block address Unstop Task FORTRAN Call: | USTPS CALL USTP ([rtname][,ids]) unstopped. (If not specified, CALL rtname = Name of task to beissuing task as its default.) ids USTP will use the — Integer to receive directive status information Macro Call: USTP$ tname [tname] not specified, CALL = Name of task to be unstopped.as (If its default.) USTP will use the issuing task Variable Receive Data VRCD$ FORTRAN Call: CALL VRCD ([task],bufadr,buflen(,ids]) task = Sender task name 229 Executive Directive Summary in Alphabetical Order by Macro Call bufadc = Address of buffer to receive the sender task name and data buflen = Length of buffer (in words) ids — Integer to receive the Directive Status Word (must be word-aligned (INTEGER+2)) Macro Call: VRCD$ [task],bufadr(,buflen],[ti] task = Sender task name bufadr = Buffer address buflen = Buffer size (in words) ti = TI: indicator (ignored) VRCS$ Variable Receive Data Or Stop FORTRAN Call: CALL VRCS ((task],bufadr,[buflen](,ids]) Sender task name task = buf — Address of buffer to receive the sender task name and data buflen = Length of buffer ids - = Integer to receive the Directive Status Word Macro Call: VRCS$ [task],bufadr(,bufleni,[ti] task = Sender task name bufadr = Buffer address buflen = Buffer size (in words) ti = TI: indicator (ignored) Variable Receive Data Or Exit | VRCX$ FORTRAN Call: CALL VRCX ((task],bufadr,[buflen](,ids]) 230 Sender task name task = buf = Address of buffer to receive the sender task name and data buflen = Length of buffer ids — Integer to receive the Directive Status Word Executive Directive Summary in Alphabetical Order by Macro Call Macro Call: VRCXS$ [task],bufadr(,buflen],(ti] " task = Sender task name bufadr = Buffer address buflen = Buffer size (in words) ti = TI: indicator (ignored) VSDAS Variable Send Data _ FORTRAN Call: - CALL VSDA ([task],bufadr,[buflen],efn](,idsw]) task Receiver task name = Address of buffer to receive the sender task name and data Address of the buffer to receive the sender task name and — buf bufadr = data (must be word-aligned (ITEGER=%2)) buflen = Length of buffer (in words) efn = Event flag number idsw = Integer to receive the Directive Status Word Macro Call: (ti] VSDAS$ (task], bufadr(,buflen],efn],(spril, task = Receiver task name bufadr = Buffer address buflen = Buffer size (in wods) efn = Event flag number spri = Send pribrity (ignored) ti = TI: indicator (ignored) Variable Send, Request, and Connect VSRCS$ FORTRAN Calls: CALL VSRC (rtname,ibuf,(ibuflen],[iefn],[iast], [iesb], [iparm][idsw]) CALL VSRCN (rtname,ibuf,[ibuflen], (iefn], (iast], [iesb],iparm](idsw]) rtname = Target task name of the offpring task to be connected 231 Executive Directive Summary in Alphabetical Order by Macro Call ibuf = Name of send buffer ibuflen = Length of the buffer iefn = Event flag to be set when the offspring task exits or emits iast = Name of an AST routine to be called when the offspring task iesb = Name of an 8-word status block to be written when the off- status exits or emits status (ignored for CALL VSRCN) spring task exits or emits status: Word 0 — Offspring-task exit status Word 1 — TKTN abort code Words 2-7 — Reserved jparm = Name of a word to receive the status block address when an idsw = Integer to receive the Directive Status Word AST occurs Macro Call: VSRC$ tname,buf{,buflen], lefn],[east],[esb] tname = buf "= buflen = Target task name of the offspring task to be connected Address of send buffer Length of buffer efn = The event flég to be cleared on issuance and set when the east = Address of an AST routine to be called when the offspring — Address of an 8-word status block to be written when the offspring task exits or emits status : esb task exits or emits status offspring task exits or emits status: Word 0 — Offspring taék exit status Word 1 — TKTN abort code Words 2-7 — Reserved 232 Executive Directive Summary in Alphabet ical Order by Macro Call Wait for Significant Event ($S form recommended) ~ WSIGSS FORTRAN Call: CALL WFSNE Macro Call: WSIGS$S err [err] = Error-routine address Wait for Logical OR of Event Flags WTLO$ FORTRAN Calls: CALL WFLOR (efnl,efn2,ef3...,efn) CALL WFLORS (idsw,efnl,efn2,ef3... efn = efn) List of event flag numbers taken as the set of flags to be speci- Integer to receive the Directive Status Word fied in the directive idsw = efl...efn = List of event flag numbers taken fied in the directive as the set of flags to be speci- Macro Call: WTLOS$ grp,msk grP = Desired group of event flags msk = A 16-bit flag mask word Wait for Single Event Flag FORTRAN Call: i WTSE$S CALL WAITFR (efn[,ids]) efln = Event flag number ids = Directive status Macro Call: WTSES$ efn efn = Event flag number 233 /O ERROR CODES The table below lists RSX-11M-PLUS 1/0 error codes. Only partial abbrevia- tions (xxx) are listed; the complete abbreviation is IE.xxx. The octal number listed is the low-order byte of the complete word value (two’s complement of the decimal number). Error Number Decimal Octal -1 377 Bad parameters JFC -2 376 Invalid function code .DNR -3 375 Device not ready .VER -4 374 Parity error on device .ONP -5 373 Hardware option not present .SPC -6 372 Illegal user buffer .DNA -7 371 Device not attached .DAA -8 370 Device already attached Device not attachable Abbreviation .BAD Meaning .DUN -9 367 .EOF -10 366 End-of-file detected .EOV -1 365 End-of-volume detected WLK -12 364 Write attempted to locked unit .DAO -13 363 Data overrun .SRE -14 362 Send/receive failure ABO -15 361 Request terminated .PRI -16 360 Privilege violation .RSU -17 357 Shareable resource in use .OVR -18 356 Illegal overlay request BYT -19 355 0Odd byte count (or virtual address) .BLK -20 354 Logical block number too large .MOD -21 353 Invalid UDC module number .CON -22 352 UDC connect error .NOD -23 351 Caller’s nodes exhausted .DFU -24 350 Device full Index file full JFU -25 347 .NSF -26 346 No such file .LCK -27 345 Locked from read/write access .HFU -28 344 WAC File header full -29 343 .CKS Accessed for write -30 342 WAT -31 .RER 341 -32 340 File header checksum failure Attribute control list format error File processor device read error 235 I/O Error Codes' Error Number Abbreviation Decimal Octal WER -33 337 File processor device write error .ALN -34 336 File already accessed on LUN .SNC -35 335 File ID, file number check .SQC -36 334 Meaning .NLN -37 333 .CLO -38 332 File ID, sequence number check No file accessed on LUN File was not properly closed .NBF -39 331 Open — No buffer space available for .RBG -40 330 Illegal record size .NBK -41 327 LL -42 326 File exceeds space allocated, no blocks Illegal operation on File Descriptor .BTP -43 - 325 Bad record type .RAC -44 324 .RAT -45 323 Illegal record access bits set Illegal record attribute bits set .RCN -46 322 Illegal record number-too large ICE -47 321 Internal consistency error .2DV -48 320 Rename-two different devices FEX -49 317 .BDR -50 316 .RNM -51 315 Rename-a new file name already in-use Bad directory file Cannot rename old file system .BD! -52 314 Bad directory syntax .FOP -53 313 File already open .BNM -54 312 Bad file name .BDV -55 311 .BBE -56 310 Bad device name Bad block on device .DUP -57 307 Enter-duplicate entry in directory STK -58 306 .FHE -59 305 file Block .NFI -60 304 18Q -61 303 EOT -62 302 Not enough stack space (FCS or FCP) Fatal hardware error on device File ID was not. specified Illegal sequential operation End-of-tape detected .BVR -63 301 Bad version number .BHD -64 300 Bad file header .OFL -65 277 Device off line .BCC -66 276 Block check, CRC, or framing error .ONL -67 275 Device on line .NNN -68 274 No such node NFW -69 273 Path lost to partner .DIS -69 273 Path lost to partner 236 I/O Error Codes Error Number Abbreviation Decimal Octal .BLB -70 272 Bad logical buffer TMM -71 271 .NDR Too many outstanding messages -72 270 No dynamic space available .URJ -73 267 .NRJ Connection rejected by user -74 266 .EXP Connection rejected by network -75 265 .BTF File expiration date not reached -76 264 Bad tape format .NNC -77 263 Not ANSI “D” format byte count No data available Task not linked to specified ICS/ICR in- Meaning .NDA -78 262 .NLK -79 261 .NST -80 260 AST Specified task not installed -80 260 No AST specified in connect .FLN -81 257 Device off line when off-line request was AES -82 256 Invalid escape sequence .PES -83 255 Partial escape sequence .ALC -84 254 Allocation failure ULK -85 253 Unlock error terrupts issued WCK -86 252 Write check failure .NTR -87 251 .REJ -88 250 Task not triggered Transfer rejected by receiving CPU FLG -89 247 Event flag already specified .DSQ -90 246 Disk quota exceeded QU -91 245 Inconsistent qualifier usage -.RES -92 244 Circuit reset during operation JTML -93 243 Too many links to task NNT -94 242 Not a network task .TMO -85 241 Timeout on request .CNR -96 240 Connection rejected .UKN -97 237 SZE -98 236 Mil -99 235 Unknown name Unable to size device Media inserted incorrectly .SPI -100 234 Spindown ignored For additional information, refer to the RSX-11M-PLUS and Operations Reference Manual. Micro/RSX I/0 RADIX-50 CONVERSION TABLE To convert 1 to 3 characters to their Radix-50, 6-digit octal equivalent, add the appropriate octal codes from the following table, based on the positions (that is, first, second, or third) of the characters in the string. Second Third Character Character Set Character Code Code Code 000000 000000 000000 003100 000050 000001 006200 000120 000002 011300 000170 000003 014400 000240 000004 017500 000310 000005 022600 000360 000006 025700 000530 031000 000500 000010 034100 000550 000011 000012 000007 037200 000620 042300 000670 000013 045400 000740 000014 001010 000015 050500 053600 001060 056700 001130 000017 062000 001200 000020 065100 001250 000021 000016 070200 001320 000022 073300 001370 000023 076400 001440 000024 101500 001510 000025 104600 001560 000026 107700 001630 000027 113000 001700 000030 116100 001750 000031 121200 002020 000032 124300 002070 000033 002140 000034 132500 002210 000035 135600 002260 140700 002330 000037 144000° 002400 000040 £ WO 127400 Unused =0 1] 0 0] 2 ON<LSKXsSs<CHOIIOUOZZIrXC«—"IOTMTMUODD>» °© First Character 000036 147100 002450 000041 152200 002520 000042 239 Radix50 Conversion Table Character W oo~NOO; Set 240 First Second Third Character Character Character Code Code Code 1565300 002570 000043 160400 002640 000044 163500 002710 000045 166600 002760 000046 171700 003030 000047 OCTAL/DECIMAL CONVERSION TABLE Bits Octal 15 100000 Decimal 32768 Octal to Decimal For each position of the octal value, locate the octal digit and its decimal 0 0 70000 28672 60000 14 24576 50000 13 20480 40000 12 16384 30000 12288 20000 8192 53702(8) 10000 4096 n(8) n(10) 0 0 = 20480 7000 3584 5000 2560 6000 11 3072 5000 10 2560 4000 2048 3000 1536 2000 1024 decimal value. Example: 50000 3000 = ?(10) = 15636 700 = 448 00 = 00 2 = 2 53702(8) = 22466(10) 512 0 0 700 488 600 384 500 Locate 320 400 decimal 256 exceeding, 300 192 200 128 100 64 0 0 40 40 32 30 24 20 16 10 8 C=-MWwWrOONO 56 48 - NWwWwboio~NO 70 60 50 O wWahas W OO N o 1000 equivalent in the conversion table. Add the decimal equivalents to obtain the Decimal to Octal in the value the conversion table the but not closest to, decimal value to be converted. Record the octal equivalent. Subtract the table decimal value from the decimal value to be converted. Repeat the process until the subtraction balance equals 0. Add the octal equivalents to obtain the octal value. Example: 22466(10) = ?(8) n(10) = n(8) 22466 20480 = 50000 ~ 20480 1536 = 3000 - 1536 448 = 700 - 448 2 = 2 -2 22466(10) = 53702(8) = 0 1986 450 2 241 STANDARD FILE TYPES RSX-11M-PLUS uses the standard 3-letter file types used by all DIGITALsupplied software. These names indicate the actual contents of the files. Although any combination of three letters can be used, DIGITAL recommends that the standard types be used whenever possible. (Compilers and other system programs that refer to these file types look for the standard name as a default. For example, if the command FOR ADD = ADD is issued, the FORTRAN 1V compiler looks for ADD.FTN; but if the file is named ADD.FOR, the compiler reports that there is no such file.) Type File Contents .BAS .BAT A BASIC-11 language source program Batch file (default) .CBL A COBOL language source program .CLB Indirect Command Processor command library .CNF An Error Logging language source file Indirect command files used as input to sysgen A BASIC-PLUS-II language source program .BLD .B2S Crash dump binary file Error Logging control file string .CDA .CFS MCR or task commands (an indirect command file) .CMD A SLP correction file .COR File containing data (as opposed to a program) .DAT .DIR Directory file .FTN FORTRAN IV, FORTRAN IV-PLUS or FORTRAN-77 File Dump Utility output file Error Logger output file .DMP .ERR language source file Help file HLP ACF .LOG .LST .MAC .MAP .MLB .0BJ ; ~ An Error Logging intermediate form file output from Control File Language compiler . Batch or console log file A listing file A MACRO-11 source program A Task Builder memory allocation map A macro library An object program (output from either the MACRO-11 .ODL .OLB Assembler or a compiler) A Task Builder overlay descriptor An object module library .PMD Postmortem or snapshot dump file .PAT Correction file used by assembler to create a patched object module 243 Standard File Types Type File Contents .POB .SYS Patched object module used by the’PAT utility The system macro library Symbol table file An Error Logging symbol file A bootable system image or other system file TMP A temporary file .TSK A task image file TIXT A text file .UuLB A universal file library SML .STB .SYM 244 NOTES 0O GO SIOOOS 0 00
Home
Privacy and Data
Site structure and layout ©2025 Majenko Technologies