DEC 10 OSCMA A D Decsystem10 Operating System Commands Manual
DEC-10-OSCMA-A-D decsystem10 Operating System Commands Manual DEC-10-OSCMA-A-D decsystem10 Operating System Commands Manual
User Manual: DEC-10-OSCMA-A-D decsystem10 Operating System Commands Manual
Open the PDF directly: View PDF .
Page Count: 520
Operating System Command Manual
OPERATING SYSTEM
COMMANDS MANUAL
DEC-10-0SCMA-A-D
This manual reflects the software of the 5.07 and
6.01 releases of the monitor.
digital equipment corporation · maynard. massachusetts
The DECsystem-l0 Commands Manual was produced via RUNOFF (version 10) and converted
to Typeset-IO. Software enhancements will enable
us to attain even better formatting and typographical quality in the near future.
This document reflects the software associated with the
5.07 and 6.01 releases of the Monitor. For individual
system program numbers, refer to page v.
First Printing, May 1971
Revision:
Decem ber 1971
Revision:
June 1972
Revision:
April 1973
Revision:
May 197·4
The information in this document is subject to change
without notice and should not be construed as a
commitment by Digital Equipment Corporation. Digital
Equipment Corporation assumes no responsibility for any
errors that may appear in this manual.
The software described in this document is furnished to
the purchaser under a license for use on a single
computer system and can be copied (with inclusion of
DIGITAL's copyright notice) only for use in such system,
except as may otherwise be provided in writing by
DIGITAL.
Digital Equipment Corporation assumes no responsibility
for the use or reliability of its software on equipment that
is not supplied by DIGITAL.
Copyright 01971, 1972, 1973, 1974,
by Digital Equipment Corporation
The postage prepaid READER's COMMENTS form on
the last page of this document requests the user's critical
evaluation to assist us in preparing future documentation.
The following are trademarks of Digital Equipment Corporation.
CDP
COMPUTER LAB
COMSYST
COMTEX
DDT
DEC
DECCOMM
DECTAPE
DIBOL
DIGITAL
·DNC
EDGRIN
EDUSYSTEM
FLIP CHIP
FOCAL
GLC-8
IDAC
IDACS
INDAC
KAIO
LAB-8
LAB-8/e
LAB-K
OMNIBUS
OS/8
PDP
PHA
PS/8
QUICK POINT
RAD-8
RSTS
RSX
RTM
RT-II
SABR
TYPESET-IO
UNIBUS
FOREWORD
DEo,ystem-IO Operating S)stem Commands is a complete reference document describing the
commands available in the DECsystem-1O operating system. The information presented in this
manual reflects the 6.01/5.07 release of the monitor and other related programs. Commands
to both the monitor command language interpreter and the programs in the Batch system are
grouped in alphabetical order for easy reference to the command repertoire.
DECsystem-lO Operating System Commands does not include reference material on assembly
language programming. This information can be found in DECsystem-lO Monitor Calls (DECIO-MRRD-D), which is intended for the experienced assembly language programmer.
Included in DEC!.ystem-lO Monitor Calls are discussions of the monitor programmed operators
and the various I/O devices connected to the system. The two manuals, DECsystem-IO
Operating System Commands and DEClystem-IO Monitor Calls, supersede the Timesharing
Monitors Programmer:~ Reference Manual (DEC-T9-MTZD-D) and all of its updates.
A third manual, Introduction to DECsystem-IO Sofiware (DEC-IO-MZDB-D), is a general
overview of the DECsystem-lO. It is written for the person, not necessarily a programmer,
who knows computers and computing concepts and who desires to know the relationship
between the various components of the DECsystem-lO. This manual is not intended to be a
programmer's reference manual, and therefore, it is recommended that it be read once before
reading the above-mentioned reference documents.
SYNOPSIS OF DECsystem-lO OPERATING SYSTEM COMMANDS
Chapter I presents all of the commands available to the user and introduces the various
components of the operating system that interface with the user. Chapter 2 is a detailed
description of the commands processed by the monitor command language interpreter.
Presented in Chapter 3 are the commands to the Batch system and a discussion of the
programs in this system. The DECsystem-1O system error messages and error codes are listed
in Chapter 4 along with descriptive information on how to correct the errors. The appendices
contain supplementary reference material and tables.
CONVENTIONS USED IN DECsystem-lO OPERATING SYSTEM COMMANDS
The following conventions have been used throughout this manual:
dev:
Any logical· or physical device name. The colon must be
included when a device is used as part of a file specification.
list
A single file specification or a string of file specifications. A
file specification consists of a filename (with or without a
filename extension), a device name if the file is not on disk,
a project-programmer number, if the file is not in the user's
disk area, and a protection code.
III
arg
A paIr of file specifications or a string of pairs of file
specifications.
jobn
Any job number assigned by the monitor.
file.ext
Any legal filename and filename extension.
core
Decimal number of I K blocks of core.
adr
An octal address.
C(adr)
The contents of an octal address.
[proj,prog]
Project-programmer numbers; the square brackets must be
included in the command string.
fs
Any legal file structure name or abbreviation.
$
The symbol used to indicate an altmode.
x
A control character obtained by depressing the CTRL key
and then the character key x.
-
A back arrow used in command strings to separate the input
and output file specifications.
*
The system program response to a command string.
The monitor response to a command string.
)
The symbol used to indicate that the user should depress the
RETURN key. This key must be used to terminate every
command to the Monitor Command Language Interpreter.
Underscoring used to indicate computer typeout.
n
A decimal number.
An equal sign used in command strings to separate the
input and output file specifications.
IV
SOFTWARE VERSION NUMBERS
ALCFIL
Version 7
KJOB
Version 50
BATCON
Version \0
LINED
Version 13A
COMPIL
Version 22A
LINK-IO
Version IA
COPY
Version 6A
LOGIN
Version 54
CREF
Version 47
Monitor
6.0115.07
DAEMON
Version 7
OMOUNT
Version 23
DIRECT
Version 3
OPSER
Version 5
DUMP
Version 4
PIP
Version 33
FAILSA
Version 77
PLEASE
Version II
FILCOM
Version 20A
QUEUE
Version 5
FILEX
Version IS
QUOLST
Version 4
FUDGE2
Version IS
REATTA
Version 3
GLOB
Version SA
SETSRC
Version 12
GRIPE
Version 3
SPRINT-IO
Version I
HELP
Version 4
SYSTAT
Version 471
INITIA
Version 3
TECO
Version 23
UMOUNT
Version 21
v
CONTENTS
Page
CHAPTER 1
INTRODUCTION
1.1
1.2
1.3
1.3.1
1.3.1.1
1.3.2
1.4
1.4.1
1.4.2
1.4.2.1
1.4.2.2
1.4.2.3
1.4.2.4
1.4.2.5
1.4.3
1.5
1.5.1
1.5.2
1.5.3
1.5.4
1.5.5
1.5.6
1.5.7
1.5.8
1.5.8.1
1.5.8.2
Jobs
............................... I - I
................. 1-2
Monitor Mode and User Mode ............................ .
Command Interpreters.
... 1-2
......................... 1-3
Monitor Command Language Interpreter ..
Special Characters.
.. 1-4
Batch Command Interpreter.
................................................... 1-5
Command Formats.
. ................... 1-6
Command Names.
... 1-6
Command Arguments .....
. ....................................................... 1-7
Project-Programmer Numbers.
............................................. 1-7
Device Names ..
'" 1-7
File Structure Names
............. 1-10
File Specifications.
. ...... 1-10
Date-Time Arguments
.... ... 1- 12
Option Files ...
........................................... 1-14
COMPIL-Class Commands.
. ...... 1-15
Indirect Commands(@ Construction)
.............. I-17
The + Construction . ............................................................... 1-17
The = Construction.
.1-17
The
C o n s t r u c t i o n . . ......... 1-18
Compile Switches..
. .................................... 1-18
Standard Processor
............. 1-19
Processor Switches.
. ....... 1-19
Switches to the Linking-Loaders ....................................................................... 1-24
Passing LOADER Switches.
............. 1-24
Passing LlNK-IO Switches.
...... 1-25
CHAPTER 2
SYSTEMS COMMANDS AND PROGRAMS
2.1
2.1.1
Commands by Functional Group . . . . . ................................. 2-1
Job Initialization Commands . . . . 2 - 1
Facility Allocation Commands ........................................................................ 2-1
Source File Preparation Commands...
. .. 2-3
File Manipulation Commands ............................................................................ 2-3
Object Program Preparation Commands. . ....... 2-4
Object Program Control Commands .................................................................. 2-5
Object Program Examination Commands. ............ 2-6
Multiple Job Control Commands.
.......................................................... 2-7
Job Termination Commands . . . 2 - 7
Sending Messages
....... 2-7
Job Information Commands.
....... 2-8
System Information Commands.
. .. 2-8
ALCFIL Program
.. 2-9
ASSIGN Command..
. ................................................................ 2-11
ATTACH Command.
. .. 2-13
2.1.2
2.1.3
2.1.4
2.1.5
2.1.6
2.1.7
2.1.8
2.1.9
2.1.10
2.1.11
2.1.12
<>
VII
Page
BACKSPACE Command .................................................................................... 2-15
CLOSE Command ................................................................................................ 2-17
COMPILE Command .......................................................................................... 2-19
CONTINUE Command ...................................................................................... 2-26
COPY Command .................................................................................................. 2-27
CORE Command ................................................................................................. .2-29
CPUNCH Command .......................................................................................... 2-31
CREATE Command ............................................................................................ 2-37
CREF Command .................................................................................................. 2-38
CSTART Command ............................................................................................ 2-40
CCONTINUE Command .................................................................................... 2-40
D(eposit) Command ............................................................................................ 2-43
DAYTIME Command ........................................................................................ 2-45
DCORE Command .............................................................................................. 2-46
DDT Command .................................................................................................... 2-52
DEASSIGN Command ........................................................................................ 2-54
DELETE Command ............................................................................................ 2-61
DETACH Command ............................................................................................ 2-63
DIRECT Command ............................................................................................ 2-64
DISMOUNT Command ...................................................................................... 2-72
DSK Command .................................................................................................... 2-74
DTCOPY Command ............................................................................................ 2-76
DUMP Command ................................................................................................ 2-79
DUMP Program ................................................................................................... 2-81
E(xamine) Command .......................................................................................... 2-89
EDIT Command .................................................................................................. 2-90
EOF Command .................................................................................................... 2- 91
EXECUTE Command .......................................................................................... 2-92
FAILSAFE Command ........................................................................................ 2-99
FILCOM Program .......................................................................................... 2-106
FILE Command ............................................................................................... 2-115
FILEX Command ......................... " .................... " ............... " ......................... 2-119
FINISH Command ................................ " ....................................................... .2-122
FUDGE Command ................................... " .......... "" ............................ " ........ .2-124
FUDGE2 Command ...... "" .... " ............................. ,, ........................................ .2-126
GLOB Program .. "" ................................ " ...................................................... .2-134
GRIPE Program .................................................................................................. 2-138
HALT Program ......................... " .... " .............. " ............................................... 2-139
HELP Program .................................................................................................... 2-140
INITIA Command .............................................. " ........................ " .................. 2-144
JCONTINUE Command ............ " ...... " .............. " ................ " .......................... 2-145
KJOB Command ........................ " ........................................................ " ............ 2-146
LABEL Command ............................................................................................. 2-151
LIST Command .. " .................. """ .. ,, ........................................ " .......... " .......... 2-153
LOAD Command .............................................................................................. 2- 155
LOCATE Command ................ " .......................... " .. " ............................ " .......... 2-16I
LOGIN Command .................................... " ..................................................... 2- 162
MAKE Command ...... ". """"" .............................................................. " .......... 2-164
MOUNT Command ..................................................................................... 2-166
OPSER Program ............ " ............................................................................... 2-170
PJOB Command ........................ " ...................................... " .... " ........................ 2-174
PLEASE Command ........ "" .... " ............................................. " ........................ 2-175
viii
Page
PLOT Command ................................................................................................ 2-177
PRESERVE Command ...................................................................................... 2-183
PRINT Command .............................................................................................. 2-184
PROTECT Command ........................................................................................ 2-191
QUEUE Command ............................................................................................ 2-193
QUOLST Program .............................................................................................. 2-210
R Command ........................................................................................................ 2-212
REASSIGN Command ...................................................................................... 2-214
REATTA Program .............................................................................................. 2-216
REENTER Command ...................................................................................... 2-218
RENAME Command ........................................................................................ 2-219
RESOU RCES Command .................................................................................. 2-221
REWIND Command .......................................................................................... 2-222
RUN Command .................................................................................................. 2-223
SAVE Command .......................................... :..................................................... 2-225
SCHED Command ............................................................................................ 2-227
SEND Command ................................................................................................ 2-228
SET BLOCK SIZE Command .......................................................................... 2-230
SET BREAK Command .................................................................................... 2-231
SET CDR Command ........................................................................................ 2-234
SET CPU Command .......................................................................................... 2-235
SET DENSITY Command ............................................................................... 2-237
SET DSKFUL Command ............................................................................. 2-238
SET DSKPRI Command ...................
....................
........................... 2-239
SET HPQ Command
.......................................
...... 2-240
SET PHYSICAL LIMIT Command.
...............
............... 2-242
SET SPOOL Command .................................................................................. 2-244
SETSRC Command.......... ....................
..............................
.......... 2-246
SET TIME Command.................................
............ 2-250
SET TTY Command ........ .... .................. ...
......... ......
............ 2-252
SET VIRTUAL LIMIT Command...........
... 2-258
SET WATCH Command .... ...... .... ......... ...
............. 2-259
SKIP Command.......... .....................
............. ..............
..... 2-262
SSA VE Command ........................................................................................ 2-264
START Command ...............
....................
................... 2-266
SUBMIT Command ........
......................... ..............
.2-267
SYST A T Command ..... ......... .......
..... 2-273
TECO Command ........ ....... ...
.... .........
................ 2-280
TIME Command. ..................... ............
.............................. 2-282
TPUNCH Command.... ......................
....... 2-284
TYPE Command. . ......................................
.................
........ 2-290
UN LOAD Command .......................
...... ........ .......
" ........ 2-291
USEST AT Command ........................................ ..... ........
................... 2-292
VERSION Command .................................
........ .2-293
WHERE Command....................................................
........... 2-296
ZERO Command..... .. .................... ............. .... ... ...............
...... 2-297
CHAPTER 3
BATCH SYSTEM COMMANDS
3.1
3.1.1
Batch Commands .... .
SPRINT-IO .............. .
.............
IX
............................................................. 3-1
.3-1
Page
3.1.2
3.1.3
3.1.4
3.2
3.2.1
3.2.1.1
3.2.1.2
3.2.1.3
3.2.1.4
3.2.1.5
3.2.1.6
3.2.2
3.2.2.1
3.2.2.2
3.2.2.3
3.2.2.4
3.2.3
3.2.4
3.3
3.3.1
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.3.7
3.3.8
3.3.9
3.3.10
3.3.11
3.3.12
3.3.13
3.3.14
3.3.15
3.3.16
3.3.17
3.3.18
3.3.19
3.4
3.4.1
3.4.2
3.4.3
3.4.4
3.4.5
3.4.6
3.4.7
3.4.8
3.4.9
3.4.10
3.4.11
3.5
3.5.1
The Queue Manager..
................ .3-2
The Batch Controller...
.... 3-2
The Output Spoolers..
............... .3-4
Submitting Jobs
........................................
..... 3-4
Submitting a Job with Cards..
............
.... .3-5
The $JOB Card ... ....... ....... ........... ....... ..................................................... 3-5
The $PASSWORD Card.
. . .......
..... 3-5
The $FORTRAN Card
.... 3-5
The $EXECUTE Card... ........ ....... .... ......... ..... ..........
'" .3-6
The $EOJ Card .. ............
...................................................... 3-6
Output .. ........................
.... .3-6
Submitting a Job with a File..
..... 3-6
Image of the $JOB C a r d . 3 - 6
Image of the $FORTRAN Card..
..................................................... .3-7
Image of the $EXECUTE Card ..................................................................... 3-7
Running SPRINT-IO ..........................
..3-7
Submitting a Job with a Control File to the Batch Controller ................... 3-8
Interjob Dependency..................
..3-8
SPRINT- IO Control Cards.
.... .3-9
$ALGOL Card..
................................................ 3- IO
$BLISS Card..
..3-12
SCOBOL Card ."
............... 3-14
$DATA Card.
..3-16
$DECK Card.
... 3-20
$DUMP Card..
....... 3-23
$EOD Card..
... 3-23
$EOJ Card .
. .. .3-24
$ERROR and $NOERROR Card
............. 3-24
$EXECUTE Card.
... 3-25
SFORTRAN and SF40 Cards.
... 3-25
$INCLUDE Card
.............. 3-27
$JOB Card . . 3 - 2 8
$MACRO Card.
... 3-32
$MODE Card.. .
.............. 3-34
$PASSWORD C a r d . 3 - 3 6
SRELOCATABLE Card.
............ 3-36
SSEQUENCE Card..
. .3-37
SSNOBOL Card.
... 3-37
Batch Control File Commands . . 3 - 3 9
.BACK TO Command. .
.............. 3-41
.CHKPNT Command.
... 3-41
.ERROR Command
. .3-42
.GOTO Command..
..3-42
.IF Command .....
... 3-43
.NOERROR Command.
............ 3-43
.NOOPERATOR Command. .
... 3-44
.OPERATOR Command
... 3-44
.REQUEUE Command..
... 3-45
.REVIVE Command.
............. 3-46
.SILENCE Command .....
..3-46
Job Output.
............... 3-46
The Log File..
... 3-47
x
Page
3.5.1.1
3.5.1.2
3.5.1.3
3.5.1.4
3.6
SPRINT-IO Messages ......................................................................................... 3-47
SPRINT-IO Error Reporting .............................................................................. 3-48
Batch Controller Messages .................................................................................. 3-48
Batch Controller Error Reporting ...................................................................... 3-49
Sample Jobs .......................................................................................................... 3-49
CHAPTER 4
SYSTEM DIAGNOSTIC MESSAGE AND ERROR CODES
APPENDIX
APPENDIX
APPENDIX
APPENDIX
APPENDIX
INDEX
STANDARD SYSTEM NAMES
CARD CODES
TEMPORARY FILES
SAVE AND SSAVE COMMANDS
SWITCHES
A
B
C
D
E
xi
CHAPTER 1
INTRODUCTION
The DECsystem-IO Operating System is the interface between the user and the actual
machine. The operating system, or monitor, has many functions, some of which are:
1.
scheduling multiple and simultaneous use of the system,
2.
protecting users of the system from one another.
3.
allowing access to system resources including peripheral devices,
4.
providing a comprehensive disk file system,
5.
directing data flow between peripheral devices and the user's program,
6.
controlling non-interactive jobs, and
7.
overlapping input-output operations with computations for high system efficiency.
The user communicates with the operating system by means of the monitor command
language. With the command language he may access all available resources of the computing
system and obtain all the services provided by the operating system.
1.1 JOBS
The DECsystem-IO computing system is a multiprogramming system; that is, control is
transferred rapidly among a number of jobs in such a way that all jobs appear to be running
simultaneously. The term job refers to the entire sequence of steps, from beginning to end,
that the user initiates from his interactive terminal or card deck or that the operator initiates
from his operator's console. When a user initiates a job from his interactive terminal, the
beginning of the job is designated by the LOGIN command and the end by the KJOB
command. If a user initiates a job with a card deck. the beginning of the job is the 5JOB card
and the end is the SEOJ or the end-of-file card. Operator jobs usually begin when the system
is initialized and end when the system goes down.
Jobs, which may be timesharing. batch. or real-time in nature, may be initiated at the central
computer site or at remote locations connected by the telephone system. Once a user initiates
a job. it is possible for him to initiate another job without killing the first one. For example, a
user can initiate a timesharing job and by using the SUBMIT monitor command submit a
second job for batch processing (refer to Chapter 2). He may then wait for the results from
this batch job, or have the results automatically output while he continues his timesharing job.
In configuring and loading the DECsystem-lO, the system administrator sets the maximum
number of jobs that his system can simultaneously handle. This number may be up to 127
I-I
jobs if the system has enough memory, disk storage, processor capacity, and terminals to
handle this load.
1.2 MONITOR MODE AND USER MODE
From the timesharing user's point of view, his terminal is in either monitor mode or user
mode. In monitor mode, each line the user types in is sent to the monitor command language
interpreter. The execution of certain commands (as noted in the following examples) places
the terminal in user mode. When the terminal is in user mode, it becomes simply an 110
device for that user. In addition, user programs use the terminal for two purposes. The user
program will either accept user command strings from the terminal (user mode) or use the
terminal as a direct 110 device (data mode).
Example (terminal dialogue):
monitor mode
user mode
data mode
.:.R PIP)
monitor command
~DSK:PROG I.MAC TTY:) user command string
THIS IS FILE I
'z
user program using terminal
as input device
~'C
monitor mode
user mode
data mode
.R MACRO..)
~,TTY: DSK:PROGI)
monitor command
user command string
user program using terminal
as an output device
assembly listing
The special character 'c (produced by typing C with the CONTROL key depressed) is used
by a timesharing user to stop a user program and return the terminal to monitor mode. If the
user program is waiting for input from the terminal, the user needs to type only one 'c to
return the terminal to monitor mode; otherwise, he must type two 'C's. Because of this
procedure, the user knows that his program is not waiting for input if there is not response
from the monitor after one 'c. Certain commands cause the user program to start running or
to continue (as noted in the following chapter) but leave the terminal in monitor mode.
When the system is started, each terminal is in monitor mode ready for users to log in.
However, if the system becomes fully loaded (i.e .. the maximum number of jobs that the
system is set to handle has been initiated). then any unused terminals from which access IS
requested will receive the message JOB CAPACITY EXCEEDED.
The card-oriented Batch user can think of his cards as being in input spooler mode, monitor
mode, or user mode. When the card is in input spooler mode, it contains a control command
beginning with a $ (refer to Chapter 3) and is sent to the Spooler, SPRINT. SPRINT
interprets these commands and performs various actions to create a control file for the Batch
Controller. When the card is in monitor mode, it contains a monitor command preceded by a
period and is copied by SPRINT into the control file. When the card is in user mode, it
contains a user-level program command preceded by an asterisk or an equal sign and is also
copied by SPRINT into the control file. As each line in the control file is executed, the Batch
Controller passes the monitor-level line to the monitor command language interpreter and the
user-level line to the user program.
\-2
Example (sample card deck):
INPUT SPOOLER MODE
USER MODE
$EOJ
*/X=SYS:LOADER.*
MONITOR MODE
MONITOR MODE
SPRINT-l~ COMMAND
TO SIGNAL END OF
CARD DECK
USER COMMAND STRING
MONITOR COMMAND
.QUEUE LPT:=PROG
INPUT SPOOLER MODE
MONITOR COMMAND
SPRINT-l~
CONTROL
COMMAND
DATA MODE
SPRINT-l~
INPUT SPOOLER MODE
CONTROL
COMMAND
1.3 COMMAND INTERPRETERS
1.3.1 Monitor Command Language Interpreter
When the terminal is in monitor mode. the user communicates with the monitor command
language interpreter. By means of commands to this interpreter. the user may initialize jobs.
allocate facilities. prepare source files. manipulate files. prepare. control. and examine object
programs. control job sequences and multiple jobs. terminate jobs. send messages. and obtain
job and system information. The commands described in Chapter 2 arc processed by this
interpreter.
Most commands are processed without delay. However. a command may be momentarily
delayed if a job is swapped out to the disk and the command requires that the job be resident
in core; the command is executed when the job is swapped into core. The completion of each
command is signaled by the output of a carriage return. line feed sequence. If the terminal is
left in monitor mode. a period follows the carriage return. line feed. If the terminal is left in
user mode. any response other than a carriage return. line feed comes from the user's
program. For example. most standard system programs immediately send an asterisk(*) to the
user's terminal to indicate their readiness to accept user command strings.
The type-ahead technique may be employed by the experienced timesharing user at a
terminal. This means that the user docs not have to wait for the completion of one command
before he can begin another. For example. if two operations are desired from the monitor. the
1-3
request for the second operation can be typed before receiving the period after completion of
the first.
The command interpreter makes several checks before processing commands from users. On
disk systems, if a user who has not logged in types a command that requires him to be logged
in, the system responds with
?LOG IN PLEASE
and the user's command is not executed. The commands discussed in Chapter 2 all require
login except where explicitly stated otherwise. When a command is recognized that requires
the job to have core and the job has no core allocated, the command interpreter responds
with
?NO CORE ASSIGNED
and the user's command is not executed.
1.3.1.1 Special Characters - There are several special characters recognized by the monitor
command language interpreter that causes specific functions to be performed. As noted
previously. control-C CC) interrupts the program that is currently running and returns the
terminal to monitor mode. This character causes the input line back to the last break
character (e.g .. carriage return. line feed) to be deleted (equivalent to the action of a AU). Two
control- AC'S are necessary if the user program is not requesting input from the terminal (i.e ..
the program is in the middle of execution).
The RU BOUT key on the terminal generates a character that causes the last character typed
to be deleted. This permits correction of typing errors. Depressing the RUBOUT key n times
causes the last n characters typed to be deleted. The deleted characters are echoed on the
terminal enclosed in backslashes (\). Characters beyond the last break character or characters
already processed by the user program are not deleted.
Control-U CU) causes the deletion of the current input line, back to the last break character.
The system responds with a carriage return. line feed so that the line may be typed again.
Once a break character has been typed, line-editing features CU and RUBOUT) can no
longer be used on that line. except when running TECO.
Control-O CO) temporarily suppresses output to the terminal. This action is useful when a
program begins output of a long message which does not interest the user. If he does not
want to wait for his terminal to finish printing the message. he can stop the output in one of
two ways. He can type two control-COs but this action will also stop execution of the program.
Alternatively. the user can type AO and the program continues to execute but its output is not
printed on the terminal. The system responds with a carriage ret.urn, line feed sequence.
Output is reinstated to the terminal when one of the following conditions occur:
I.
The executing program requests input from the terminal.
2.
The program terminates and returns control to the monitor.
3.
The user types AC to return to the monitor.
4.
The user types another AO.
\-4
At remote stations, the effect of the '0 may be somewhat delayed.
Control - T CT) - causes the terminal to print status information pertaining to the current
user job. The status information returned is the same as the information returned for the
USEST AT command, namely:
1.
incremental day
command.)
2.
incremental run time (i.e .. CPU time used since last 'T. USESTAT or TIME.)
3.
incremental disk reads (i.e., disk blocks read since last use of 'T. USESTAT or
DSK.)
4.
incremental disk writes (i.e .. disk blocks written since last use of 'T. USEST AT or
DSK.)
5.
program name
6.
core size
7.
job state
8.
program counter (i.e .. the virtual address of the next instruction that the program
will execute.)
time (i.e., time since user last issued a
'T or USEST AT
Control-T is provided so that a user at a terminal can determine the progress of his job without
interrupting the execution of the job. Thus, a user whose terminal has not typed anything for a
minute or so can type a 1T to determine the state of his job without interfering with the job's
execution. Note that the Control-T character itself is not passed to the job as an input character.
However, some programs activate a special interrupt feature (see Paragraph 3.1.4 in the Monitor
Calls Manual). When a 1T is typed, control of such programs automatically transfers to a
routine used to output status information, in addition to the regular USEST AT printout. (For
example, a text editor in the midst of a search might print out information about the progress of
the search.)
Control-R C R) retypes the current input line after all rubout processing. For example, if a
user types in a line incorrectly. then makes corrections using the RUBOUT key, the corrected
line may be retyped in its entirety by typing 'R. An example of this is:
SET TTQ\Q\Y NO\O\O
SET TTY NO FILL
FILE\E\L
'R
Control-R will issue a carriage return/line feed before printing the corrected input line.
1.3.2 Batch Command Interpreter
The monitor command language interpreter is used for all monitor commands submitted via
the Batch system. In addition. the Batch user. issues commands that arc only used by the
Batch programs: the input spooler (SPRINT) and the Batch Controller (BATCON). Control
1-5
September 1974
commands, discussed in Chapter 3, am processed by the input spooler and, by means of these
commands, the user can create a control file, a log file, and data files; can enter jobs into the
Batch input queue; and can insert monitor commands into the control file. An additional
interpretation is done by the Batch Controller. When the job is executed, the Batch Controller
processes the control file to pass monitor commands to the monitor command language
interpreter and user-level commands to the appropriate programs.
1.4 COMMAND FORMATS
Each command is a line of ASCII characters in upper and/or lower case. Spaces and TABs
preceding the command name are ignored. Comments may be typed on the same line as the
command by preceding the comment with a semicolon. The monitor and batch command
language interpreters do not interpret or execute a line of comments. Every command line to
the monitor command interpreter should be terminated by pressing the RETURN key on the
console. In examples in this manual, the symbol) is used to indicate that the user should
depress the RETURN key. If the command line is in error. all of the line preceding the error
is typed out by the monitor preceded and followed by a ?, and the terminal remains in
monitor mode.
The user can continue command lines to several system programs (e.g., DIRECT, DUMP.
QUEUE, and L1NK-lO) by placing a hyphen as the last nonblank, noncomment character
before the carriage return-linefeed (i.e., before pressing the RETURN key). Continuation lines
are treated as part of the current command line. which is not considered terminated until a
carriage return-linefeed is seen without a preceding hyphen. This allows command lines to the
above-mentioned programs to be indefinitely long.
1.4.1 Command Names
Commands to the monitor command interpreter are alphabetic strings of one to six characters:
characters after the sixth arc ignored. Only enough characters to uniquely identify the
command need be typed. It is recommended that a Batch job usc the full command name
since the number of characters required may change when new commands are added to the
monitor. Thus, a card deck or control file with abbreviated commands may no longer function
properly.
Installations choosing to implement additional commands arc advised
uniqueness of the first three letters of existing commands.
to
preserve the
Control commands to the Stacker in the multiprogramming batch system must have a dollar
sign ($) in the first column of the card or the line and an alphabetic character in the second
column. Only the first part of the command name need be specified: as long as the specified
command name is unique, it is accepted. The first three characters of the command name arc
generally sufficient to ensure uniqueness.
1-6
1.4.2 Command Arguments
Arguments follow the command name and are separated from it by a space or TAB. If the
monitor command interpreter recognizes a command name, but a necessary argument is
missing, the monitor responds with
?TOO FEW ARGUMENTS
Extra arguments are ignored.
1.4.2.1 Project-Programmer Numbers and Passwords - Access to the DECsystem-1O is limited
to authorized users. The system administrator provides each authorized user with a project
number, a programmer number. and a password. The project numbers range from I to 377777
octal (numbers I to 10 are reserved for DEC) and the programmer numbers range from I to
777777 octal (numbers I to 7 are reserved for DEC and numbers 400000 to 777777 are
reserved for special purposes)(l). These numbers identify the user and his file storage area on
a file structure. In a command string, the project and programmer numbers are separated with
a comma and must be enclosed in square brackets, e.g., [10.7].
The password is from one to SIX BIT characters and is only used when logging on the
computing system. To maintain password security, the monitor does not echo the password.
On terminals with local copy (refer to DECsystem-IO Monitor Calls), a mask is typed to make
the password unreadable.
1.4.2.2 Device Names - Associated with each system device controlled by the computing
system is a physical device name. This name consists of three letters, zero to three numerals
specifying the unit number, and a colon. Table I-I lists the generic physical device names
associated with the various system devices. Refer to Appendix A for the list of special disk
devices that are predefined in the DECsystem- 10.
The user may also associate a logical device name with a particular physical device. The
logical name is from one to six alphanumeric characters of the user's choice. followed by a
colon, and can be used synonymously with the physical device name in any reference to the
device. Logical device names allow the user. when writing his program, to use arbitrarily
selected device names, which he assigns to the most convenient physical devices at run time.
However, care should be exercised when assigning logical device names because these names
have priority over physical device names. For example, if a DECtape is assigned the logical
name DSK, then all of the user's programs attempting to use the disk via the device name
DSK will use the DECtape instead.
Except for disk devices. only one logical device name can be associated at anyone time with
a physical device. The same logical name can be used for a second physical device by
disassociating it from the first device and associating it with the second device via the
ASSIGN command. Logical device names are disassociated from devices with the DEASSIGN
command (refer to Chapter 2). Subsequent ASSIGN commands (refer to Chapter 2) to
devices except disk devices replace the old logical name with the new one.
When the programmer number is from I to 7. all project numbers are reserved for DEC.
1-7
Table I-I
System Devices
Device
Generic Physical Device Name
CDP:
CDR:
CTY:
DTx:+
DSK:
DPx:+
FHx:+
DIS:
LPT:
MTA:
OPR:
PTP:
PTR:
PLT:
PTY:
SYS:
TTY:
Card Punch
Card Reader
Console TTY
DECtape
Disk
Packs
Fixed-Head
Display
Line Printer
Magnetic Tape
Operator Terminal
Paper-tape Punch
Paper-tape Reader
Plotter
Pseudo-TTY
System Library
Terminal
X represents A.B .... , indicating the first controller, second controller, etc.
The following is an example of the use of physical and logical device names.
.ASSIGN DTA: ABC:
User requests a DEClape drive with the
logical name A Be.
DEVICE DTA6 ASSIGNED
Monitor has given the user drive DT A6.
The user mounts a DECtape on drive
DTA6.
.ASSIGN PTP: ABC:
User requests the paper-tape punch with
the logical name ABe.
% LOGICAL NAME WAS IN USE.
PTP ASSIGNED
Paper-tape punch is reserved, and ABC
now refers to the PTP.
.R PIP
User requests the system program PIP
(Peripheral Interchange program).
*ABC: DTA6:FILEA
User issues a command string to PIP
asking that file FILEA be transferred
from device DT A6 to logical device
ABC (physical device PTP: which is
assigned to the user).
(continued on next page)
1-8
September 1974
*AC
User returns to the monitor mode.
.ASSIGN DTA: DEF:
User requests another DECtape drive
with logical name DEF.
.ASSIGNED TO JOB N I,N2, ...
All drives are in . use by the specified
jobs. No DECtape drive is assigned, and
no logical assignment is made.
.ASSIGN DTA6: DEF:
User requests drive DTA6 (which he
already has) with logical name DEF.
The copy of the directory currently in
.
core is cleared.
DEVICE DTA6 ASSIGNED
User mounts a new DECtape on the
previously assigned drive. The new
DECtape directory is read into core
when next accessed.
.DEASSIGN PTP:
User deassigns PTP, thereby clearing the
logical name ABC.
.R PIP
User requests PIP .
*ABC:
User requests that file FILEB be
transferred from device DEF to device
ABC.
DEF:FILEB
?DEVICE ABC DOES NOT EXIST
The logical device name ABC
longer assigned.
*AC
User returns to monitor mode .
.ASSIGN DTA6: XYZ:
User requests drive DT A6 again with
logical name XYZ. The logical name
DEF is no longer associated with
DT A6. The old directory is cleared from
core.
DEVICE DTA6 ASSIGNED
User mounts a new DECtape. The new
directory is read into core when accessed.
1-9
IS
no
1.4.2.3 File Structure Names - Disk devices are grouped according to file structures, which
are logical arrangements of 128-word blocks on one or more disk units of the same type.
Examples of types of disk units are: an RP02 disk pack or an RM lOB drum. Although a file
structure can exist on exactly one disk unit, it can be distributed over several disk units of the
same type and designated by a single name. However, two file structures cannot exist on the
same unit. Each file structure has a SIX BIT name specified by the operator at structure
definition time. This name can consist of five or less alphanumeric characters and must not
duplicate a physical device name, a unit name, or an existing file structure name. The
recommended names for public file structures are DSKA, DSKB, ... , DSKN in order of
decreasing speed.
1.4.2.4 File Specifications - All information (programs and data) in the system is stored as
named files. Each named file has associated with it a file specification which consists of
1.
the physical device name or file structure name,
2.
the filename,
3.
the filename extension,
4.
the ordered list of directory names, and
5.
the access protection code.
The first four items of the file specification are necessary to uniquely identify a disk file. File
specifications are ignored when given for devices other than DECtape or disk since these two
devices are the only directory-oriented devices. In addition, items 4 and 5 do not apply to
DECtapes.
The physical device name used for DECtape or the file structure name used for disk may be
any legal device name discussed in the foregoing sections. A colon should always follow the
device name; e.g., DTA3:. The filename is from one to six SIX BIT characters; all characters
after the sixth are ignored. The filename extension is a period followed by zero to three
characters and is used to indicate the type of information in the file. (Refer to Appendix A
for a list of standard filename extensions.) It is recommended that only the standard
extensions be used even though other extensions are valid. Most programs only recognize
filenames and extensions consisting of letters and digits. The ordered list of directory names
identifies the disk area in which the file is stored. This list can be a user file directory (U FD)
represented by the project-programmer number of the owner of the files in the directory or
can be a user file directory followed by one or more sub-file directories (SFDs). (Refer to the
DECsystem-lO Monitor Calls for a description of SFDs.) The directory name must be
enclosed in square brackets. The access protection of the file is a three-digit code designating
which users can read or write the file and must be enclosed in angle brackets. The protection
code is specified only for output files. For a given file, the users are divided into three groups:
the owner of the file, the users with the same project number as the owner, and the rest of
the users. The standard protection code is 057 which allows users in the owner's project to
read and execute the file and prevents access by all other users. (For a complete description
of access protection, refer to DECsystem-lO Monitor Calls.) The standard protection code can
be redefined by the various installations.
1-10
In command strings, the filename, the device name if the file is not on disk, and the directory
name if the file is not in the user's disk area, are required. The filename extension, the device
name if the file is on the disk, the directory name if the file is in the user's disk area, and the
protection code are· optional. The following are examples of file specifications:
filename and extension
device and filename
device, filename, extension, and directory name
complete file specification
TEXT.MAC
DTA3:FILEA
DSK:PROG2.CBL[10,16]
DSKA: MAIN .F4[27,235J construction causes the programs within the angle brackets to be assembled with the
same parameter file. If + is used, it must appear before the <> construction. For example to
assemble the files LPTSER.MAC, PTPSER.MAC, and PTRSER.MAC, each with parameter
file PAR.MAC, the user could type
.COMPILE PAR + LPTSER, PAR + PTPSER, PAR + PTRSER
With the angle brackets, however, the command becomes
.COMPILE PAR +
Command Format
COMPILE list
list = a single file specification, or a string of file specifications separated
by commas. A file specification consists of a device name, a filename with
or without an extension, and a directory name (refer to Paragraph
1.4.2.4).
The following switches can be used to modify the command string. These
switches can be temporary or permanent switches (refer to Paragraph
1.5.5). Note that all the switches allowed with the LOAD, EXECUTE,
and DEBUG commands can be used with the COMPILE command.
However, only the switches pertinent to COMPILE are listed below: the
others are ignored.
IALGOL
Compile the file with ALGOL. Assumed for
files with the extension of .ALG.
IBIN
Generate a binary file, for each file compiled.
The filename of the binary file follows the
standard convention for determining the filename of the output file (refer to Paragraphs
1.5.2 and 1.5.3). The extension is .REL. This is
the default action.
IBLIS (I)
Compile the file with BLISS 10. Assume for
files with the extension of .B 10 and .BLI.
ICOBOL
Compile the file with COBOL. Assumed for
files with the extension of .CBL.
ICOMPILE
Force a compilation on this file even if a
binary file exists with a newer date and time
than the source file. This switch is used to
obtain an extra compilation (e.g., in order to
obtain a listing of the compilation) since
normally compilation is not performed if the
binary file is newer than the source file.
BLIS 10 will be recognized as a translator only if the appropriate assembly switch is set. However, this assembly
switch setting is not supported.
2-20
ICREF
Produce a cross-reference listing file on the
disk for each file compiled for later processing
by the CREF program. The filename of the
listing file follows the standard convention for
determining the filename of the output file
(refer to Paragraphs \.5.2 and \.5.3). The
extension is .CRF. The file can then be listed
with the CREF command. However, with
COBOL files, the cross-referenced listing is
always appended to the listing file. No
additional command need be given to obtain
the listing.
IFORTRAN
Compile the file with a FORTRAN compiler.
Assumed for files with the extension of .F4
and .FOR and all files with non-recognizable
translator extensions if FORTRAN is the
standard translator. This switch is needed if
the file has a non-recognizable translator
extension and FORTRAN is not the standard
translator or is not the current default (e.g.,
COMPILEI ALGOL FILA, FILB, FILCI
FORTRAN).
IFUDGE
Create a disk file containing the names of the
.REL files produced by the command string.
When the FUDGE command is given, PIP
reads this file in order to generate a library
REL file. (Refer to the FUDGE2 program
description.) Argument to this switch are:
IFUDGE:dev:file.ext [proj.prog]
dev: - the device on which to write the file. If
the device is omitted, DSK: is assumed.
file.ext - the name of the library file. The
filename is required. If the extension is
omitted, it is assumed to .REL.
[proj,prog] - the directory in which to place
the file. The user's directory is assumed if none
is given.
This switch IS permanent in the sense that it
pertains to all .REL files generated by the
command string.
IFlO
Use the FORTRAN-IO translator when compiling the associated FORTRAN file. This
should be used as a permanent switch (i.e.,
placed before any file specifications) if loading
or execution of the command string will be
requested because it is not possible to load F40
and FORTRAN-IO binary files together.
2-21
IF40
Use the F40 translator when compiling the
associated FORTRAN file. This is the current
default action. This should be used as a
permanent switch (i.e., placed before any file
specifications) if loading or execution of the
command string will be requested because it is
not possible to load F40 and FORTRAN-IO
binary files together.
IKAIO
Designate the machine on which the program
will execute once it has been loaded. These
switches are needed for FORTRAN-IO programs since the compiler generates different
codes for the KA 10 and KIlO processors. The
IKA 10 switch is the current default.
IKIIO
ILIST
Generate a disk listing file, for each file
compiled. The filename of the listing file
follows the standard conventions for determining the filename of the output file (refer to
Paragraphs 1.5.2 and 1.5.3). The extension is
.LST. These files can be listed later with the
LIST command. If the line printer is being
spooled for this job, the listing files are written
on device LPT and are automatically spooled
at LOGOUT time. Unless this switch IS
specified, listing files are not generated.
IMACRO
Assemble the file with MACRO. Assumed for
files with extension of .MAC.
IMACXII(l)
Assemble the file with MACX II. Assumed for
files with extension of .P II.
IMANTIS(2)
Compile the program with the MANTIS
debugging information. This switch affects
FORTRAN files only.
INEW
Run the appropriate language translator from
the experiinental system library (device NEW:)
area [1,5]. If the translator does not exist on
device NEW:, try to obtain it from device
SYS:. See the following NOTE.
MAC'X II (the PDP-II assembler for the PDP-IO) will be recognized as a translator only if the appropriate
assembly switch is set. However. this assembly switch setting is not supported.
MANTIS will be recognized as the debugging program only if the appropriate assemhly switch is set. However.
this switch setting is not supported.
2-22
INOBIN
Do not generate binary files. Unless this switch
is given, binary files are generated. This switch,
when combined with the ICREF or lUST
switch, is useful when compiling programs
solely for the purpose of generating listings.
INOCOMPIlE
Complement the ICOMPIlE switch by not
forcing a compilation on a source file whose
date is not as recent as the date on the binary
file. INOCOMPIlE is the defauit action.
INOUST
Do not generate listing files. This is the default
action.
INOMANTIS(l)
Compile the program without the MANTIS
debugging information. The switch affects
FORTRAN files only.
IOlD
Run the appropriate language translator from
the system library of old programs (device
OLD:) which resides on the disk area [1,3]. If
the translator does not exist on device OLD:,
try to obtain it from device SYS:. See the
following NOTE.
ISELF
Run the appropriate language translator from
device DSK: instead of from the system library
(device SYS:). This switch is useful for an
individual who keeps a private copy of a
translator in his own disk area. System
programmers occasionally keep experimental
versions of standard translators in their disk
areas in order to test new features. See the
following NOTE.
ISNOBOL(2)
Compile the file with SNOBOL. Assumed for
files with an extension of .SNO.
ISYS
Run the appropriate language translator from
the system library (device SYS:) area of [1,4].
This is the default action. See the following
NOTE.
MANTIS will be recognized as the debugging program only if the appropriate assembly switch is set. However.
this switch setting is not supported.
SNOBOL will be recognized as a translator only if the appropriate assembly switch is set. However, this
assembly switch setting is not supported.
2-23
NOTE
Once a language translator has been specified from a
particular area (e.g., INEW), it cannot be changed
within the same command string; i.e., the following is
illegal:
. COM PI L TESPRG.F4/NEW,SUBRTN.F4/SYS
However, the following is valid:
.COMPIL TESPRG.F4/NEW
.COMPIL SUBRTN.F4/SYS
Characteristics
The COMPILE command:
Leaves the terminal in monitor mode.
Runs the appropriate language translators, thereby destroying the user's
original core image.
Restrictions
The wildcard construction cannot be used.
Associated Messages
Refer to Chapter 4.
Examples
~COMPILE
PROG,TEST.MAC,MANAGE/COBOL)
Compiles PROG (with null extension) with FORTRAN, TEST.MAC with
MACRO, and MANAGE (with null extension) with COBOL only if REL
files do not exist with later dates. A listing file is generated only for
MANAGE. The files generated are PROG.REL, TEST.REL, MANAGE.REL, and MANAGE.LST.
2-24
~COMPILE
ILIST SICN,MAC,TABLES/NOLIST,MULTI.ALC)
Compiles SIGN.MAC with MACRO, TABLES (with null extension) with
FORTRAN, and MULTI.ALG with ALGOL. Listing files are generated for
SIGN.MAC and MULTI.ALG.
~COMPILE/CRErICOMPILE
DIVIDE,SUBTRC,ADD)
Forces a compilation of the source files although current .REL files exist
and generates cross-referenced listing files. The files created are DIVIDE.CRF, DIVIDE.REL, SUBTRC.CRF, SUBTRC.REL, ADD.CRF, and
ADD.REL.
~CDMPILE IrUDGE,MONITR,RlL.LIBALL)
Compiles the files contained in the command file LIBALL and enters the
names of all the REL files generated in a temporary disk file. When the
FUDGE command is given, PIP generates the library REL file with name
MONITOR.REL. The library is created with the REL files in the same
order as they were specified in the command file.
~COMPILE OUTPUT8MTAO,(W,S,M)/L)
Rewinds the magnetic tape (W), compiles the first file with FORTRAN,
produces binary output for the KA IO(S), and includes the MACRO coding
in the output listing (M). These switches are processor switches (refer to
Paragraph 1.5.7). A listing file is generated with the name OUTPUT.LST,
along with the file OUTPUT.REL.
2-25
CONTINUE Command
Function
The CONTINUE command continues the program from the point at which it was
interrupted. The program is started at the saved program counter address stored
in .lBPC by a HALT command CC) or a HALT instruction. Refer to
DECsystem-1O Monitor Calls for a description of the job data area.
-C followed by CONTINUE has an unexpected action if the program running
attempts to rescan (TTCALL 10) the current typed-in line after the CONTINUE.
This action returns the CONTINUE instead of the original command. To
minimize the probability of this occurring, user programs which rescan the input
line should do so at the beginning of the program. to minimize the number of
times the user could type a -co
Command Format
CONTINUE
Characteristics
The CONTINUE command:
Places the terminal in user mode.
Requires core.
Does not require LOGIN.
Associated Messages
Refer to Chapter 4.
Example
• JlUN LOOP)
Run a program called LOOP in your disk
area .
.. c
·C
Stop the program.
Check the time of day.
I.DAYTIME)
23.'E8.7~
!.CONT)
16133110
Continue the program.
2-26
COpy Command (1)
Function
The COpy command transfers files from one standard 110 device to another.
The command string can contain one device output specification and any number
of input specifications. The equal sign separates the destination (output) side from
the source (input) side. This command runs PIP and performs the basic PIP
function of transferring files.
Command Format
COPY dev: Atape id Afile.ext[directoryJ
Command Format
DEBUG list
list
a single file specification, or a string of file specifications
separated by commas. A file specification consists of a device name. a
filename with or without an extension, and a directory name (refer to
Paragra ph 1.4.2.4).
I
This command runs the COMPIL program. which interprets the command before running the appropriate
language translator. the LOADER. and the appropriate debugger.
2
MANTIS will he recognized as a dehugging program only if the appropriate assemhly switch is set. However.
this switch setting is not supported. If the switch is set and the first file in the command string is a FORTRAN
source file. MANTIS (the FORTRAN dehugging program) is loaded.
2-55
The following switches can be used to modify the command string. These
switches can be temporary or permanent unless stated otherwise (refer to
Paragraph 1.5.5).
IALGOL
Compile the file with ALGOL. Assumed for files with the
extension of .ALG.
IBIN
Generate a binary file for each file compiled. The filename
of the binary file follows the standard conventions for
determining the filename of the output file (refer to
Paragraphs 1.5.2 and 1.5.3). The extension is .REL. This is
the default action.
IBUSS(I)
Compile the file' with BUS 10. Assumed for files with the
extension of .B 10 and .BU.
ICOBOL
Compile the file with COBOL. Assumed for files with the
extension of .CBL.
ICOMPILE
Force a compilation on this file even if a binary file exists
with a newer date and time than the source file. This switch
is used to obtain an extra compilation (e.g., in order to
obtain a listing of the compilation) since normally compilation is not performed if the binary file is newer than the
source file.
ICREF
Produce a cross-reference listing file on the disk for each file
compiled for later processing by the CREF program. The
filename for the listing file follows the standard convention
for determining the name of the output file (refer to
Paragraphs 1.5.2 and 1.5.3). The extension is .CRF. The file
can then be listed with the CREF command. However, with
COBOL files, the cross-reference listing is always appended
to the listing file. No additional command need be given to
obtain the listing.
lOOT
Load DDT regardless of the extension of the first file in the
command string. This is a permanent switch and applies to
all subsequent files.
IFOROTS
Load the file with FOROTS (the new FORTRAN objecttime system).
IFORSE
Load the file with FORSE (the old FORTRAN object-time
system).
IFORTRAN
Compile the file with a FORTRAN compiler. Assumed for
files with the extension of .F4 and .FOR and all files with
nonrecognizable translator extensions if FORTRAN is the
BLIS 10 will he recognized as translator only if the appropriate assembly switch is set. However. this assemhly
switch setting is not supported.
2-56
standard translator. This switch is needed if the file has a
non-recognizable translator extension and FORTRAN is not
the standard translator or is not the current default (e.g.,
DEBUG/COBOL TEST!, TEST2, TEST31 FORTRAN).
IFUDGE
Create a disk file containing the names of the .REL files
produced by the command string. When the FUDGE
command is given, PIP reads this file in order to generate a
library REL file (refer to the FUDGE2 program description). Arguments to this switch are:
IFUDGE:dev:file.ext [proj, prog]
dev: - the device on which to write the file. If the device is
omitted, DSK: is assumed.
file.ext - the name of the library file. The filename is
required. If the extension is omitted, it is assumed to be
.REL.
[proj, prog] - the directory in which to place the file. The
user's directory is assumed if none is given.
This switch is permanent in the sense that it pertains to all
REL files generated by the command string.
IFIO
Use the FORTRAN-IO compiler when compiling the
associated FORTRAN file. This should be used as a
permanent switch because it is not possible to load F40 and
FORTRAN-IO binary files together.
IF40
Use the F40 compiler when compiling the associated
FORTRAN file. This is the current default action. This
should be used as permanent switch because it is not
possible to load F40 and FORTRAN- 10 binary file~
together.
IKAIO
IKIIO
Designate the machine on which the
program will execute once it has been loaded. These
switches are needed for FORTRAN-IO programs since the
compiler generates different code for the KAIO and KIlO
processors. The IKAIO switch is the current default.
ILIBRARY
Load the files in library search mode. T nis mode causes a
program file in a special library file to be loaded only if one
or more of its declared entry symbols satisfies an undefined
global request in the source file. The system libraries are
always searched. Refer to the LOADER and L1NK-IO
documentation.
ILINK
Cause the file to be loaded by the LIN K- 10 linking loader.
If used, this switch should be placed before any file
specifications since the COMPIL program may have to
generate load-control switches.
2-57
ILIST
Generate a disk listing file, for each file compiled. The
filename for the listing file follows the standard conventions
for determining the name of the output file (refer to
Paragraphs 1.5.2 and 1.5.3). The extension is .LST. These
files can be listed later with the LIST command. If the line
printer is being spooled for this job, the listing files are
written on device LPT and are automatically spooled at
LOGOUT time. Unless this switch is specified, listing files
are not generated.
ILMAP
Produce a loader map during the loading process (same
action as IMAP) containing the local symbols.
ILOADER
Cause the file to be loaded by the LOADER program. This
is the current default action.
IMACRO
Assemble the file with MACRO. Assumed for files with
extensions of .MAC.
IMACXII(l)
Assemble the file with MACX II. Assumed for files with the
extension .PIL
IMANTIS(2)
Compile the file with the MANTIS debugging information.
This switch affects FORTRAN programs only.
IMAP
Produce a loader map during the loading process. When this
switch is encountered. a loader map is requested from the
loader. After the library search of the system libraries. the
map is written in the user's disk area with either the
filename specified by the user (e.g., IMAP:filc) or the
default filename MAP. MAP if loading is performed by
LOADER or nnnLNK.MAP if performed by LINK-IO. This
switch is an exception to the permanent switch rule in that it
causes only one map to be produced even though it may
appear as a permanent switch.
INEW
Run the appropriate language translator from the experImental system library (device NEW:) area [1,5]. If the
translator does not exist on device NEW:. try to obtain it
from device SYS:. See the following NOTE.
INOBIN
Do not generate binary files. Unless this switch is given,
binary files are generated. This switch, when combined with
the lUST or ICREF switch. is useful when compiling
programs solely for the purpose of generating listings.
MAC'XII (the PDP-II assembler for the PDP-IO) will be recognized as a language translator only if the
appropriate assembly switch is set. However. this assembly switch setting is not supported.
2
MANTIS will be recognized as a debugging program only if the appropriate assembly switch is set. However.
this switch setting is not supported. If the switch is set and the first file in the command string is a FORTRAl'i
source file. MANTIS (the FORTRAN debugging program) is loaded instead of DDT.
2-58
INOCOMPILE
Complement the ICOMPILE switch by not forcing a
compilation on a source file whose date is not as recent as
the date on the binary file. Note that this switch is not the
same as the IREL switch, which turns off all compilation,
even if the source file is newer than the REL file.·
INOCOMPILE is the default action.
INOLIST
Do not generate listing files. This is the default action.
INOMANTIS(l)
Compile the file without the MANTIS debugging information. This switch affects FORTRAN programs only.
INOSEARCH
Loads all routines of the file whether the routines are
referenced or not. Since this is the default action, this switch
is used only to turn off library search mode (I LIBRAR Y).
This switch is not equivalent to the IP switch of the
LOADER, which does not search any libraries. The
INOSEARCH default is to search the system libraries.
IOLD
Run the appropriate language translator from the sy~tem
library of old programs (device OLD:) which resides on the
disk area [1.3]. If the translator does not exist on device
OLD:, try to obtain it from device SYS:. See the following
NOTE.
IREL
Use the existing REL files although newer source files may
be present.
ISEARCH
The action is identical to that of the ILIBRARY switch.
ISELF
Run the appropriate language translator from device DSK:
instead of from the system library (device SYS:). This switch
is useful for an individual who keeps a private copy of a
translator in his own disk area. System programmers
occasionally keep experimental versions of standard translators in their disk areas in order to test new features. See the
following NOTE.
ISNOBOL(2)
Compile the file with SNOBOL. Assumed for files with
extensions of .SNO.
ISYS
Run the appropriate processor from the system library
(device SYS:) area of [1.4]. This is the default action.
MANTIS will he recognized as a dehugging program only if the appropriate assemhly switch is set. However.
this switch setting is not supported. If the switch is set and the first file in the command string is a FORTRAN
souree file, MANTIS (the FORTRAN dehugging program) is loaded instead of DDT.
SNOBOL will be recognized as a language translator only if the appropriate assemhly switch is set. However.
this assemhly switch setting is not supported.
2-59
NOTE
Once a processor has been specified from a particular
area (e.g., ISELF), it cannot be called from a
different area within the same command string; i.e.,
the following is illegal:
.DEBUG MAIN.MAC/SELF,PARTI.MACIOLD
However. the following is valid:
.COMPIL MAIN.MAC/SELF
.COMPIL PARTI.MACIOLD
.DEBUG IREL MAIN,PART!
Characteristics
The DEBUG command:
Places the terminal in user mode.
Runs the appropriate processor, the LOADER, and th'e debugger, thereby
destroying the user's original core image.
Associated Messages
Refer to Chapter 4.
Examples
~DEBUG/L
FILEA,FILEB,FILEC/N,FILEO)
Generate listings for FILEA. FILEB,
and FILED
..tDEAUG TEST)
MACRO I TEST
LOADING
LOADEP 2K CORE
DDT EXECUTION
.1
BLT 15,0(16)
2-60
DELETE Command (1)
Function
The DELETE command deletes one or more files from disk or DECtape. Note
that the protection codes normally assigned to files prevent one user from deleting
files in another user's directory.
Command Format
DELETE list
list
a single file specification or a string of file specifications
separated by commas. The full wildcard construction (* and ?) can be
used. Refer to Paragraph IA.2A.
If a device or file structure name is specified. it remains in effect until
changed or until the end of command string is reached. When a directory
name is before the filename. it becomes the default for all succeeding
files. A directory name after a filename applies only to that file.
Characteristics
The DELETE command:
Leaves the terminal in monitor mode.
Runs the PIP program. thereby destroying the user's core image.
Depends on FTCCLX which is normally absent in the DECsystem-1040.
Associated Messages
Refer to Chapter 4.
This command runs the COMPIL program. which interprets the command before running I'll'.
2-61
Examples
,DEL *.MAC)
fILES DEL!:T!D'
Tl.MAC
T2,MAC
Tl, MAC
14 BLOCKS FREED
• DEL T!:STi. MAC)
fILES OEL!:TED.
TEST1.MAC
3 BLOCKS FREED
!
.DEL TESTU.F4)
rILES DELETED.
T[5T.r4
TEST5.F4
TEST03."4
TEST2.r4
23 BLOCKS FREED
2-62
DETACH Command
Function
The DETACH command disconnects the terminal from the user's job without
affecting the status of the job. The user terminal is now free to control another
job, either by initiating a new job or attaching to a currently running detached
job.
Command Format
DETACH
Characteristics
The DETACH command:
Detaches the terminal.
Depends on FTATTACH which is normally absent
1040.
Restrictions
This command is not available to Batch users.
Associated Messages
Refer to Chapter 4.
Example
.DETACH)
FROM JOB 1
.!
2-63
In
the DECsystem-
DIRECT Command
Function
The DIRECT command lists the directory entries specified by the argument list.
The standard output consists of the following columns: filename. filename
extension. length in blocks written, protection, creation date, version number.
structure name. and directory name. Refer to the DIRECT specification in the
DECsystem-IO Software Notebooks for additional information on the DIRECT
program.
Command Format
DIRECT output specification
list of input specifications
list
A single file specification. or a string of file specifications separated by
commas or plus signs. The devices used on input can be DSK:. DTA:. MTA:.
and TMP: (TMPCOR). If the device is a magnetic tape, the tape is rewound
before and after the listing operation and analyzed to determine if it is a
FAILSAFE tape. The default input specification is DSK:*.*. and the user's
directories in all file structures defined by the job's search list are listed.
Generally. a device name. an extension. or a directory name that precedes the
filename becomes the default for all succeeding files in the list.
The full wildcard construction (* and/or ?) can be used on input specifications.
However. when a wildcard designation is used. the DIRECT program limits its
search for the tile to certain directories. When the user gives a wildcard
designation for a filename or extension. the program only searches the specified
directory or the user's default directory. No additional directories. such as LIB or
SYS. which may be in the user's default path are searched. (Refer to the SETSRC
program description in this manual and to the PATH. UUO description in
DECsystem-IO Monitor Calls. If the user has a wildcard designation for a
directory. only the directories implied by the wildcard construction are searched.
Again. no additional directories are searched. When the user gives a file
specification without any wildcard designations, the DIRECT program uses the
normal procedures for locating the tile. That is. the user's path. LIB, NEW. and
SYS as enabled by the user via the SETSRC program or the PATH. UUO are
searched.
output specification
This argument (and the equal sign) is optional. If the
entire output specification is omitted. the default is TTY:. If an output filename is
given. the default device is DSK:. If an output filename is not given. and one is
needed. the filename is generated from the time of day as hhmmss. The default
output extension is .DIR. The wildcard construction cannot be used in the output
specification.
The following switches may be used in the command string. In general. noncomplementary switches can be used together in the same command string.
Switches that precede the tilename become the default for all succeeding tiles.
2-64
Switch names can be truncated as long as the resulting abbreviation is unique.
Spaces are not permitted with a switch (i.e., between the slash at the beginning of
the switch and the argument at the end).
IACCESS:n
Update the access date to the current date for any
file of n blocks or less accessed (i.e., listed) by the
DIRECT program. Since some installations delete
files that have not been recently accessed, this switch
allows the user to prevent such deletion by updating
the date. n is interpreted as a decimal number and
refers to the number of blocks actually written in the
file unless the I ALLOC switch is also used. If IACCESS is omitted, the date is not changed. If I ACCESS is specified but :n is omitted, n = 5 is assumed.
IALLOC
List the allocated length of the file instead of the
written length. Space on a structure is sometimes
allocated in units of more than one block for
efficiency. Therefore,. the number of blocks allocated to a file may be greater than the number of blocks
actually written. The allocated length is used by
LOGOUT in checking quotas. The total allocated
length of all files is the same as the length output by
the QUOLST program under the USED column.
Complement of IWRITTEN. (Disk and magnetic
tape only.)
IBEFORE:date:time
List only those files created before the specified date
and time. Def~lUlt is + infinity. Refer to Paragraph
1.4.2.5.
IBLOCKS
Output the length of the file in blocks instead of
words. Complement of IWORDS. This is the default.
ICHECKSUM
Compute and print an 18-bit checksum for each file.
This checksum is computed by rotating the result left
one bit before adding each word. Complement of
INOCHECKSUM. (Disk and magnetic tape only.)
IDENSITY:n
Use the specified density when reading a magnetic
tape. N is 200.556, or 800 bpi. The default is
installation dependent and is modified by the SET
DENSITY command.
IDETAIL
Print all available information about a file except for
zero values (refer to the extended LOOKUP block in
DECsystem-1O Monitor Calls for a list of the values
which are printed). The protection and data mode are
also listed, even if they are zero. The author is not
listed if it is the same as the owner of the directory.
Numbers followed by a period are decimal numbers.
All other numbers are octal. (Disk and magnetic tape
only.)
2-65
IEOTS
Stop at the logical end of tape (two consecutive tape
marks) when reading a magnetic tape. Complement
of INOEOTS. This is the default.
IFAST
List short form of directory (i.e., filename, extension,
structure name, and directory name). Equivalent to
IF. Complement of INORMAL and ISLOW.
IFILES:n
Stop after n tape marks (files) when reading a
magnetic tape. If IFILES is specified but :n is
omitted, n = I is assumed. Note that the logical
EOT will also stop unless INOEOTS is specified.
IHELP
Help text which indicates some of the switches
available and how to use them. Equivalent to IH.
IHELP:S
List all switches (S) without their explanations. An
asterisk prefixes those switches which have a singleletter abbreviation.
lUST
List the output on device LPT:. Equivalent to IL.
IMARKS
Indicate each tape mark, including the final tape
mark, and UFO when reading a magnetic tape.
Complement of INOMARKS.
INOCHECKSUM
Do not compute and print the checksum. Complement of ICHECKSUM. This is the default.
INOOETAIL
Do not list the words in the LOOKUP block.
Complement of 10ETAIL. This is the default.
INOEOTS
Do not stop at the logical end of tape when reading a
magnetic tape. Complement of IEOTS.
INOMARKS
Do not indicate each tape mark and UFO when
reading a magnetic tape. Complement of IMARKS.
This is the default.
INORMAL
Output the normal directory listing. This listing
includes the filename, extension, length in blocks
written, protection, creation date, structure name,
non-zero version numbers, and directory name.
Complement of IFAST and ISLOW. This is the
default. The switch is used to override a IF AST or
ISLOW in the user's option file.
INOREWINOS
Do not rewind the tape before and after reading a
magnetic tape. Complement of IREWINOS.
INOSORT
Do not produce a file suitable for sorting. Complement of ISORT. This is the default.
2-66
INOSUMMARY
Do not use summary mode (i.e., output more than
just the summary line). Complement of ISUMMARY. This is the default.
INOTITLE
Do not output page headers. Complement of ITITLES. This is the default for output to the terminal.
INOUNITS
Do not list the name of the actual disk unit; instead,
just list the structure name. Complement of IUNITS.
This is the default.
10KNONE
Suppress the error message if no files match the
wildcard construction.
10PTION:name
Read the user s option
file
(DSK:SWITCH.INI[,]lPHYSICAL) to determine the
user's specified switch defaults for DIRECT. The
name appearing as the value of the switch is the
pointer to the line to read in the file. For example, if
the file contains the line
DIRECT:ALLIDETAIL
then the user references this line by typing the
command
DIRECT 10PTION:ALL
Refer to Paragraph IA.3 for additional information.
IPARITY:ODD
IPARITY:EVEN
Specify the parity to be used when
reading a magnetic tape. The default is ODD.
IPHYSICAL
Ignore logical names used for device names (refer to
the ASSIGN command for a description of logical
names).
IPROTECTION:nnn
Give the output file the protection nnn (octal).
IREWINDS
Rewind the magnetic tape before and after reading it.
Complement of INOREWINDS. This is the default.
IRUN:file spec
Run the specified program when this command is
finished.
IRUNOFFSET:n
Run the program specified with IRUN with an offset
of n. If the switch is omitted. the default is 0; if the
switch is given without a value. the default is I.
ISINCE:date:time
List only those files created after the specified date
and time. The default is January I, 1964. Refer to
Paragraph IA.2.S.
2-67
ISLOW
Output a full listing that includes the filename,
extension, length in blocks written, protection, creation date and time, access date, structure name, and
directory name. Equivalent to IS. Complement of
IFAST and /NORMAL. (Disk and magnetic tape
only.)
ISORT
List the file structure name, if there is more than one
or if the files are on magnetic tape, and directory
name, if a wildcard directory is given, on each line
instead of only on the first line in which they change.
Multiple spaces are output instead of TABs. Projectprogrammer numbers include leading zeroes; the date
is in ANSI format (e.g., 19721009 for Oct.9,1972).
This switch is used to prepare a file to be sorted by
the SORT program (refer to the DECsystem-IO
COBOL Programmer's Reference Manual). Complement of INOSORT.
ISUMMARY
Output only the summary line which indicates the
total number of blocks and files. Note a IFAST
ISUMMARY lists a IFAST listing followed by the
summary.
ITITLES
Cause a heading to be output on each page consisting
of a label for each column, date, time, and page
number. Standard output to the line printer has this
heading. Complement of INOTITLE.
IUNITS
List the name of the actual disk unit on which the
files are stored instead of the file structure name.
Complement of INOUNITS.
IWIDTH:n
Output several entries on a single line to make the
output n columns wide. For example, if IFAST is
specified for output to a terminal, four filenames
appear per line. The default for n is 64 columns.
IWORDS
Output the length of the file in words instead of
blocks. Complement of IBLOCKS.
IWRITTEN
Return the written length of the file rather than the
allocated length. Complement of I ALLOC. This is
the default.
Characteristics
The DIRECT command:
Leaves the terminal in monitor mode.
Runs the DIRECT program, thereby destroying the user's core image.
2-68
Depends on FTCCLX which is normally absent in the DECsystem-1040.
In this case, run the DIRECT program with the R command and input
the appropriate command strings following the asterisk response from
DIRECT.
Examples
.!.DIR OTA3.)
Lists all files on DT A3.
Lists all files with extension .MAC in all file
structures in the user's job search list.
Lists the directory entry for file TEST.F4
user area 27, 60.
The ordinary default directory .
• '1T')C"r:T
rr:p ,,,II"
<:,
~
"' "
rr:D"A"
~
,'"
,"
~'jfC::'V\l
n~-,
."-. ~.J
(
['1 .• t: ,; ?>
I.CI
,.
~L .
D
),
f"I
':"~..,
0
".~
'~0
II
.'
<;
":~"PLtl
'T"-'!TAL M'
0'1
c;
,,
<1"1';5>
d"'S5 >
<~c;c; >
<0'55 >
<"c,c, >
<"155 >
7-'V;Y-7t
7- "'r,v -74
.~"I- "'lAY -7 L!
) " - "(W -7 1.1
'l, I
"'A v -7 4
~I- "AY -7 t
) I - "'AV -H
~-J Ur.'-74
//
~
.
[?7,/j(,7'?J
-
<:'~5 >
Lrcvc I
')C'YC:
"!
FIL 1;"("
r'l
"C'
y r: : [:::7,/:"'7 0 J
The same directory reporting blocks allocated instead of written .
• f'1T::C::CTlf'..U.GC
I (~
S
!5
r(l~) ~I'!.t~,~
FOD "'A"
T() >"C ," I
PLf'. "
PL!" '·1.)
F"1. ~
r:F"I1
':.'l,
D1
f\ '10
•
1_ 1"",
-, {
rr7°?LiI
.
<;:'55>
<~55>
0("
<"55>
!"
(")5
! '5
<~55 >
I"
I 7 - ·'t· Y -7 4
! 7-¥,Ay-74
:',f'- "'f'; Y -7 -4
30- "t', Y -74
3 1-'~t,Y-7-4
~ ! - "A v -7 .1
~ 1- "~.v -7.'j
.)-J!l'J-74
<"c.,;;:.
././ >
<:'55 >
<~5: >
<
17
55>
p' r FILr.:c:::
The full detail directory for the same files.
TY;-r,1. r:F II" P1J1C V ('
":
FO P
r,O::"~1\
'TI
n~.'
t r, r,
'1~!.(C:
r: ~:
[ ? 7, 4"7?
)
[?7,4:-'7? J
,~ r, 3 • [ :- 7 ,4 7':'. 1
"r,:- r : I 7 - "'A Y - 7
TV r:
r. r: r, cC' C'
O~:
r:~
(7-
1;
,p'r::,
pr; r: Te CTI
'~C':
'11\ TE:
'i~':
r<
'I
:31: 17- "'Av -74
55
"1'0~~:
nIT T~ \~: c, 1 r •
,6 L1. rc ATe!l:
I~ •
"1,":;1'. PLf'.r,v u: 'l1:?':rT0"Y: C:C;-!J7~.
I'" ":;n;>f' t. L r: P r.~, -:1 '").' 'Jr, F • -: I "!C: I 7 -..,,~ v -7 L!
\',: '! r' T')~
':'!_ ir v c
Q!!i
'."
!,",~_('Ir:Y
~~'l~;D,'7f?:
Q :
3 I!: I 7
~lQ~5.
Seplemher 1974
2-69
In
•
~\(C0: F'O~MA?[?7,4(l172]
.t>CCF:~~
C~
!"JAIE: 17-MAY-74
F:.II II 0 'J II ~::, DA IE: I 4 : I Q
f,CCt::~c
PROIt::CIIO~·):
17 -
~A Y -74
055
~Of):::
I
'...lOP T)!=" ~JR I TIt:: '.J: 331) •
PU1CKS ALLOCATEI'): 5.
nATA !1LOCY n: !'1I P t:CTnRY: ~q47?1.
J N TE ~ ~.' AL CRF: AII (H,I ,)A T::, TI v r::: I 7 - "1.A v -74 I LJ: I Q
RIP o.l(1CY ,,!u""qrp: 401M.
T!")FCMI.[?7,4(l172]
Dr. TF.: .W- "lAY -74
CP~ATI()'! TINlE,
!')/lIE: 12:911)
M~C Fe; c: PP () IC:C II 'H·;: ~5 5
:
I 7
~VCf.ll:
flCC
~C"
""(F)".:
3'}_~·1AY-74
~
'1:8~T)~ \·!PITE~!: 14"5.
~LOCYC" ALLOCAFf'1: 15.
'iATA ~LI')CI( n: f'\I~t::CT~RY: i!; rz 47'i1.
H!TEPNfl.L CRF:ATII')'·! I)AIE,TI~c.:: 3?1- M f;Y-74 12:r6:42
PIP BLOr:;ll 'HJM~C:R: 5<:ir,I?I.
,!.DIRECT [40, ])
Lists the directory entries for user with project
number 40 and the user's programmer number.
Example of an incorrect specification in the IBEFORE switch.
,!.DIR
1
SY5NI*.SAV/5INCEI15-0CT-1972/BEFOREINOVEMBER~
MISSING DAY IN DATE/TIME
Example of using both IBEFORE and ISINCE to specify a range of dates.
,!.DIR SYSN.-.SAV/SINCEI15-0CT-1972/BErOREI1_NOV)
CRASH
P1402!
RU24H
FRI525
RI525C
FRI526
RI526C
SAY
SAY
SAY
SAY
SAY
SAY
SAY
PROTECTION FAILURE
<155>
438
1,-OCT-72
529
<155>
1,-OCT-72
<155>
209
18-0CT-72
<155>
528
20-0CT-72
212
25-0CT-72
<155>
535
30-0CT-72
2-70
DSJ(NI
(50402
(50524)
(34('0)
(50525)
14(70)
(50526)
t 1 ,4]
RI526D
RI527A
SAY
SAY...
5]5
5U
<155>
<155>
(5026)
(50527)
10-OCT-72
1-NOV-72
TOTAL or 3519 BeOCKS IN 8 rILES AND 1 LOOKUP ERROR ON
DSKNI [1,4]
Example of user [10,251] with LIB of [7,5062]
~DIR
*.MACC"*,*,,*.TXTC,,*,*,,LIBI*.MCO)
DUMP
rILUUO
G
R
·T
REMDLX
MICRO
MAC
MAC
MAC
MAC
MAC
MAC
MAC
200
109
16
16
1
62
26
<055>
<055>
<055>
<055>
<055>
<055>
<055>
U-AUG-72
20-0CT-72
20-0CT-72
20-0C1-72
20-0CT-72
20-0CT-72
30-0CT-72
·DSKB I
TOTAL or 630 BLOCKS IN ., rILES ON DSKBI
nLUUO
MONnR
506
MAC
TXT
Meo
309
1
97
<055>
C055>
<100>
20-0CT-72
2-NOY-72
1-NOV-72
GRAND TOTAL or 1037 BLOCKS IN 10 rILlS
2-71
[10,251]
C10,251'
C10,251,A]
C10,251,A,8]
BLKAI
C",5062]
I
DISMOUNT Command
Function
The DISMOUNT command allows a user to return devices to the monitor pool
of available resources and to remove a file structure from his search list.
Restricted devices are returned to the restricted pool and unrestricted devices to
the unrestricted pool. The command applied to non-file structures is identical to
the DEASSIGN command if the user waits for completion of the operator action.
If the user does not wait for completion (e.g., he types a control-C after the
message OPERATOR NOTIFIED), the device is not deassigned, but the request
to the operator is still queued for the purpose of removing the media. The user
must then issue the DEASSIGN command to release the device. This command
applied to file structures enforces logged-out quotas (if necessary), allows physical
removal of disk packs (if there are no other users of the pack). and removes the
file str':lcture name from the job's search list.
The UMOUNT program runs privileged in the user's core area when the
DISMOUNT command is typed. This program scans the user's command string,
checks its validity, and performs as much of the requested action as possible. The
UMOUNT program can complete all actions requested by the DISMOUNT command except for the action of physically removing packs, tapes, or cards. When
operator action is required, the UMOUNT program writes a command file on [3,3]
disk area and notifies the OMOUNT program (running on the operator's terminal)
to perform the action. When the operator action has been completed, OMOUNT
deletes the command file and notifies UMOUNT (if UMOUNT is waiting) to inform the user of completion.
To insure validity of any tape error analysis.MOUNT IDISMOUNT should be
used to acquire and release magtape units. This mechanism provides the basis for
all media-related error reporting.
Command Format
DISMOUNT dev:switches
dev:
any previously ASSIGNed or MOUNTed device or file
structure name. This argument is required.
switches
the following switches are optional and only enough
characters to make the switch unique are required.
ICHECK
Check and list pending requests.
IHELP
Type this list.
IPAUSE
Notify the user before requesting operator
action. The user can then abort the command
if desired.
2-72
September 1974
IREMOVE
Notify operator to physically remove disk
packs, tape, or cards. A file structure is
removed from the system only if no other
users are using it. A request to remove the
pack is queued to the operator and the
message WAITING .. .is typed to the user. If
the user does not want to wait for confirmation of the operator action, he may type
control-Co This switch must be specified to
notify the operator to remove the pack, even if
no other jobs are using it.
Characteristics
The DISMOUNT command:
Places the terminal in user mode.
Runs the UMOUNT program. thereby destroying the user's core image.
Depends on FTCCLX and FTMOUN which are normally absent in the
DECsystem- 1040.
Associated Messages
Refer to Chapter 4.
Examples
~nISMOUNT DSKAI)
DSKA DISMOllNTED
~DISMOUNT DTA41/R)
OPERATOP NOTIFIED
WAITING •••
The
user
dismounts
the
file
structure DSKA. This does not require an
operator action.
The user asks the operator to
deassign DTA4 and remove the tape.
The command is waiting for completion of the
operator action.
The user does not wish to wait for confirmation
of removal.
.DISMOUNT/CHECK)
NONE PENDING
O.COMMAND~ IN QUEUE
The user checks for completion and
determines that his request is
finished.
!.
2-73
DSK Command
Function
The DSK command types disk usage for the combined structures of the job, since
the last DSK command, followed by the total disk usage since the job was
initialized (Jogged in). Disk usage is typed in the following format:
RD,WT
RD,WT
I,J
M,N
where I and J are the incremental number of 128-word blocks read and written
since the last DSK command, and M and N are the total number of 128-word
blocks read and written since the job was initialized.
NOTE
and J are kept modulo 4096. If automatic READ or
WRITE print outs have been enabled using the SET
WATCH command, I and J are usually zero, since
the SET WATCH output also resets these values.
Command Format
DSK job
job
the job number of the job for which the disk usage is desired. This
argument is optional.
If job is omitted, the job to which the terminal is attached is assumed.
If job is supplied (whether the job of this user or another user) the
incremental quantities are not reset to zero.
Characteristics
The DSK command:
Leaves the terminal in monitor mode.
Associated Messages
Refer to Chapter 4.
2-74
Example
.DSJ( )
RD, Wh 12,0
RD,WT-475,2U
.!.
2-75
DTCOPY Program
Function
The DTCOPY program is a DECtape copy routine that allows the user to
l.
Copy the entire contents of an input DECtape to an output DECtape.
2.
Zero all blocks on an output DECtape and clear the directory.
3.
Perform a word-by-word comparison of two DECtapes.
4.
Load a bootstrap loader and write it in blocks 0, I, and 2 of the output
DECtape.
Command Format
.R DTCOPY
*output DTA:
input DTA:/switches
Iswitches
one or more of the following switches. Switches are preceded
by a slash or enclosed in parentheses and can appear anywhere in the
command string.
IC
Copy all blocks from the input DECtape to the output DECtape.
IG
Do not restart the program after a parity error. Output an error
message and continue the program.
IH
Type the available switches and their meanings.
IL
Load the bootstrap loader into a core buffer. COPY expects the
loader to be on logical device PTR in the file named
BSLDR.REL. Note that COpy must be SAVed if the loader is to
be preserved with the COPY core image.
IN
Suppress the directory listing.
IT
Write the bootstrap loader in blocks 0, I, and 2 of the output
DECtape. This switch accepts, as input from the terminal, a core
bank or offset. The loader is offset and then written on the tape.
core bank = nnnK (16K to 256K)
offset = 1000 to 777600 octal
IV
Verify the similarities of the two DECtapes by performing a
word-by-word comparison and typing on the terminal the number
of discrepancies discovered.
2-76
IZ
Zero all blocks of the output DECtape and clear the directory.
16
Look for the directory in PDP-6 format (i.e., in block one instead
of block 144).
If no switches are specified, IC (copy) and IV (verify) are assumed by
default. Note that upon completion, the directory in core may not agree with
the directory of the output DECtape. The output DECtape should be
reassigned to guarantee that the directory in core is up-to-date.
Characteristics
The R DTCOPY command:
Places the terminal in user mode.
Runs the COpy program, thereby destroying the user's core image.
Associated Messages
Refer to Chapter 4.
Examples
.!R DTCOPY)
~DTA71
•
Run DTCOPY
OTA31)
*DTA21/Z • )
Copy the contents of DT A3 to DT A7 and determine
if the two DECtapes are the same (default condition).
If the DECtapes disagree, the number of discrepancies is typed on the terminal.
Zero all blocks and clear the directory on DT A2.
Return to monitor mode.
~ASSIGN OSKIPTRI)
The bootstrap loader must be on logical device PTR .
.!RErAM! BSLDR.REL • DTBOOT.REL)
COpy expects the bootstrap loader to be named
BSLDR.
!oR OTCOPY)
Run DTCOPY
!.IL)
Load the bootstrap loader into a core buffer.
2-77
Return to monitor mode .
.!.SAVE DSJ( ICOPY)
Save DTCOPY so that the bootstrap loader is
preserved with the DTCOPY core image.
!,START)
Start the COPY program.
.!.DTA511T • )
Write the bootstrap loader
DTA5.
TYPE COR! BANK AND
orr SET
In
blocks 0, I, and 2 of
'01L]1~OOT
Respond with size of core bank or offset.
64K)
Size of core bank (64K core bank
top of core -1000)
Return to monitor mode.
2-78
177000 offset,
DUMP Command
Function
The DUMP command calls the DAEMON program to write a core image tile
(function of the DCORE command) and then invokes the DUMP program to
analyze the file written and to provide printable output. The core image file is
named nnnDAE.TMP where nnn is the user's job number. This file is described
in detail in the DCORE command description.
Command Formats
I.
2.
3.
DUMP Icommand/command/command ...
DUMP @ dev:file.ext [directory)
DUMP
The commands that appear in the DUMP command string are passed to the
DUMP program and therefore are described in the DL'MP program description.
A DUMP command using a command file can also specify these commands. A
DUMP command without any arguments prints a short dump of the user's core
area via the command file QUIKDM.CCL which resides on device SYS:.
Characteristics
The DUMP command:
Leaves the terminal in monitor mode.
Runs the DAEMON and DUMP programs, thereby destroying the user's
core Image.
Depends on FTDAEM which is normally absent in the DECsystem-1040.
Associated Messages
Refer to Chapter 4.
2-79
Examples
~DUMP/OUT'TTYI/MODEIASCII,SIXBtT/WIDTHI1,10/JUSTIL,R.~
IRIGHTMAI26/D [3000 , 3004
This command string writes a core image file named nnnDAE.TMP and
invokes the DUMP program to perform the output. The output goes to
the terminal and the modes used on output are ASCII and SIXBIT. The
ASCII field is 7 characters long, left justified and the SIXBIT field is 10
characters long, right justified. The right margin of the output in 26
characters. The dump consists of the contents of word 3000 to word 3004.
The hyphen is used to continue the command string onto the next line.
2-80
I
DUMP Program
Function
The DUMP program provides printable dumps of arbitrary data files in modes
and forms specified by the user. The DUMP program accepts any data file as
input and produces an ASCII file suitable for listing by PIP, the output spoolers,
or other listing programs. For example, the DUMP program takes core image files
prepared by the DAEMON program or SAVEd files produced by the monitor.
For a description of the DAEMON-written file, refer to the DCORE command.
Complete documentation on the DUMP program is contained in the DUMP
Specification and in the DUMP Reference Manual is the DECsystem-1O Software
Notebooks.
Command Formats
1.
R DUMP
/command
2.
R DUMP
/@ dev:file.ext [directory]
NOTE
DUMP indicates its readiness by typing a slash (I)
instead of an asterisk.
The commands with their arguments are as follows. Lines can be continued by
typing a hyphen followed by a carriage return.
Command
ADDRESS
Argument
Meaning
Specifies if the address is to be dumped
along with its contents. The default is
ON.
ON or OFF
ALL
Dumps the entire file. If the file is a
DAEMON core image file, the entire
category is dumped.
APPEND
Appends the output to the output file.
The existing output file is not overwritten. This command is the default; its
complement is SUPERSEDE.
AUTOFORMAT ON or OFF
Attempts to format output with line
feeds, form feeds, and titles, if ON. If
OFF, the user is responsible for all
formatting. The default is ON.
2-81
Command
Argument
CATEGORY
mnemonic for name of
category Can be JOB,
CONFIGURATION,
DDB, CORE, or
FEATURES.
Meaning
Selects the category of the
DAEMON dump file to be used.
Addressing begins with 0 at
the beginning of each category.
The default category is CORE. If the
input file is not a DAEMON file, this
switch has no effect. Note that the
DUMP program does not display the
category header nor does it allow the
user to read past the end of one
category into the next category.
CLOSE
DUMP or D
Closes the output file. After this command is given, another OUT command
must be given before the next command
which .does any output or else a fatal
error message will result.
dump descriptor,
dump descriptor ....
Dumps the specified
the current modes.
bytes in
EJECT
Starts a new page in the output file.
EXIT
Closes all files and returns control to
the monitor C Z has the same effect).
HELP or H
Types the help text on the user's
terminal. To list the names of all the
switches,
the
user
types
HELP:
SWITCHES.
INPUT or I
file descriptor
Specifies the input file. The defaults
are: DSK:nnnDAE.TMP where nnn is
the job number; the user's directory. If
the filename is specified, it determines
the extension from the set .TMP, .DAE,
.SHR, .SAV, .HGH, .LOW, .xPN, and
.DMP in that order. If an extension is
specified with no filename, the extension determines the filename.
IRADIX
decimal number
Specifics radix for numbers for input.
This command uses decimal to compute
the argument. The default is \0 for decimal. The argument must be nu-meric.
If the argument is 0 or is missing, the
input radix is set back to its default
value.
2-82
Command
Argument
Meaning
JUSTIFY
LEFT, CENTER, 01'
RIGHT
Specifies the justification of the output
in the output field. If the output overflows the output field, the entire output
appears; it is not truncated. This switch
is used in a one-to-one relationship with
the MODE and WIDTH commands. If
there are more MODE commands, an
argument of LEFT is used. If there are
more JUSTIFY commands, they are ignored.
LEFTMARGIN
expression
Sets the left margin of the output file.
The default is O.
LINEPAGE
expression
Specifies the number of lines per output
page. This counts all lines including
blank lines and titles. The default is 50.
MODES or M
ALL, ASCII, DECIMAL,
NULL, NUMERIC, OCTAL,
RADIX50, SIX BIT, SOCTAL
or SYMBOLIC
Selects the type of output.
All dumps in all modes. ASCII
dumps the word as a single
right justified character if bits 0-28 are
zero or as 5 left justified ASCII characters if bits 0-28 are nonzero. Non
printing characters print as a space.
DECIMAL dumps as a signed decimal
number. NULL declares that nothing is
to be dumped. NUMERIC dumps as a
signed number in the current output
radix. OCTAL dumps as half-words
separated by a comma (default) and
takes 13 positions. RADIX50 dumps in
RADIX50. SIXBIT dumps as one right
justified SIX BIT character if bits 0-29
are zero, or 6 SIX BIT characters if bits
0-29 are nonzero. SOCTAL dumps as
signed octal and su ppresses leading
zeroes. SYMBOLIC dumps as a symbolic instruction.
Any mode specification can appear
more than once in the command string.
The output is in the same order as the
MODE list.
NUMPAGE
expression
Specifies that pages are to be numbered.
If expression is 0, page numbering is
turned off. If expression is not 0, page
numbering begins at page = [expression]. If command is omitted, numbering starts at the first page.
2-83
Command
Meaning
Argument
OPTION
:name
Reads the user's option file (DSK:
SWITCH.INI(,] IPHYSICAL) to determine the user's specified switch defaults
for this program. The option name
appearing as the value of the switch is
the pointer to the line to read in the
file. For example, if the file contains the
line
DUMP:OCT IIRADIX:8/0RADIX:8
then the user references this line by
typing to DUMP
IOPTION:OCT
If SWITCH.INI has a line of the form
DUMP Iswitch/switch
then the specified switches override the
normal DUMP defaults. For example, if
the user does not want the address
dumped, he can place the line
DUMPI ADDRESS:OFF
in the file. If he wants the addresses
dumped for a particular dump, he must
override the file by giving the command
I ADDRESS:ON
to DUMP
ORADIX
OUTPUT or
a
decimal number
Specifies radix for numbers for output.
The default is IO for decimal. If number
is 0, the standard is used. The argument
to this command is decimal and must
not be an expression.
file descriptor
Specifies the output file. The defaults
are: LPT:, the filename of the input
file; the extension .LSD; the user's
directory. If a filename is given, the
device DSK: is assumed.
RIGHTMARGIN expression
Sets the right margin of the output file.
A field may overflow the right margin if
it will not fit between the left and right
margins. If ADDRESS is ON, the new
2-84
Command
Meaning
Argument
line will have an address typed. If a
page overflow occurs, a title line may
also be printed.
RUN
Runs the specified program. This command is equivalent to the R monitor
command.
program
SUPERSEDE
Specifies that the output is to supersede
an existing file of the same name, if
there is one. The complement of this
command is APPEND, which is the
default.
SYFILE
file descriptor
Specifies the file to take symbols from if
XTRACT command is specified. Defaults are: DSK:, the filename of the
input file; one of the saved file extensions; the user's directory area.
TDUMP or T
dump descriptor,
dump descriptor, ...
Dumps specified bytes to both
output file and TTY.
TITLE
string of characters
Specifies a title to be included in the
subsequent page headings. If no argument is specified, titling is turned off.
After this command, an EJECT command should be given to skip to a new
page.
TYPE(I)
DAE,DAT,HGH,
LOW, SAY, SHR,
XPN
Specifies the format of the input or
symbol file. DAE specifies the file is
generated by DAEMON. OAT specifies
file is a data file (i.e., no special format;
therefore, no special processing is done).
HGH specifies file is in .HGH format.
LOW specifies file is in .LOW format.
SA V specifies file IS in .SA V format.
SHR specifies file is in .SHR format.
XPN specifies file is in .xPN format.
WIDTH
expression
Selects the width of each output mode
(see the MODE and JUSTIFY commands). If a MODE command is specified without. a corresponding WIDTH,
If TYPE is not specified. the extension of the input tile is used to determine the type of file being produced. If
the extension is not one recognized in the TYPE command. TYPE DAE is assumed.
2-85
Meaning
Argument
Command
the byte is dumped in exactly the
number of positions required followed
by 3 blanks. If a WIDTH command is
specified, no free blanks are output. If a
MODE
specification
overflows
its
WIDTH specification, the entire output
is given without justification. If expression is omitted, justification is turned
off.
Uses the file specified in the last
SYFILE command as a core image and
extracts the symbol table.
XTRACT
An expression is an octal or decimal number, arithmetic operations using
expressions (+, -, *, I,', and A grouped with parentheses), contents operator ([.\'
and @), or symbols. A symbol is a string of SIX BIT characters, or program:
symbol, where program defines the program containing symbol. The following
symbols are built into the DUMP program:
(the last byte typed out),
(the address of the last word dumped), and
% (the last expression evaluated).
$
A dump descriptor is any of the following:
I.
A text string enclosed in single quotes which contains alphanumeric characters and special patterns. The following patterns represent nongraphic
characters and are replaced in the output by the action represented.
where
WORD
the address of the word desired.
2-86
POS
the positIOn of the byte within the word. It specifies the
bit number of the leftmost bit in the byte.
SIZE
the number of bits in the byte. It may be any size and
can cross word or block boundaries.
3.
A byte descriptor limit specifying everything from the first byte descriptor
to the second. The format is as follows:
Command Format
EXECUTE list
list
a single file specification, or a string of file specifications
separated hy commas. A file specification consists of a device name, a
filename with or without an extension, and a directory name (rcfer to
Paragra ph 1.4.2.4).
The following switches can he used to modify the command string. These
switches can he temporary or permanent switches unless otherwise stated
(refer to Paragraph 1.5.5).
I ALGOL
Compile the file with ALGOL. Assumed for
files with the extension of .A LG.
IBIN
Generate a binary file for each file compiled.
The filename for the binary file follows the
standard conventions for determining the name
of the output file (refer to Paragraphs \.5.2
and 1.5.3). The extension is .REL. This is the
default action.
I
This command runs the COMPIL program. which interprets the command before running the appropriate
language translator for the LOADER.
2-92
IBUSS(l)
Compile the file with BUS 10. Assumed for
files with the extension of .B 10 or .BU.
ICOBOL
Compile the file with COBOL. Assumed for
files with the extension of .CBL.
ICOMPILE
Force a compilation on this file even if a
binary file exists with a newer date and time
than the source file. This switch is used to
obtain an extra compilation (e.g .. in order to
obtain a listing of the compilation) since
normally compilation is not performed if the
binary tile is newer than the source file.
ICREF
Produce a cross-reference listing file on the
disk for each file compiled for later processing
by the CREF program. The filename for the
listing file follows the standard conventions for
determining the name of the output file (refer
to Paragraphs 1.5.2 and 1.5.3). The extension is
.CRF. The files can then be listed with the
CREF command. However. with COBOL files.
the cross-referenced listing is appended to the
listing file. No additional command need be
given to obtain the listing.
IFOROTS
Load the file with FOROTS (the new FORTRAN object-time system).
IFORSE
Load the file with FORSE (the old FORTRAN object-time system).
IFORTRAN
Compile the file with a FORTRAN compiler.
Assumed for files with the extension of .F4
and .FOR and all files with nonrecognizable
translator extensions if FORTRAN is the
standard translator. This switch is needed if
the file has a nonrecognizable translator extension and FORTRAN is not the standard
translator or is not the current default (e.g ..
EXE/ALGOL FILLFIL2.FIL3/FORTRAN).
IFUDGE
Create a disk file containing the names of the
.REL files produced by the command string.
When the FU DG E command is given. PI P
reads this file in order to generate a library
REL file (refer to the FUDGE2 program
description). Arguments to this switch are:
IFUDGE:dev:file.ext [proj. progJ
BLIS 10 will be recognized as a language translator only if the appropriate assembly switch is set. However. this
assembly switch setting is not supported.
2-93
dev: - the device on which to write the file. If
the device is omitted, DSK: is assumed.
file.ext - the name of the library file. The
filename is required. If the extension is
omitted, it is assumed to be .REL.
[proj, prog] - the directory in which to place
the file. The user's directory is assumed if none
is given.
This switch IS permanent in the sense that it
pertains to all REL files generated by the
.command string.
IFIO
Use the FORTRAN-IO compiler when compiling the associated FORTRAN file. This should
be used as a permanent switch because it is
not possible to load F40 and FORTRAN-IO
binary files .together.
IF40
Use the F40 compiler when compiling the
associated FORTRAN file. This is the current
default action. This should be used as a
permanent switch because it is not possible to
load F40 and FORTRAN-IO binary files
together.
IKAIO
IKIIO
Designate the machine on which the
program will execute once it has been loaded.
These switches are needed for FORTRAN-IO
programs since the compiler generates different
code for the KA 10 and KIlO processors. The
IKA 10 switch is the current default.
ILIBRARY
Load the files in library search mode. This
mode causes a program file in a special library
file to be loaded only if one or more of its
declared entry symbols satisfies an undefined
global request in the source file. The system
libraries are always searched. Refer to the
LOADER and L1NK-1O documentation.
ILINK
Cause the file to be loaded by the LIN K-IO
linking loader. If used, this switch should be
placed before any file specifications since the
COMPIL program may have to generate loadcontrol switches.
lUST
Generate a disk listing file, for each file
compiled. The filename for the listing file
follows the standard conventions for determining the name of the output file (refer to
2-94
Paragraphs 1.5.2 and 1.5.3). The extension is
.LST. These files can be listed later with the
LIST command. If the line printer is being
spooled for this job, the listing files are written
on device LPT and are automatically spooled
at LOGOUT time. Unless this switch IS
specified, listing files are not generated.
ILMAP
Produce a loader map during the loading
process (same action as IMAP) containing the
local symbols.
ILOADER
Cause the file to be loaded by the LOADER.
This is the current default action.
IMACRO
Assemble the file with MACRO. Assumed for
files with extensions of .MAC.
IMACXll(l)
Assemble the file with MACX II. Assumed for
files with extensions of .PII.
IMANTIS(2)
Compile the file with the MANTIS debugging
information. This switch affects fORTRAN
files only.
IMAP
Produce loader maps during the loading
process. When this switch is encountered, a
loader map is requested from the loader. After
the library search of the system libraries, the
map is written in the user's disk area with
either the filename specified by the user( e.g.,
IMAP:file) or the default filename MAP.MAP
if loading is performed by LOADER or
nnnLNK.MAP if performed by LINK-to. This
switch is an exception to the permanent switch
rule in that it causes only one map to be
produced even though it appears as a permanent switch.
INEW
Run the appropriate language translator from
the experimental system library (device NEW:)
area [1.5]. If the translator does not exist on
device NEW:, try to obtain it from device
SYS:. Refer to the following NOTE.
MACXII. the PDP-II assemhler for the PDP-H). will he recognized as a translator only if the appropriate
assemhly switch is set. H()\vever. this assemhly switch setting is not supported.
:vIAl\TIS will he recognized as a dehugging program only if the appropriate assemhly switch is set. However.
this switch setting is not supported.
2-95
INOBIN
Do not generate binary files. Unless this switch
is given. binary files are genl:rated. This switl:h.
when combined with the ICREF or lUST
switch. is useful when compiling programs
solely for the purpose of generating listings.
INOCOMPILE
Complement the ICOMPILE switch by not
forcing a compilation on a source file whose
date is not as recent as the date on the binary
file. Note that this switch is not the same as
thl: IREL switch. which turns off all compilation. even if the source file is newer than the
REL file. INOCOMPILE is the default action.
INOUST
Do not generate listing files. This is the default
action.
INOMANTIS( I)
Compile the file without the MANTIS debugging information. This switch affects FORTRAN programs only.
INOSEARCH
Loads all routines of the file whether the
routines arl: refl:renced or not. Since this is the
default action. this switch is used only to turn
off library search mode (I L113RAR Y). This is
not equivalcnt to the IP LO;\DER switch.
which does not sl:arch any libraries: thl:
INOSEARCH switch scans the system librar-
Ies.
IOLD
Run the appropriate language translator from
the system library of old programs (device
OLD:) which resides on the disk area l U]. If
the translator docs not exist on device OLD:.
try to obtain it from device SYS:. Refer to the
following NOTE.
IREL
Usc the existing REL filcs although newer
source files may be prl:sen t.
ISEARCH
The action is iden tical to that of thl: I LJBRAR Y switch.
ISELF
Run thl: appropriate languagl: translator from
device DSK: instead of from thl: system library
(device SYS:). This switch is useful for an
individual who keeps a private copy of a
translator 111 his own disk area. Svstem
MANTIS will he recognized as a dehugging program only if the appropriate assemhly switch is set. However.
this switch setting is not supported.
2-96
programmers occasionally keep experimental
versions of standard translators in their disk
areas in order to test new features. Refer to
the NOTE below.
ISNOBOL(l)
Compile the file with SNOBOL. Assumed for
files with an extension of .SNO.
ISYS
Run the appropriate language translator from
the system library (device SYS:) area [1,4].
This is the default action.
NOTE
Once a language translator has been specified from a
particular area within the same command string. i.e ..
the following is illegal:
.EXECUTE PARTA.F40/NEW. PARTB.F40/0LD
However. the following is valid:
.COMPIL PARTA.F40/NEW
.COMPIL PARTB.F4010LD
.EXECUTE/REL PARTA. PARTB
Characteristics
The EXECUTE command:
Places the terminal in user mode.
Runs the appropriate language translator and linking-loader. thereby
destroying the user's original core image.
Starts the execution of the compiled and loaded program.
Associated Messages
Refer to Chapter 4.
SNOBOL will be recognized as a language translator only if the appropriate assembly switch is set. However.
this assembly switch setting is not supported.
2-97
Examples
.,LEXECUTE TEST..)
MACRO,
TEST
LOADING
LOADER 2K CORE
EXECUTION
2-98
FAILSAFE Program
Function
The FAILSAFE program is used by operators and users alike to save disk files on
magnetic tape and to later place all or some of these saved files back onto the
disk. Although this program is normally used by the system operator. the console
user can execute a subset of the FAILSAFE operations for his own disk area. He
can save his disk area on his own magnetic tape and later restore all his files or a
subset of his files back to his area. Or he may need to restore from the system
failsafe tape one of his tiles that he unintentionally deleted from his area. The
user can also use the program fOF moving his files from one system to another.
Complete documentation on the FAILSAFE program is contained in the
FAILSAFE specification in the DECsystem-IO Software Notebooks.
WARNING
Crucial to FAI LSAFE'S operation is the fact that the
magnetic tape used must be assigned the logical name
FAILSA.
Command Format
.R FAILSAFE
* Iswitch
FAI LSAFE switches with their explanations arc as follows. A carriage return
used to terminate all switches.
SWITCH
EXPLANATION
IA
Advances the magnetic tape one physical tile.
IB
Backspaces the magnetic tape one physical file.
Ie
Causes FAILSAFE to continue.
IS
I.
On disk-to-tape transfers. if the end of tape is
reached before all disk tiles have been saved,
FAILSAFE requests that the user mount a new
tape and type IC after the tape has been
mounted to direct FAILSAFE to continue.
2.
On tape-to-disk transfers, after FAILSAFE has
typed out the number of the mounted tape
and its creation time and date, the user types
IC if this information is correct and he wishes
all files on the tape to be restored on disk.
This feature aids in preventing accidental
restoration of files from the wrong tape.
2-99
EXPLANATION
SWITCH
ID
Transfers control of DDT if it is loaded.
IE
Sets creation date and time word so old files can be
eliminated by not being transferred in either direction. The format is as follows:
* IE mm/dd/yy, tttt
There may be a possible pause between the time the
angle brackets are typed at the beginning and the end
of transfer. The IT switch takes effect on the file for
which it appears and ends when a IQ switch is given.
IU
Saves, on the magnetic tape. the disk files in the
U FD of the user last named in a IG switch, or if no
IG switch has been given. of the user currently
logged in. Up to 16 arguments. separated by spaces
and lor tabs. can follow this switch. These arguments
are names of file structures or disk devices from
which the tiles are to be taken. and when used. only
those structures mentioned that have files for the
specified user. are saved. If no arguments are given.
all the user's files on all the structures are saved. The
user is informed if no files arc saved from a specified
structure.
2-102
SWITCH
EXPLANATION
IV
Generates a request to lock the job in core, or resets
the request. Note that locking may not be accomplished even though the request is given. FAILSAFE
acknowledges if the lock is successful and does not
acknowledge if the lock is unsuccessful. This switch is
a toggle switch in the sense that the first occurrence
sets the request, the second resets the request, and so
forth. The user can consult SYSTAT or SYSDPY to
determine the state of the switch.
IW
Rewinds the magnetic tape with the logical name
FAILSA to load point.
IX
Extracts the project-programmer numbers from the
tape and reproduces output similar to the original
TTY output generated by FAILSAFE during a save.
The output contains the names and the projectprogrammer numbers on the tape. It is placed on
logical device LST, and if LST is assigned to the disk
or DECtape, the filename FAILSA.DIR is given to
the output.
IY
Used to debug new features.
IZ
Used to debug new features.
12
Sets the magnetic tape density to 200 bpi.
IS
Sets the magnetic tape density to 556 bpi.
18
Sets the magnetic tape density to 800 bpi.
The user can be selective as to the files he saves or restores. Files are specified
either explicitly by giving the filename and extension or implicitly by giving the
wildcard construction.
Characteristics
The R FAILSAFE command:
Places the terminal in user mode.
Runs the FAILSAFE program, thereby destroying the user's core image.
2-103
Examples:
I.
Saving a user's disk area
.MOUNT MTAI FAILSA IVIDIFAILSAFE-TAPE
OPERATOR NOTIFIED
WAITING •• ,
FAILSA (MTAO) MOUNTED
REWINDS ARE NOT AUTOMATIC,
FAILSAFE VERSION 7700,13, FOR HELP, READ SYSIFAILSA,
HLP, OP
TYPE IH
*/W
*/U
10147150
03 AUG 72
TAPE • 01 ~ 9 CH iOO BPI
NO FILES SAVED FOR 20,1547
DSKC
20,1547
NO FILES SAVED FOR 20,1547
DSKA
DSKB
,SAVE COMPLETED WITH TAPE • 01
10,47,57
03 AUG 72
2.
Restoring a user's disk area
,MOUNT MTAI FAILSA IVIDIFAILSAFE-TAPE
OPERATOR NOTIFIED
WAITING.,.
FAILSA (MTAO) MOUNTED
• R FAILSA
REWINDS ARE NOT AUTOMATIC,
FAILSAFE VERSION 7700,13, FOR HELP, READ SYS,FAILSA,
HLP, OR
TYPE IH
** .•
S-SERIES FAILSAFE TAPE RECORDED BY VERSION
77 AT 10147150 03 AUG 72
"TAPE • 01
SEARCHING FOR 20,1547
rOUND ON TAPE
DSKC 20,1547
*
2-\04
3.
Listing a user's directory on the terminal
.MOUNT MTAI FAILSA /VIDIFAILSAFE-TAPE
OPERATOR NOTIFIED
WAITING",
'AILSA (MTAO) MOUNTED
REWINDS ARE NOT AUTOMATIC
'AILSAFE VERSION 7700,13, FOR HELP, READ SYSI'AIL5A,
HLP, OR
TYPE /H
*/W
*/L
S-SERIES 'AILSAFE TAPE RECORDED BY VERSION
77 AT 10147150 03 AUG 72
"TAPE • 01
SEARCHING 'OR 20,AS47
DIRECTORY FOR DSKC
20,1547
P'40
,CTL
DOTH ,MAC
CTL
• TEC
BASIC .CTL
COMMAND.CTL
FA ILSA .CT1
FAILSA.OLG
P"AILSA .CTL
FAILSA.LOG
F'ILEl .MAC
FILE2 .ceL
FILEl ,MAC
PPNTST.MAC
PPNTST.REL
..
2-105
I
FILCOM P ..g
A
First difference
FILE 8
A
2'
**************
1)1
l'
D }
E
)oI~
_ _- - - -
Second difference
line
1)
p. 1~1)
G
1'd entlca
****
in both
2) 1
G
files
************~*
line
identical
in both
tiles
line
identical
. b ot h
10
files
1)1
K
1)
1)
L
M
1) 2
N
<****
2' 1
<
2)
2)
2)2
Third difference
1
2
3
N
**************
1) 2
****
2,2
2)
2,
W
54
))004_----- Fourth difference
w
**************
tt
Th;s column ;ndkates the page numb" of tbe file.
This column indicates either the first tile or the
second file.
To compare the two files and output the differences on the line printer, the
following commands are used. Note that in this example the number of successive lines that determines a match has been set to 4 with the 14L switch.
2-111
.l.R FILCOM)
!LPTI/4L • rILEA,rIL!S)
rILE 1)
FILE 2)
1)1
1)
DSKIP'ILEA
DSK I rILES
1456 17-JAN-1972
1456 17-JAN-1972
FILE A
A
1)
B
1)
1)
C
1)
D
E
P"
1)
G
1)
CREATEDI
CREATED I
These lines are listed as being
different because the 14L switch
specifies that 4
consecutive
lines must be found identical in
the two files before they are
considered as a match.
****
2)1
2)
2)
2)
2)
**************
1)1
1)
1)
1) 2
K
L
M
N
****
2'1
1
2)
2)
2
3
2)2
N
**************
1) 2
W
****
2) 2
4
2'
2'
5
W
**************
To compare the two files so that the second input file is output with vertical
bars in the left column next to the lines that differ from the first input file, use
the following command sequence .
• R P"ILCOM)
*LPTc/U = FILEA,FILEB)
FILE B
A
B
C
G
H
I
The lines with vertical bars
indicate the differences between
the two files.
J
1
2
3
N
0
P
2-112
Q
p
S
T
U
The lines with vertical bars
indicate the differences between
the two files.
V
4
5
W
X
'l
Z
2.
To compare two binary files on the disk and output the
differences on the terminal. use the following command
sequence .
• R F'ILCOM)
!TT'lI_DSKIDIAL.REL,DIAL2)
F'ILE 1) DSKIDIAL,REL
CREATEDI 0000 23-DEC-1971
FILE 2) DSKIDIAL2,REL CREATEDI 0000 12-AUG-1971
000000
000002
000003
000004
3.
000004
000000
000006
000000
000001
054716
000001
000000
000004
000311
017573
017573
000060
372712
510354
513216
000057
000311 326004
017575 510355
01757:1 513216
To compare two high segment files. the command sequence
below is used. Note that the locations hegin at 400000 .
• R F'ILCOM)
~TT'lI_S'lSITABLE.5HR, TABLE,SHR)
4.
rILE 1) SYSITABLE.SHR
rILE 2) DSKITABLE.SHR
CREATED I 2020 24-JAN-1972
CREATED I 1829 30-NOV-1971
400000
400003
400004
400005
400010
400011
400012
400013
001630
015024
004700
554143
260740
200000
202000
201000
001611
006675
005600
545741
634000
474000
402000
200040
400010
000000
000070
444562
000000
000000
000156
406354
407157
407670
000113
625700
403516
414036
000720
000472
To list a hinary file. use the following command
sequence .
• R F'ILCOM)
!TT'lI_SYSIDOT,REL)
000000 000004 000001
000001 000000 000000
000002 000000 054716
000003 000006 000001
000004 000000 000000
000005 000007 517116
000006 000001 0000002
000007 000000 000000
2-113
000021
013651
001100
011602
454740
674000
600000
001040
007147
407670
000163
261262
403516
414036
000676
406726
Note that the folIowing sequence will not work because of
the terminating comma.
!TTYI_SYSIDOT.REL,)
7COMMAND ERROR
5.
To compare two binary files between locations 150-160
(octal) .
• R P'ILCOM)
!TTY,/150/1 6 0U.SYS,SYSTAT.SAV,SYS,SYSDPY.SAV)
rILE 1) SYS,SY5TAT.SAY CREATEDI OB1B ]0-NOV-i911
FILE 2) SYSISYSDPY.SAV CREATEDI 1642 29-NOY-1911
000150
000151
000152
·00015]
000154
000155
000156
000157
000160
6.
200400
260140
260740
200040
260140
201041
047040
254000
476000
000137
004226
004253
005011
004063
777777
000042
000174
006'774
200740 00]211 000340 00]320
404500 004242 664240 000064
66 002000 401240 006253
260740 002123 060700 001732
200040 00424] 060100 000220
202040 003241 00]001 774536
200040 004241 247000 004203
251040 004142 005040 004036
211040 000144 66'7040 006630
To compare two .SA V files. Note that the files are
expanded before the comparison .
• R P'ILCOM)
*TTY I_SYS ITRY1. SAY, sn ITRY. SAY )
FILE 1) SYSITRY1.SAY
CREATEDI 2043 05-JAN-U72
FILE 2) SYSITRY.SAV
CREATED I 081 B 30-NOV-19'71
000114
000116
000117
000120
000121
000130
000133
00013'7
000140
000141
000142
000143
000144
000145
000146
000147
000150
000151
000152
000153
004000
'777536
000000
006000
000000
010000
003727
003400
264000
260040
201240
542240
260040
621000
200240
251240
402000
201040
200260
321240
000140
005536
005536
000140
006000
000005
005777
000010
001454
001773
001447
001634
002774
000010
003504
000012
003613
003730
003632
000164
2-114
000000
000000
000000
007222
000000
000000
00664)
046700
047000
200040
402000
251040
403000
476000
200740
051140
200400
260740
260740
200400
000000
000000
000000
000140
007222
000000
007777
000004
000000
0050'75
006644
007221
000015
006715
006606
0050'76
000137
004226
00425]
005011
004000 000140
777536 005536
005536
001222 000000
001222
010000 000005
005164 002000
045300 000074
223000 001454
060000 004706
603240 00720]
'713200 006416
663040 002761
257000 006705
000500 005302
200300 005064
602400 003'724
061700 00'7516
060520 007461
121200 005175
FILE Command
Function
The FILE command provides remote control of DECtape-to-disk and disk-toDECtape transfers on operator-handled DECtapes.
Command Formats
I.
FILE C
Checks the queue of FILE commands to be read to determine if any of
the user's requests are still pending. No argument is required. Pending
req uests will be listed.
2.
FILE D. id. file.ext. flle.ext. ...
Deletes the specified files from DECtape. Requires Tape 10 and list of
fIlenames as arguments. The tape 10 is any alphanumeric name of 6
characters or less that is used to identify the tape. Upon completion. an
automatic F[I.E L is performed.
3.
FILE F. id. flle.ext. file.ext. ...
Files information onto a DECtape. Requires Tape [0 and list of
filenames as arguments. Upon completion. an automatic FILE L is
performed.
4.
FILE L. id
Reads the directory of a DECtape and places it in the user's disk area
as an ASC[[ file with fIlename id.DIR. id is any alphanumeric name of
6 characters or less that is used to identify the tape. It is the only
argument. The user may then read the directory with a monitor
command string. (See Examples).
5.
F[LE R. id. flle.ext. file.ext. ...
Recalls (transfers) information from the user's DECtape to the disk.
Requires Tape id and list of fIlenames as arguments. [I' the specifIed
files already exist. they are superseded with the ones from the DECtape.
[I' the specifIed files do not exist. they will he created on the first file
structure in the joh's search list for which creation is allowed. After the
files are transferred. an automatic F[LE L is performed.
6.
F[LE W
Waits until all of the user's pending requests are processed before
continuing. [I' there are pending requests. the message WA[T[NG ... is
2-115
typed to the user. Control returns when all requests have been
processed. The user may type control-C if he decides not to wait.
7.
FILE Z, id, file.ext, file. ext, ...
Zeroes the directory of the DECtape before the files are copied and
then performs the same operations as the F option. Requires Tape id
and may have a list of filenames as arguments. After the files are
copied, an automatic FILE L is performed.
The C and W functions are the only requests that are performed whenever
possible. The user's terminal and job are free to proceed before the request is
completed. The function argument is optional. If the function argument is not
specified, a brief dialogue is performed.
In most cases the user does not need to specify which file structures the files are
on because UMOUNT determines this (with LOOKUPs) and passes the
information to aMOUNT.
However, file structure names may be specified in file descriptors. When no
structure name is explicitly typed, the default is initially the first file structure in
the user's search list (implied by DSK:) on which he is allowed to create files.
Refer to the description of the SETSRC program. When a file structure name is
typed or implied. it becomes the new default.
The asterisk construction may be used, but care should be taken when generic
DSK: is typed. Because DSK: may define many file structures, the single file
structure is chosen as follows:
When the asterisk construction is used for the filename or extension, the first
structure on which the user may create files in his search list is used. This is
called the user's standard file structure.
If the asterisk construction is not used and the file exists, the first file structure in
the search list that contains the specified file is used, unless overridden by a
default. (See Examples.) If the file does not exist, the standard structure is used.
WARNING
If the user has a search list with multiple file structures, the
asterisk construction when used with the FI LE R command
can cause files to be created rather than superseded.
Characteristics
The FILE command:
Leaves the terminal in monitor mode.
Runs the UMOUNT program, thereby destroys the user's core image.
Depends on FTCCLX which is normally absent in the DECsystem-1040.
2-116
Restrictions
The project-programmer number may not be specified in file descriptors.
Associated Messages
Refer to Chapter 4.
Examples
REQUEST STORED
2.COMMANDS IN QUEUE
The files MAIN.F4 and SUBFIL.MAC are
taken from the user's DECtape labeled MINE
and placed on the first file structure in the
user's search list for which creation is allowed.
There are two commands in the queue (counting this one).
,FILE C.J
2. R JOB24 TTY5 27,235 MINE DSKBI,DSKBIMAIN,F4,SURFIL,MAC
3. COMMANDS IN QUEUE
The user checks to see if this request is still
waiting to be processed. The first line of the
output indicates that the user's request is
second in the queue (2.). that the request made
is a RECALL (R), that the user's job is 24
(JOB24), that the user is on terminal 5 (TTY5)
under the project-programmer number of [27.235) (27,235), that the tape is identified by the
name MINE (MINE), and that the files will be
written in the directory on DSKB: (DSKB:).
The second line indicates that there are 3
commands in the queue.
The user wants the directory on the DECtare
labeled 4 to be placed in his disk area as an
ASCII file.
,TYPE 4,DIR.J
The user then reads the directory file with the
TYPE command.
If the user's search list is as follows:
DSKA/N,DSKB,DSKC
with file A on DSKA, file B on DSKB, and file C on DSKC. the following
commands are equivalent:
2-117
The user types:
The user could have typed: The command as passed to
aMOUNT:
,FILE F,2,DSKIA,DSKIP,
DSKIC
,FILE F,2,DSKA.A,DSKBIB,
DSKCIC
The first file structure that contains each file is used.
,FILE R,A,DSKBIB,C
,rILE R,l,DSKIA,DSKBIB,
DSKBIC
,FILE R,3,DSKAtA,DSKBIB,
DSKBIC
The user changes the default to DSKB and even though file C exists on DSKC,
file C is created on DSKB; files A and B are superseded.
Because the asterisk convention was used, the first file structure on which the user
may create files (DSKB) is used.
,FILE R,2,A,C.*,
OSKCIB.*
,FILE R,2,OSKIA,
DSKBtC,*,DSKC,B,*
,rILE R,2,DSKAIA,
DSKBIC,*,DSKCIB.*
Because of the asterisk convention, DSK B is used for file C (even though file C
exists on DSKC). The user explicitly typed a structure name for file B; therefore,
DSKC is used even though file B is on DSKB. File A is superseded.
2-118
FILEX Program
Function
The FILEX program is a general file transfer program used to convert between
various core image formats, and to read and write various DECtape formats. Files
are transferred as 36-bit data. The only processing on the data is that necessary to
convert between various core image representation.
Command Format
.R FILEX
*dev:ofile.ext [directory] ,
DTA11P'4(~"
Replace modules EXP.3 and EXP.3C
located in file LIB4AA.REL on DTA2.
with modules EXP.3A and EXP.3B in
File F4.REL on DT A I: write out the
new LIB4AA file on disk and call it
LIB4BB.REL.
OTA3ITFILEACTA1,TA2>,
OTA4ITFILEBCTB1,TB2>/IS
Insert into MFILE the modules
T A I and T A2 from TFI LEA. and TB I
and TB2 from TFILEB. Create NFILE
with the following order:
TAI.MI.TA2.M2.
TB I.M3.TB2.M4
Insertion is on
there are more
than specified
they are to be
are ignored.
a one-to-one basis. If
modules to be inserted
modules before which
inserted. the extra files
*OTAlINFILE.OSK.MP'ILECM1,M2,Ml,M4>,
OTAlITFILlA,
However.
in
this example
OTA41 TFUEB/IS
(where TFILEA.REL and TFILEB.REL
contain the modules TAl and TA2 and
TB I and TB2 respectively) create an
NFILE.REL with the following order:
TALTA2.M I.TBI.
TB2.M2.M3.M4
2-130
!DTA2ITESTA.MTA1ICW~),MTA21
I(ZA)'
Clears the directory of DT A2; rewind
MT A I and advance the tape one file;
append the first two program files from
MT A2 to the second file on MT A I and
write out the resultant file on DTA2,
calling it TEST A.REL.
~OUTPUT=LIBAPy,DTA1ILI8ARYCrILEy,rILEZ>/A'
Append the modules FILEY and
FILEZ contained in the file LIBARY.REL on DTAI to the end of the
file LIBARY.REL on disk. Write the
new file on disk and call it OUTPUT.REL.
~NEWFIL=OLDrIL,BASFIL,SUBFIL
Source Exif Data:
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
PDF Version : 1.6
Linearized : Yes
XMP Toolkit : Adobe XMP Core 4.2.1-c041 52.342996, 2008/05/07-21:37:19
Modify Date : 2017:08:04 05:48:21-07:00
Create Date : 2007:08:02 07:46:27+10:00
Metadata Date : 2017:08:04 05:48:21-07:00
Creator Tool : Adobe Acrobat 7.08
Format : application/pdf
Document ID : uuid:64dbcef2-b5de-413c-be1e-dbf983305fbe
Instance ID : uuid:11d7e35c-2f81-1b48-a2b8-884e75fee255
Producer : Adobe Acrobat 9.0 Paper Capture Plug-in
Page Layout : SinglePage
Page Count : 520
Creator : Adobe Acrobat 7.08
EXIF Metadata provided by EXIF.tools