Skip to content

Page 1

SINTRAN III COMMANDS

Reference Manual

ND-60.128.5 EN


Page 2

SINTRAN III COMMANDS

Reference Manual

ND-60.128.5 EN


Page 3

Preface

The Manual

This manual describes the K-version of SINTRAN III and the H-version of ND-500 Monitor. The first part is an alphabetical list of the SINTRAN III commands and their precise details. The second part is an alphabetical list of commands in the SINTRAN-Service-Program. The third part is an alphabetical list of commands to the ND-500 Monitor. The final part consists of appendices. Changes from the previous version are indicated by a change bar.

The Reader

The manual is written for experienced users who need to look up precise details.

SINTRAN III Monitor Calls Guide (ND-60.228)

This manual is a complete reference to the SINTRAN III monitor calls. It replaces chapter two in previous versions of the SINTRAN III Reference Manual.

SINTRAN III Introduction (ND-60.125)

This gives an introductory survey of the basic functions available for those with little or no knowledge of computers or those unfamiliar with the SINTRAN III operating system.

SINTRAN III Timesharing/Batch Guide (ND-60.132)

This describes the use of commands and monitor calls available for time sharing users. The commands and monitor calls are grouped according to function.

SINTRAN III Real Time Guide (ND-60.133)

This describes real time programming facilities. It is written for application programmers and assumes a reading knowledge of FORTRAN.

SINTRAN III System Supervisor (ND-30.003)

This describes the tasks performed by the System Supervisor who is responsible for keeping the system running properly from day to day. It contains descriptions of Accounting and the use of the SINTRAN-Service-Program.

SINTRAN III Utilities Manual (ND-60.151)

This describes some utility functions and subsystems available under SINTRAN III. These are:

  • Perform
  • General Purpose Macro Generator
  • Mail
  • Look-file
  • File Extract Utility

Norsk Data ND-60.128.5 EN


Page 4

I'm unable to process this image as it seems to be blank with only a page number and reference. If there is another page with content, please provide that for OCR conversion.


Page 5

TABLE OF CONTENTS

Section Page
1 SINTRAN III COMMANDS 1
1.1 Introduction 3
1.2 Command Summary 5
1.3 Command Descriptions 19
2 SINTRAN SERVICE PROGRAM COMMANDS 307
2.1 Command Summary 310
2.2 Command Descriptions 313
3 ND-500 MONITOR COMMANDS 401
Index 621

Page 6

Appendix

Section Title Page
A ND TERMINAL TYPES 547
B LOGICAL DEVICE NUMBERS USED IN SINTRAN III 551
C ERROR MESSAGES 563
C.1 SINTRAN III Monitor 565
C.1.1 Run-Time Errors 565
C.1.2 Run-Time Error Codes 566
C.2 SINTRAN III File System 569
C.2.1 Error Codes from Monitor Calls - numeric list 569
C.2.2 Error Codes from Monitor Calls - alphabetic list 575
D STANDARD PERIPHERAL FILE NAMES 599
E STANDARD NAMES OF MASS STORAGE DEVICES 603
F ASCII CHARACTER SET 607
G HARDWARE STATUS - VARIOUS DEVICES 611
G.1 Status word for Tandberg, Pertec and STC magnetic tape 614
G.2 Status word for Hewlett-Packard magnetic tape units 615
G.3 Status word for Versatec line printer/plotter 616
G.4 Status word for old (PIO) floppy disk 616
G.5 Status word for new (DMA) floppy disk 617
G.6 Status word for ECC disk controllers 37/75/238 Phoenix 618
G.7 Status word for big disks 33/66 MB 618
G.8 Status word for small disk 10 MB 619
G.9 Status word for 45 MB Micropolis and 21 MB Finch disks 619

Norsk Data ND-60.128.5 EN


Page 7

SINTRAN III COMMANDS REFERENCE MANUAL

1

CHAPTER 1

SINTRAN III COMMANDS

Norsk Data ND-60.128.5 EN


Page 8

SINTRAN III Commands Reference Manual

Page Description
2 SINTRAN III Commands Reference Manual

Norsk Data ND-60.128.5 EN


Page 9

SINTRAN III COMMANDS REFERENCE MANUAL

1. SINTRAN III COMMANDS

1.1 Introduction

The command names are listed following the SINTRAN prompt character @. This character is written to the terminal by the system when SINTRAN is ready to accept a command. The user types characters after the @.

A command can be written as one or several lines, in upper or lower case. If the user types carriage return (CR) before all parameters are entered, SINTRAN asks for the missing parameters on the next lines.

A command may be written in one of the following ways (user input is underlined):

@LIST-FILES ALFA,TERMINAL
or

@LIST-FILES
FILE NAME: ALFA
OUTPUT FILE: TERMINAL
or

@LIST-FILES,ALFA
OUTPUT FILE: TERMINAL
or

@LIST-FILES
FILE NAME: ALFA,TERMINAL
or

@LIST-FILES,ALFA,,

The last example uses the default value for the parameter OUTPUT-FILE. To use a default value for the last parameter in a command requires an extra comma, one comma causes a request for the parameter.

The radix of a parameter may be specified by appending D (for decimal) or B (for octal) to the number.

Some parameters have default values, omitting parameters without default values causes an error message.

The notation [......] is used to indicate that the parts in brackets may be omitted.

Parameters are separated by a comma or space.


Page 10

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

The SINTRAN editing characters are used to edit the current or previous command line. The following editing functions may be used:

Command Function
CTRL+A Delete one character
CTRL+W Delete one word backwards
CTRL+Q Start a new empty line where old command can be edited (not XON/XOFF terminals)
CTRL+C Copy one character
CTRL+D Copy rest of line including RETURN
CTRL+F Copy rest of line including RETURN (no echo)
CTRL+H Copy rest of line, but NOT including RETURN
CTRL+Lx Copy until and including "x"
CTRL+Ox Copy until but NOT including "x"
CTRL+U Copy until next TAB stop
CTRL+B Skip one character
CTRL+S Skip one character (not XON/XOFF terminals)
CTRL+Xx Skip characters until and including "x"
CTRL+Px Skip characters until but NOT including "x"
CTRL+E Switch insert mode on/off
CTRL+I Overwrite with spaces until next TAB stop
CTRL+Vx Quote character "x" (also if CTRL character)
CTRL+T Align new line with old line
CTRL+R Type rest of lines and continue edit
CTRL+Y Copy rest of line, no echo, and restart edit
CTRL+K Erase line on display and restart edit

For example, pressing CTRL+A after @LIST-FO deletes the character O.

If the command @LIST-FI OLE,TERM has just been entered, pressing CTRL+Q reenters this command.

Beware that segment name may now be entered instead of segment number whenever a segment is to be specified. A segment name consists of 1-7 alphanumeric characters. The underline character (_), may be used as a separator in a segment name and will count as one character. Note that a segment name may not be abbreviated.

Norsk Data ND-60.128.5 EN


Page 11

1.2 Command Summary

Command Parameters Short Description
ABORT RT-program name stop RT-program
ABORT-BATCH batch no. abort batch process
ABORT-JOB batch no., user name abort current batch job
ABORT-PRINT peripheral file abort current print
ABSET RT-program name, seconds, minutes, hours start RT-program at a fixed time of day
ALLOCATE-FILE file name, page address, no. of pages create and allocate file
ALLOCATE-NEW-VERSION file name, page address, no. of pages create and allocate new version of file
ALTOFF none reset 2-bank mode
ALTON none set 2-bank mode
APPEND-BATCH batch no., input file, output file append batch files to batch queue
APPEND-REMOTE host computer, input file append remote batch file to remote batch queue
APPEND-SPOOLING-FILE peripheral file, file name, no. of copies, text [,printing message] append file to spooling queue
BACKSPACE-PRINT peripheral file, no. of pages, no. of lines backspace current print-out
BATCH optional: batch number start batch process
CC none comment in batch/mode
CHANGE-BACKGROUND-SEGMENT-SIZE device no., no. of pages change virtual memory size
CHANGE-BIT-FILE directory name, block no. change specified bit-file block
CHANGE-DIRECTORY-ENTRY device name, unit, [fixed/removable, subunit] change contents of directory entry

Page 12

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
CHANGE-OBJECT-ENTRY user name, object no. change specified object entry
CHANGE-PAGE directory name, page no. change specified page
CHANGE-PASSWORD new password, old password change user password
CHANGE-USER-ENTRY directory name, user no. change user entry
CLADJ no. of time units, timeout adjust internal clock
CLEAR-BATCH-QUEUE batch process number empty one batch queue
CLEAR-DEFAULT-DIRECTORY directory name remove status as default directory.
CLEAR-DEVICE logical device number execute clear device
CLEAR-MAIN-DIRECTORY directory name remove status as main directory
CLEAR-PASSWORD user name clear user password
CLEAR-REENTRANT-SEGMENT segment name/number similar to RT-Loader command CLEAR-SEGMENT
CLOSE-FILE file no. close opened file
COLD-START none perform a cold start
CONCT RT-program name, logical unit no. connect RT-program to interrupt line
CONNECT-FILE file name, file no., access mode open file for access on given file number
CONTINUE none restart background program
COPY destination file, source file copy from/to file or device
COPY-DEVICE destination device, source device copy all pages from source to destination
COPY-DIRECTORY destination directory name, source directory name copy all files from source directory to destination directory
COPY-FILE destination file, source f. copy file or device

Norsk Data ND-60.128.5 EN


Page 13

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
CREATE-DIRECTORY directory name, device name, unit [,fixed/ removable, subunit], bit file address create a directory
CREATE-FILE file name, no. of pages create one or more versions of a file
CREATE-FRIEND friend name define user as friend
CREATE-NEW-VERSION file name, no. of pages create one or more new versions of file
CREATE-USER user name create a new user
DATCL none current time and date
DEFAULT-SUBSYSTEM-DISABLE terminal number disable execution of default subsystem
DEFAULT-SUBSYSTEM-ENABLE terminal number enable execution of default subsystem
DEFINE-DEFAULT-SUBSYSTEM subsystem name define a (global) command string
DEFINE-ESCAPE-CHARACTER logical unit, escape character define value of break character
DEFINE-HISTOGRAM program name, start address, interval define intervals for measuring CPU time
DEFINE-LOCAL-CHARACTER terminal number,value of local character defines local char. for a given terminal
DEFINE-MASS-STORAGE-UNIT directory name, device name, unit[,fixed/removable, subunit] define device in directory table
DEFINE-REENTRANT-PROGRAM program name, start address, restart address, segment no. or name define new entry in already built reentrant segment
DEFINE-SPOOLING-CONDITIONS peripheral file,printing name of spooling files?, stop wait for START-PRINT, no. of lines per page define conditions for spooling
DEFINE-SPOOLING-FILE-MESSAGE text, independant of spooling conditions? define message to operator on printing

Page 14

SINTRAN III Commands Reference Manual

SINTRAN III Commands

Command Parameters Short Description
DEFINE-SYSTEM-HISTOGRAM program name, interrupt level, start address, interval define address area, interrupt level for measuring CPU time
DEFINE-TERMINATION-HANDLING background, RT define termination handling
DELETE-BATCH-QUEUE-ENTRY batch no., input file, output file delete entry from batch queue
DELETE-FILE file name delete file
DELETE-FRIEND friend name delete friend
DELETE-MASS-STORAGE-UNIT directory name, device name, unit[,fixed/removable, subunit] delete device from directory table
DELETE-REENTRANT subsystem name delete reentrant subsystem
DELETE-REMOTE-QUEUE-ENTRY host computer, queue entry delete entry from remote batch queue
DELETE-SPOOLING-FILE peripheral file, file name remove file from spooling queue and empty it
DELETE-USER user name delete user
DELETE-USERS-FILES file name, manual check delete all files with matching file names
DEVICE-FUNCTION file name, function, optional parameter 1,2 various operations on special devices
DIRECTORY-STATISTICS directory name, output file list statistics of directories entered
DISABLE-ESCAPE-FUNCTION logical unit set terminal in "non-user-break" mode
DISABLE-TERMINATION-HANDLING background, RT, terminal no. disable termination handling
DMAC none assembler for system debugging
DSCNT RT-program name disconnect RT-program
DUMP file name, start address, restart address save contents of a user's virtual memory

Page 15

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
DUMP-BIT-FILE directory name, block no., output file octal dump of one 16-word block from bit-file of a directory
DUMP-DIRECTORY-ENTRY device name, unit, [fixed/removable, subunit,] output file octal dump of directory entry
DUMP-OBJECT-ENTRY user name, object no., output file octal dump of object entry
DUMP-PAGE directory name, page address, output file octal dump of one page
DUMP-PROGRAM-REENTRANT subsystem name, file name, segment name dump a :PROG file as a reentrant subsystem
DUMP-REENTRANT subsystem name, start address, restart address, binary file, segment name dump a :BPUN file as a reentrant subsystem
DUMP-USER-ENTRY directory name, user no., output file octal dump of user entry
ENABLE-ESCAPE-FUNCTION logical unit reset non-user-break mode of terminal
ENABLE-TERMINATION-HANDLING background, RT enable termination handling
ENTER user name, password, project password, max. time identify the owner of a batch job
ENTER-DIRECTORY directory name, device name, unit[,fixed/removable, subunit] enter directory into the file system
ENTSG segment no., PIT, interrupt level, start address define the condition under which a direct task will be run
EXECUTE-IOX value, device no. execute an IOX instr.
EXPAND-FILE file name, no. of pages expand contiguous file
FILE-STATISTICS file name, output file list statistics of files matching name
FIX segment no. fix segment in memory

Page 16

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
FIXC segment no., first physical page contiguously fix segment in memory
FORWARD-SPACE-PRINT peripheral file, no. of pages, no. of lines forward space current print-out
GET-ERROR-DEVICE none show logical unit no. of error device
GET-RT-NAME octal address get RT-program name given RT-descr. addr.
GET-TERMINAL-TYPE logical unit show terminal type
GIVE-OBJECT-BLOCKS directory:user, no. of object blocks increase max. number of files for user
GIVE-SPOOLING-PAGES no. of pages increase no. of spooling pages
GIVE-USER-SPACE user name, no. of pages give user space in directory
GOTO-USER octal address start background prog
HELP command, output file list matching command
HOLD no.of time units, time unit enter waiting state for specified time
INIT-ACCOUNTING desired, max., background(,RT,spooling, clear logged information, logging interval, ND-500) initialize and start accounting of specified resources
INITIAL-COMMAND command string execute command at system restart
INITIALIZE-BACKGROUND-PROGRAMS none start background programs
INITIALIZE-ERROR-LOG none initialize error log segment
INTV RT-program name, no. of time units, time unit schedule RT-program for periodic exec.
IOSET Unit, input/output, RT program name, control reset device / clear device buffers
LIST-BATCH-PROCESS none list status of batch processors

Norsk Data ND-60.128.5 EN


Page 17

SINTRAN III Commands Reference Manual

SINTRAN III Commands

Command Parameters Short Description
LIST-BATCH-QUEUE batch no. list batch queue
LIST-DEFAULT-SUBSYSTEM output file list command string executed after login
LIST-DEVICE logical unit, input/output list RT-program reserving device
LIST-DEVICE-FUNCTION command, output file list available @DEVICE-FUNCTIONs
LIST-DIRECTORIES-ENTERED directory name, output file list names of directories entered
LIST-EXECUTION-QUEUE none list execution queue
LIST-FILES file name, output file list names of file names matching given name
LIST-FRIENDS friend name, output file list names of friends matching names
LIST-INITIAL-COMMANDS output file list commands to be exec. at syst. start
LIST-MASS-STORAGE-UNIT output file list directory table
LIST-OPEN-FILES output file list numbers/names of opened files
LIST-REENTRANT none list reentrant subsystems
LIST-REMOTE-QUEUE host computer list remote batch queue
LIST-RT-ACCOUNT output file list accounting data for RT-programs
LIST-RT-DESCRIPTION RT-program name list RT-description
LIST-RTOPEN-FILES none list files open by RT-programs
LIST-RT-PROGRAMS output file list all RT-programs
LIST-SEGMENT segment no. list segment info.

Page 18

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
LIST-SPOOLING-FORM peripheral file list info. on spooling forms
LIST-SPOOLING-QUEUE peripheral file, output file list spooling queue on a device
LIST-TERMINATION-HANDLING background, RT list defined termination commands
LIST-TIME-QUEUE none list time queue
LIST-TITLE none list system ident.
LIST-USERS user name, output file list all users matching names
LOAD-BINARY file name load / start program in :BPUN format
LOAD-REENTRANT-SEGMENT file name, segment name build a reentrant segment
LOGOUT none log out user and release terminal
LOOK-AT space reference examine/change memory
MAIL [output file] enter mail system
MEMORY lower bound, upper bound define dump area
MEMORY-LIMITS low program address, high program address, low data address, high data address define virtual memory dump area
MODE input file, output file execute SINTRAN cmd. from input file
MOVE-SPOOLING-QUEUE-ENTRY peripheral file, file name, insert or append, before/after file name edit spooling queue
NEXT-INITIAL-COMMAND command string define further cmd.s to be run at restart
NEXT-TERMINATION-COMMAND command string given command will be executed at terminat.
OPCOM none enter operator's communication
OPEN-FILE file name, access mode open file

Norsk Data ND-60.128.5 EN


Page 19

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
OPERATOR text send message to error device
PLACE-BINARY file name load :BPUN file
PLACE-PROGRAM file name load a :PROG program do not start
PRINT-ERROR-LOG output file print error log
PRINT-HISTOGRAM output file print percentage of CPU time spent as defined
PRIOR RT-program name, priority set priority of RT-p.
PRLS logical unit, input/output force-release device
PRSRV logical unit, input/output, RT-program name reserve unit for RT-program
RECOVER file name start background prog
REGENERATE-DIRECTORY directory name regenerate specified directory
RELEASE-DEVICE-UNIT device name, unit release reserved device
RELEASE-DIRECTORY directory name releases a directory from file system use
RELEASE-FILE device name release logical unit (peripheral file)
RELEASE-OPEN-FILE-ENTRIES none release reserved resources
REMOVE-FROM-SPOOLING-QUEUE peripheral file, file name remove specified spooling queue entry
RENAME-DIRECTORY old directory name, new directory name, device name, unit, [fixed/removable,subunit] rename directory on specified device
RENAME-FILE old file name, new object name:type change file name/type
RENAME-USER old user name, new user name change name of user in given directory

Page 20

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
RESERVE-DEVICE-UNIT device name, unit reserve device for special use
RESERVE-DIRECTORY directory name reserve directory for special use
RESERVE-FILE device name reserve given unit
RESERVE-OPEN-FILE-ENTRIES system name, access-id, no. of entries reserve resources on remote system
RESET-DEFAULT-REMOTE-SYSTEM none resets user ident. back to local user
RESTART-PRINT peripheral file restart current print from beginning
RESTART-SYSTEM none stop system and it (warm start)
RESTART-USER logical unit restart time sharing user (@WAIT-FOR-OPER)
RFILE file no., memory address, block no., no. of words random read from file
RT RT-program name start RT-program
RT-LOADER none start RT-Loader
RT-PROGRAM-LOG RT-program name, report interval, interrupts/sample logical unit 1, logical unit 2, output file measure usage of resources
RTCLOSE-FILE file number close file for RT-prg
RTCONNECT-FILE file name, file no., access mode open file with number for access by RT-prog
RTENTER none allow file handling from RT-programs
RTOFF RT-program name inhibit RT-program
RTON RT-program name allow RT-program
RTOPEN-FILE file name, access mode open file for RT-prog
RTRELEASE-OPEN-FILE-ENTRIES none release reserved file entries remote

Norsk Data ND-60.128.5 EN


Page 21

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
RTRESERVE-OPEN-FILE-ENTRIES system name, access-id, no. of entries reserve resources on remote system
SAVE-DIRECTORY destination device, source device same as @COPY-DEVICE
SCHEDULE device numbers reserve devices
SCRATCH-OPEN file name, access mode open file as scratch
SET RT-program name, no. of time units, time unit start RT-program after a given time
SET-AVAILABLE none set system available
SET-BLOCK-POINTER file no., block no. set byte pointer to first byte in block
SET-BLOCK-SIZE file no., block size set blocksize of file
SET-BYTE-POINTER file no., byte no. set byte pointer to specified byte number
SET-DEFAULT-DIRECTORY directory name set directory as default directory
SET-DEFAULT-FILE-ACCESS public access, friend access, owner access set default file access for new users
SET-DEFAULT-REMOTE-SYSTEM system name, user name, password, project password set remote system and user as default
SET-ERROR-DEVICE logical unit error messages appear on specified terminal
SET-FILE-ACCESS file name, public access, friend access, owner access set access for specified file
SET-FRIEND-ACCESS friend name, access mode set access of friend
SET-INITIAL-FILE-ACCESS public access, friend access, own access set initial file access for new users
SET-INITIAL-FRIEND-ACCESS public access, friend access, own access set initial friend access for new users
SET-LOCAL-MODE none reset file system
SET-MAIN-DIRECTORY directory name define a directory as main directory
SET-MEMORY-CONTENTS contents, lower limit, upper limit set contents of user logical memory area

Norsk Data ND–60.128.5 EN


Page 22

SINTRAN III Commands Reference Manual

SINTRAN III Commands

Command Parameters Short Description
SET-NUMBER-OF-PRINT-COPIES peripheral file, file name, no. of copies specify desired no. of copies
SET-PERIPHERAL-FILE file name, device no. define name of a file for peripheral device
SET-PERMANENT-OPEN file no. set open file permanently open
SET-REMOTE-MODE none define default remote system
SET-SPOOLING-FORM peripheral file name, spooling form identification define spooling parameters
SET-TEMPORARY-FILE file name define file as a temporary file
SET-TERMINAL-FILE file name define a name of the terminal file
SET-TERMINAL-TYPE logical unit, terminal type set terminal type
SET-UNAVAILABLE text set system unavailab.
SET-USER-PARAMETERS P1: - P5: set the five user parameters in SINTRAN
SINTRAN-SERVICE-PROGRAM none activate the SINTRAN SERVICE PROGRAM
SPOOLING-PAGES-LEFT none list number of free spooling pages
START-ACCOUNTING background [,RT, clearing logged info., logging interval, ND-500], spooling start accounting specified resources
START-HISTOGRAM none start sampling of CPU
START-PRINT peripheral file resume printing
START-PROGRAM-LOG interrupts/sample start sampling of CPU usage
START-RT-ACCOUNT RT-program start accounting for specified RT-program
START-SPOOLING peripheral file start spooling on dev
START-TADADM none start TADADM

Norsk Data ND-60.128.5 EN


Page 23

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Command Parameters Short Description
STATUS none list register values
STOP-ACCOUNTING background [,RT, ND-500], spooling stop accounting given resources
STOP-HISTOGRAM none stop sampling of CPU
STOP-PRINT peripheral file stop current printout
STOP-PROGRAM-LOG output file stop sampling / print CPU usage measurement
STOP-RT-ACCOUNT RT-program name stop accounting for RT-programs
STOP-SPOOLING peripheral file stop spooling for dev
STOP-SYSTEM none stop the system
STOP-TADADM none stop TADADM
STOP-TERMINAL logical unit force logout of user and release terminal
TADADM none list TAD status
TAKE-OBJECT-BLOCKS directory:user, no. of object blocks reduce max. number of files on
TAKE-SPOOLING-PAGES no. of pages decrease number of spooling pages
TAKE-USER-SPACE user name, no. of pages take pages from user
TERMINAL-MODE capital letters, delay after carriage return, stop on full page, logout on missing carrier define operational requirements of a terminal
TERMINAL-STATUS terminal no., interval print information on terminal usage
TEST-DIRECTORY directory name error test directory and rebuild bit-file
TIME-USED none print time used
UE-AUTOMATIC-LOGIN all terminals, enable/disable, [term.no] define UE-status on terminals
UNFIX segment unfix a FIXed segment

Page 24

SINTRAN III Commands Reference Manual

SINTRAN III Commands

Command Parameters Short Description
UNRESERVE-DIRECTORY directory name release directory from special use
UPDAT minute, hour, day, month, year update clock/calendar
USER-STATISTICS user name, output file list user statistics
WAIT-FOR-OPERATOR none wait for oper. action
WFILE file no., memory address, block no., no. of words random write to file
WHERE-IS-FILE file name who has reserved dev.
WHO-IS-ON none who is logged in

Page 25

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

1.3 Command Descriptions

⍺ABORT

Function:

Stops an RT-program by setting it in the passive state. It is removed from the time queue and execution queue, all resources are released and periodic execution is discontinued.

Related commands:

Related SINTRAN III commands: ABORT-BATCH
ABORT-JOB
STOP-TERMINAL
Related ND-500 Monitor commands: ABORT-PROCESS
LOGOUT-PROCESS
Related SINTRAN III Monitor calls: ABORT (MON 105)
RTEXT (MON 134)

Format:

@ABORT <program>

Parameters:

<program> RT-program name or RT-description address.

Rules:

  1. Permitted only for users RT and SYSTEM
  2. The command has effect only if the program is in the running or wait state.
  3. Do not abort a background program. If a background program is hanging, the system may have to be restarted. Contact your system supervisor.

Example:

@ABORT KLOKK

The RT-program KLOKK is aborted.


Page 26

aABORT-BATCH

Function

Stop the batch processor by setting it in the passive state. Any currently running batch job is aborted and the batch queue cleared.

Related SINTRAN III commands: ABORT
ABORT-JOB
BATCH
CLEAR-BATCH-QUEUE

Format

@ABORT-BATCH

Parameters

Parameter Description
Batch processor number as returned from @BATCH (decimal value).

Rules

  1. Permitted only for users RT and SYSTEM.
  2. Effective only if the batch processor is idle or active.

Example

@ABORT-BATCH 1

The batch processor no. 1 is aborted.


Page 27

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

ABORT-JOB

Function:
Abort the current batch job being processed. The next batch job in the batch queue (if any) will be initiated.

Related commands:
Related SINTRAN III commands: ABORT-BATCH
DELETE-BATCH-QUEUE-ENTRY

Format:
@ABORT-JOB <batch no.>,<user name>

Parameters:

Parameter Description
<batch no.> Batch processor number as returned from @BATCH.
<user name> Owner of the batch job as specified by @ENTER.

Rules:

  1. Users may abort their own job and user SYSTEM may abort a batch job belonging to any <user name>.
  2. Only effective if <user name> is logged in on the batch processor.

Example:
@ABORT-JOB 2,GUEST

The current batch job for batch processor 2 is aborted if its owner is GUEST.


Page 28

@ABORT-PRINT

Function:

Abort the current print-out on a spooling device and let the spooling program continue with the next file in the queue.

Related SINTRAN III commands: STOP-PRINT
STOP-SPOOLING

Format:

@ABORT-PRINT \<peripheral file name>

Parameters:

\<peripheral file name> name of the spooling device.

Rules:

  1. Permitted only for user SYSTEM and the user who appended the file.
  2. Effective only if the spooling program for the peripheral is started and a file is being printed on it.

Example:

@ABORT-PRINT LINE-PRINTER

The current file on LINE-PRINTER is aborted.


Page 29

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aABSET

Function:

Start an RT-program at a specific time of day. The program is put in the time queue and moved to the execution queue at the specified time.

Related commands:

Related SINTRAN III commands: INTV
SET

Related SINTRAN III Monitor calls: ABSET (MON 102)
INTV (MON 103)
SET (MON 101)

Format:

@ABSET <program name>,<second>,<minute>,<hour>

Parameters:

Parameter Description
RT-program name or address (octal value) of RT-description (default = own terminal background program).
Decimal value in the range 0-59, default = 0.
Decimal value in the range 0-59, default = 0.
Decimal value in the range 0-23, default = 0.

Rules:

  1. Permitted for users RT and SYSTEM.
  2. If the time of day has passed, the program is scheduled for the next day.
  3. If the program is already in the time queue, it is removed and inserted according to the new specifications.
  4. Programs in the time queue scheduled by @ABSET are rescheduled according to the new clock, if the clock is adjusted (CLADJ).

Example:

@ABSET KLOKK,,10,13

KLOKK will be put in the execution queue at 13:10.


Page 30

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@ALLOCATE-FILE

Function:
Create and allocate a contiguous file. The file is created on a specified area of a disk.

Related commands:
Related SINTRAN III commands:
ALLOCATE-NEW-VERSION
CREATE-FILE
EXPAND-FILE

Related SINTRAN III Monitor calls: CRALF (MON 221)

Format:
@ALLOCATE-FILE <file name>,<page address>,<no. of pages>

Parameters:

Parameter Description
<file name> Optional version number specifies the number of versions allocated (default type = :DATA, default version = 1).
<page address> Page number on the device where the file is to start (octal value, 1+).
<no. of pages> Size of the contiguous file area (decimal value, 1+).

Rules:

  1. Permitted for all users.
  2. If several versions are created, they are allocated one after the other. Version 1 will start at <page address>.
  3. The allocated area must not be already in use.

Example:
@ALLOCATE-FILE FILE-3,100,8

The contiguous file FILE-3:DATA is allocated in the executing user's default directory starting at address 100₈. Its size is 8₁₀ pages.


Page 31

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aALLOCATE-NEW-VERSION

Function:
Create and allocate a new version of a contiguous file. The file is created on a specified area of a disk.

Related commands:
Related SINTRAN III commands: ALLOCATE-FILE
           CREATE-NEW-VERSION
Related SINTRAN III Monitor calls: CRALF (MON 221)

Format:
@ALLOCATE-NEW-VERSION <file name>,<page address>,<no. of pages>

Parameters:

Parameter Description
<file name> File name with indication of highest version. For version (v) see rule 3 of @CREATE-NEW-VERSION (default type = :DATA).
<page address> Page number on the device where the file is to start (octal value, 1-).
<no. of pages> Size of the contiguous file area (decimal value, 1-).

Rules:
1. Permitted for all users.
2. The allocated area must not be already in use.

Example:
@ALLOCATE-NEW-VERSION FILE-3;2,200,8

Version 2 of the contiguous file FILE-3 is created and allocated at address 2008 in default directory. Its size is 810 pages.


Page 32

ALTOFF

Function:

To reset 2-bank mode.

Related SINTRAN III commands: ALTON
CHANGE-BACKGROUND-SEGMENT-SIZE

Format:

ALTOFF

Parameters:

None.

Rules:

  1. Permitted for all users.

Page 33

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aALTON

Function: To set 2-bank mode.

Related commands: Related SINTRAN III commands: ALTOFF
CHANGE-BACKGROUND-SEGMENT-SIZE

Format: ALTON

Parameters: None.

Rules: 1. Permitted for all users.

Norsk Data ND–60.128.S EN


Page 34

APPEND-BATCH

Function:

Append a batch job to the batch queue.

Related SINTRAN III commands: APPEND-REMOTE
BATCH
ENTER
MODE

Format:

@APPEND-BATCH ,,

Parameters:

Parameter Description
<batch no.> batch processor number as returned from @BATCH or @LIST-BATCH-PROCESS.
<input file> name of a file containing one or more batch jobs (default type = :SYMB).
<output file> name of file to which the output is appended (default type = :SYMB).

Rules:

  1. Permitted for all users.
  2. <Input file> must have read access for all users with jobs on it and for the user SYSTEM.
  3. <Output file> must have write append access for all users with jobs on the corresponding <input file>.
  4. In a batch job, logical device number 1 means the <input file>/<output file> pair is in use.
  5. The command is only valid if the batch processor is started (see @BATCH).
  6. The batch file must be terminated with double escape.

Example:

@APPEND-BATCH 1,JOB-1,LINE-PRINTER

The batch input file JOB-1:SYMB is appended to batch processor 1. Output is appended to LINE-PRINTER.

Norsk Data ND-60.128.5 EN


Page 35

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aAPPEND-REMOTE

Function:
Append a batch input file to the remote batch queue for a remote computer. This is used for remote job entry (RJE) to a host computer.

Related commands:
Related SINTRAN III commands: APPEND-BATCH
DELETE-REMOTE-QUEUE-ENTRY
LIST-REMOTE-QUEUE

Format:
@APPEND-REMOTE <remote computer>,<input file>

Parameters:

Parameter Description
<remote computer> Peripheral file name denoting the host computer. Standard names are IBM, CDC, UNIVAC and HONEYWELL-BULL (default type = REM).
<input file> Name of the file containing one or more batch jobs.

Rules:

  1. Permitted for all users.
  2. <input file> must have read access for user RT.

Example:
@APPEND-REMOTE UNIVAC,JOB-1

The batch input file JOB-1 is appended to the batch queue for the remote computer UNIVAC.


Page 36

APPEND-SPOOLING-FILE

Function

Append a spooling queue entry to a spooling queue. When this entry is processed by a spooling program, one or more copies of the file will be printed.

Related SINTRAN III commands: - DEFINE-SPOOLING-CONDITIONS - LIST-SPOOLING-QUEUE

Related SINTRAN III Monitor calls: - APSPF (MON 240) - SPCLO (MON 40)

Format

@APPEND-SPOOLING-FILE <peripheral file name>,<file name>,
<no. of copies>,<text>[,<printing message?>]

Parameters

Parameter Description
<peripheral file name> Name of peripheral file associated with spooling program.
<file name> The file to be appended.
<no. of copies> Number of output copies required (decimal value, default = 1).
<text> Any printable characters terminated by an apostrophe '. The text is printed on the error device when file output is started. If no text is given ' alone must be given.
<printing message?> YES = wait for a @START-PRINT command after printing <text>. This specification overrides @DEFINE-SPOOLING-CONDITIONS. NO = the text is printed on the error device only if @DEFINE-SPOOLING-CONDITIONS specifies print (default = NO).

Rules

  1. Permitted for all users.
  2. If no <text> is specified, the last parameter is ignored.
  3. The parameter <file name> may specify files on a remote computer. The file specification may contain the following parameters:

    system(user:password:project)).(directory:user)file:type;version
    

Example

@APPEND-SPOOLING-FILE LINE-PRINTER,F-1,,MOUNT FORM-1',YES

One copy of the file F-1 is appended to the spooling queue of LINE-PRINTER. The message "MOUNT FORM-1" is output on the error device before the printing starts. The spooling program then waits for @START-PRINT.


Norsk Data ND-60.128.5 EN


Page 37

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aBACKSPACE-PRINT

Function:
Causes the spooling program to repeat the printing of the specified pages or lines and then continue to the end of the file.

Related commands:
Related SINTRAN III commands: FORWARD-SPACE-PRINT
RESTART-PRINT
START-PRINT
STOP-PRINT

Format:
@BACKSPACE-PRINT <peripheral file name>,<no. of pages>,<no. of lines>

Parameters:

Parameter Description
<peripheral file name> Spooling device name.
<no. of pages> Number of pages to backspace.
<no. of lines> Number of lines to backspace (decimal value, default = 0).

Rules:

  1. Permitted only for user SYSTEM and the user who appended the current print file to the queue.
  2. Valid only when spooling is started and printing has been stopped by @STOP-PRINT.
  3. The number of lines per page may be changed by @DEFINE-SPOOLING-CONDITIONS.

Example:

@STOP-PRINT LINE-PRINTER
@BACKSPACE-PRINT LINE-PRINTER,2,.
@START-PRINT LINE-PRINTER

The spooling output for LINE-PRINTER is stopped and output is resumed, starting two pages back.

Norsk Data ND-60.128.5 EN


Page 38

aBATCH

Function:

Start a passive batch processor.

Related SINTRAN III commands:
ABORT-BATCH
APPEND-BATCH
LIST-BATCH-PROCESS

Format:

@BATCH []

Parameters:

<batch number> Start the batch process indicated. Default value is the first batch process not started.

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. The response is: BATCH NUMBER = n, where n is the decimal number of this batch processor. The number is used to identify this batch processor in other commands.
  3. If no passive batch processor is available an error message is given.
  4. When a batch processor is started, it enters the idle state because the batch queue is empty. It is activated by the first @APPEND-BATCH command.
  5. If the optional parameter is used, the corresponding batch processor will start. Otherwise the first passive batch processor will be activated.

Example:

@BATCH  
BATCH NUMBER = 2  
Batch processor no. 2 is activated. (Batch processor 1 is already active.)


Page 39

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@CC

Function:
Comment. The command or text which follows has no effect. Normally used in batch or mode files.

Related commands:
Related SINTRAN Service Program commands: CC
Related ND-500 Monitor commands: CC

Format:
@CC

Parameters:
<text> any printable characters.

Rules: 1. Permitted for all users. 2. There should be a space between the second C and the text.

Norsk Data ND-60.128.5 EN


Page 40

@CHANGE-BACKGROUND-SEGMENT-SIZE

Function:

Change segment size for a particular background program.

  • Related SINTRAN III commands:
    • ALTOFF
    • ALTON
  • Related SINTRAN III Monitor calls:
    • ALTOF (MON 34)
    • ALTON (MON 33)

Format:

@CHANGE-BACKGROUND-SEGMENT-SIZE <segment>,<no. of pages>

Parameters:

  • <segment (name or number)>
    Must be a segment identification: segment number or segment name for a background segment.
  • <background segment size in pages>
    Must be 128 or 64 (decimal value, default is 128).

Rules:

  1. Permitted only for user SYSTEM.
  2. This command must be executed after @INITIALIZE-BACKGROUND-PROGRAMS.
  3. A 64K segment is automatically re-allocated if there is not enough space on the segment file for a 128K segment.

Example:

@CHANGE-BACKGROUND-SEGMENT-SIZE 250,64
The background segment number 250a is set to 64 pages.


Page 41

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCHANGE-BIT-FILE

Function: Change a block in the bit file of a directory.

Related commands: Related SINTRAN III commands: DUMP-BIT-FILE

Format: @CHANGE-BIT-FILE <directory name>,<block no.> (subcommands)

Parameters: - <directory name> - <block no.> see rule 3 below (decimal value, default = 0).

Rules: 1. Permitted only for user SYSTEM. 2. Should not be used in batch or mode jobs. 3. The subcommands must follow rule 3 given in @LOOK-AT. Terminate subcommands with a full stop. 4. The bit file is divided into 208 word blocks. <address> in subcommands is relative address within block (0 - 178).

Example:

@CHANGE-BIT-FILE PACK-ONE,5
5/177777 157777
2000 .
@

Norsk Data ND–60.128.5 EN


Page 42

aCHANGE-DIRECTORY-ENTRY

Function:

Change the contents of the directory entry on a device unit.

Related SINTRAN III commands: DUMP-DIRECTORY-ENTRY

Format:

@CHANGE-DIRECTORY-ENTRY <device name>,<unit>[,<'F' or 'R'>,<subunit>]
(subcommands)

Parameters:

Parameter Description
<device name> Device name, see appendix F for a list of legal device names.
<unit> Device unit number (0-3).
<‘F’ or ‘R’> F (for fixed) or R (for removable) part of a disk. This parameter only applies to disks which have both a fixed and a removable part.
<subunit> Subunit number. This parameter only applies to disks which are subdivided into several parts or directories (0-5).

Rules:

  1. Permitted only for user SYSTEM.
  2. Should not be used in batch or mode jobs.
  3. The directory must not be entered.
  4. <‘F’ or ‘R’> is only used for fixed or removable cartridge disk.
  5. <subunit> is only required on logically sub-divided disks.
  6. Note that if you give an erroneous disk type as device type (this may happen, for example, if your system has different disk types as different units and you specify the wrong unit), the disk will enter fault state and the system will hang.
  7. The parameter <unit> is now always required.
  8. The subcommands must follow the rules given for @LOOK-AT. Terminate subcommands with a full stop. <address> is relative address in the range 0 - 178.

Example:

@CHANGE-DIRECTORY-ENTRY DISC-10MB-1,0,R
17/ 33 20
1000 .
@
Change the number of unreserved pages from 33ₐ to 20ₐ.

Norsk Data ND-60.128.5 EN


Page 43

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCHANGE-OBJECT-ENTRY

Function:
Change the specified object entry.

Related commands:
Related SINTRAN III commands: DUMP-OBJECT-ENTRY
LIST-FILES

Format:
@CHANGE-OBJECT-ENTRY [<directory name>:]<user name>,<object no.> (subcommands)

Parameters:

Parameter Description
<directory name>:<user name> the user name (and directory) of the file.
<object no.> the object number of the file (decimal value, default = 0).

Rules:

  1. Permitted only for user SYSTEM.
  2. Should not be used in batch or mode jobs.
  3. The subcommands must follow rule 3 given for @LOOK-AT. Terminate subcommands with a full stop. <address> is relative address in the range 0 to 37₈.
  4. If no <directory name> is specified, the user's main directory is used.

Example:

@CHANGE-OBJECT-ENTRY P-T: GUEST, 15
35/ 1000 2000
2000
@

Change the maximum byte pointer in file no. 15 of user GUEST from 1000 to 2000.


Page 44

aCHANGE-PAGE

Function:
Change a page in a directory.

Related commands:
Related SINTRAN III commands: DUMP-PAGE

Format:
@CHANGE-PAGE <directory name>,<page address> (subcommands)

Parameters:

Parameter Description
<directory name> Name of the directory.
<page address> Address within the directory (octal value, default = 0).

Rules:

  1. Permitted only for user SYSTEM.
  2. Should not be used in batch or mode jobs.
  3. The subcommands must follow rule 3 given for @LOOK-AT. Terminate subcommands with a full stop. <address> is relative address within the page in the range 0 to 1777₈.

Example:

@CHANGE-PAGE PACK-TWO,100

400/ 1000 2000
2000 .
@

Change location 400 on page 100 in directory PACK-TWO from 1000 to 2000.


Page 45

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCHANGE-PASSWORD

Function: Change user password.

Related commands: Related SINTRAN III commands: CLEAR-PASSWORD

Format: @CHANGE-PASSWORD ,

Parameters: - <old password> (mandatory). - <new password> (default = no password).

Rules: 1. Permitted for all users. 2. The password is only changed if the old one is specified correctly. 3. A password may consist of printable and control characters, except carriage return. 4. The parameters are not echoed on the terminal if the command is entered on more than one line (see example). 5. Only the password of the logged-in user may be changed.

Example:

@CHANGE-PASSWORD
OLD PASSWORD: [old password is entered]
NEW PASSWORD: [new password is entered]
@

Page 46

@CHANGE-USER-ENTRY

Function:

Change a user entry in a directory.

Related SINTRAN III commands: DUMP-USER-ENTRY

Format:

@CHANGE-USER-ENTRY <directory name>,<user no.> (subcommands)

Parameters:

Parameter Description
<directory name> Directory name of the directory containing the specific user (default = main directory)
<user no.> Number of the user found by @USER-STATISTICS (decimal value, default = 0).

Rules:

  1. Permitted only for user SYSTEM.
  2. Should not be used in batch or mode jobs.
  3. The subcommands must follow rule 3 given for @LOOK-AT. Terminate subcommands with a full stop. <address> is relative address in the range 0 to 378.

Example:

@CHANGE-USER-ENTRY PACK-TWO,19

20/ 1200 400
0
@

Change the number of pages used by user 19 in PACK-TWO from 1200₈ to 400₈.


Page 47

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@CLADJ

Function:

Adjust internal clock.

Related commands:

Related SINTRAN III commands: | DATCL |
UPDAT

Related SINTRAN III Monitor calls: | CLADJ (MON 112) |

Format:

@CLADJ <no. of time units>,<time unit>

Parameters:

Parameter Description
<no. of time units> time adjustment as a positive or negative number (decimal value).
<time unit> see ØSET.

Rules:

  1. Permitted only for user RT and SYSTEM.
  2. The software clock and calendar are set forward if the adjustment is positive or stand still for the specified period if it is negative.
  3. The time queue is checked and the schedule of all programs started by ØABSET is corrected.
  4. The command adjusts the panel clock.

Example:

@CLADJ -25,2

The internal clock will stand still for 25 seconds.


Page 48

@CLEAR-BATCH-QUEUE

Function:
Delete all entries in a batch queue.

Related commands:
Related SINTRAN III commands:
ABORT-BATCH
DELETE-BATCH-QUEUE-ENTRY
LIST-BATCH-PROCESS
LIST-BATCH-QUEUE

Format:
@CLEAR-BATCH-QUEUE

Parameters:
\<batch process number> The number of a batch process.

Rules:

  1. Permitted for user SYSTEM only.

Norsk Data ND–60.128.5 EN


Page 49

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCLEAR-DEFAULT-DIRECTORY

Function:

Clear the specified directory from the list of entered directories which are marked as default.

Related SINTRAN III commands: CLEAR-MAIN-DIRECTORY
SET-DEFAULT-DIRECTORY

Format:

@CLEAR-DEFAULT-DIRECTORY

Parameters:

an entered directory.

Rules:

  1. Only user SYSTEM may clear the default status of a directory on a hard disk. Any user may clear the default status of a floppy disk.
  2. A default directory can only be cleared if no user is logged in with this directory as default.
  3. A main directory is always default, and its main status must be cleared before its default status can be cleared.

Page 50

aCLEAR-DEVICE

Function:
Execute a clear device operation (IOX instruction). This command can for example be used to stop the line printer if an attempt is made to print non-alphanumeric information, or it can be used to stop a search for a nonexistent EOF mark on a magnetic tape and prevent the tape from winding off.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION CLEAR-DEVICE
EXECUTE-IOX
IOSET

Format:
@CLEAR-DEVICE

Parameters:
<logical device no.> logical number of a peripheral device (octal value).

Rules:
1. Permitted only for user SYSTEM.
2. @CLEAR-DEVICE on a magnetic tape operates on the magnetic tape controller, that is, if several magnetic tape stations are connected to the same controller, they are all cleared through one @CLEAR-DEVICE command.

Example:
@CLEAR-DEVICE 22

Clear the Versatec printer on DMA.


Page 51

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCLEAR-MAIN-DIRECTORY

Function:

Clear the specified directory from the list of entered directories marked as main.

Related commands:

Related SINTRAN III commands: CLEAR-DEFAULT-DIRECTORY
SET-MAIN-DIRECTORY

Format:

@CLEAR-MAIN-DIRECTORY

Parameters:

an entered directory.

Rules:

  1. Only executable by user SYSTEM.
  2. After clearing the main status of a directory, it is still left as a default directory.
  3. No user must be logged in with this directory as main directory.

Page 52

CLEAR-PASSWORD

Function:
Clear the password of a user.

Related commands:
Related SINTRAN III commands: CHANGE-PASSWORD

Format:
@CLEAR-PASSWORD

Parameters:

Parameter Description
<user name> name of the user.

Rules: 1. Permitted only for user SYSTEM. 2. User SYSTEM should not forget his/her password!

Example:
@CLEAR-PASSWORD GUEST

The password for user GUEST is cleared.


Page 53

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCLEAR-REENTRANT-SEGMENT

Function:
To clear a specified segment, that is, release the space on the segment file occupied by that segment. The segment number will then be free again.

Related commands:
Related SINTRAN III commands: LOAD-REENTRANT-SEGMENT
Related RT-Loader commands: CLEAR-SEGMENT

Format:
@CLEAR-REENTRANT-SEGMENT

Parameters:
The name or number of the segment.

Rules:
1. Permitted only for user SYSTEM.


Page 54

aCLOSE-FILE

Function:
Close one or more files opened by currently logged-in user.

Related commands:
Related SINTRAN III commands: OPEN-FILE
RTCLOSE-FILE
Related SINTRAN III Monitor calls: CLOSE (MON 43)
SPCLO (MON 40)

Format:
@CLOSE-FILE

Parameters:

Description
> 0 close the file
= -1 close all user files not permanently open
= -2 close all user files (octal value)

Rules:

  1. Permitted for all users.
  2. The file with must be opened in order for it to be closed.
  3. CLOSE -1 sets the block size of all permanently opened scratch files to 4008.

Example:

@CLOSE 101

Close file number 1018.

Norsk Data ND-60.128.5 EN


Page 55

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCOLD-START

Function:
Perform a cold start.

Related commands:
Related SINTRAN III commands:

RESTART-SYSTEM
STOP-SYSTEM

Related SINTRAN Service Program commands:

RESET-COLDSTART-MODE-FILE
SET-COLDSTART-MODE-FILE

Format:
@COLD-START [\<terminal number>]

Parameters:
\<terminal number> the terminal indicated will be treated as console terminal during the start-up process.

Rules:

  1. Permitted only for user SYSTEM.
  2. The contents of the save-areas is transferred to the image-area on SEGFILE0 and to the other "run"-segments, and the system is started. The contents of user segments and reentrant segments must be built up again by running the mode file HENT-MODE, and using the DUMP-REENTRANT and/or DUMP-PROGRAM-REENTRANT commands.
  3. If the system includes separate processors (ND-500 part, HDLC, etc.) these should be stopped before COLD-START.

Page 56

aCONCT

Function:

Connect an RT-program to the interrupt from a device. The RT-program is put in the execution queue when the device gives an interrupt.

Related SINTRAN III commands: DSCNT
Related SINTRAN III Monitor calls: CONCT (MON 106)

Format:

@CONCT <program name>,<logical device no.>

Parameters:

Parameter Description
<program name> RT-program name or RT-description address (octal value, default = user's terminal background program).
<logical device no.> (decimal value).

Rules:

  1. Permitted only for user RT and SYSTEM.
  2. Several units may be connected to one program.

Example:

@CONCT KLOKK,410B

The RT-description of KLOKK will be put in the execution queue every time an interrupt is given from device 410B.


Page 57

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCONNECT-FILE

Function:
Open a mass-storage file with a specified number.

Related commands:
Related SINTRAN III commands: OPEN-FILE, RTCONNECT-FILE

Format:
@CONNECT-FILE ,,

Parameters:
(default type = :SYMB).
a logical device number (octal value, 100-177).
see @OPEN-FILE.

Rules:
1. Permitted for all users.
2. Valid only if file number has not been opened previously.
3. See @OPEN-FILE, rules 2, 4, 5 and 6.

Example:
@CONNECT-FILE F-1,120,R

File F-1:SYMB is opened for read and given file number 1208.


Norsk Data ND-60.128.5 EN


Page 58

aCONTINUE

Function:

Restart the execution of a program previously started by @RECOVER. The program is restarted at the specified in @DUMP.

Related SINTRAN III commands:
GOTO-USER
RECOVER

Format:

@CONTINUE

Parameters:

None.

Rules:

  1. Permitted for all users.
  2. Cannot be used to restart: a. DMAC
    b. SINTRAN-Service-Program
    c. MAIL
    d. RT-Loader
    e. A program started with @PLACE-BINARY and @GOTO-USER or @LOAD-BINARY.
    f. A program running on the ND-500.

Page 59

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCOPY

Function:
Copy data to a destination file from a source file. The file is copied byte by byte.

Related commands:
Related SINTRAN III commands: COPY-FILE

Format:
@COPY ,

Parameters:

Parameter Description
a file to which data is copied. It may be any type of file (default type = :SYMB).
a file from which data is copied (default type = :SYMB).

Rules:
1. Permitted for all users. 2. If the is a mass-storage file with a hole, the copying will stop at the hole and the error message NO SUCH PAGE will be given. 3. The file is copied byte for byte up to the value of the maximum byte pointer. 4. Both and may specify files on a remote computer. The file specifications may contain the following parameters:

system(user(password:project)).(directory:user)file:type;version

Norsk Data ND–60.128.5 EN


Page 60

aCOPY-DEVICE

Function:

Copy all pages to the destination device from the source (mass-storage) device.

Related SINTRAN III commands: COPY-DIRECTORY, SAVE-DIRECTORY

Format:

@COPY-DEVICE <destination device name>,<unit>,[<'F' or 'R'>,]
             <source device name>,<unit>[,<'F' or 'R'>]

Parameters:

Parameter Description
<destination device name> Device name, see appendix F for a list of legal device names.
<unit> Device unit number (0-3, default 0).
<'F' or 'R'> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
<source device name> Device name, see appendix F for a list of legal device names.
<unit> Device unit number (0-3, default 0).
<'F' or 'R'> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.

Rules:

  1. Permitted only for user SYSTEM.
  2. Valid only for devices which can contain directories.
  3. A directory must exist on the source device.
  4. Destination device must not be an entered directory.
  5. Note that if you give an erroneous disk type as device type (this may happen, for example, if your system has different disk types as different units and you specify the wrong unit), the disk will enter fault state and the system will hang.
  6. The parameters <unit> are now always required.

Example:

@COPY-DEVICE DISC-75MB-2,DISC-75MB-1

Copy all pages from one device to the other.


Page 61

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCOPY-DIRECTORY

Function:
Copy all files onto the destination directory from the source directory.

Related commands:
Related SINTRAN III commands: COPY-DEVICE

Format:
@COPY-DIRECTORY ,

Parameters:

Parameter Description
name of the destination directory.
name of the source directory.

Rules:

  1. Permitted only for user SYSTEM.
  2. The users and the file names are identical in both directories after the command is executed.
  3. All files must be closed during the copying. All spooling processes should be stopped.

Example:

@CREATE-DIRECTORY PACK-TWO,DISC-33MB-2.,
@ENTER-DIRECTORY PACK-TWO,DISC-33MB-2.,
@COPY-DIRECTORY PACK-TWO,PACK-ONE

Copy all users and all files in PACK-ONE onto PACK-TWO.


Page 62

aCOPY-FILE

Function:
Copy data to a destination file from a source file. The file is copied page by page if both files are mass-storage files.

Related commands:
Related SINTRAN III commands: COPY

Format:
@COPY-FILE ,

Parameters:
| Parameter | Description | |--------------------|------------------------------------------------------------------------| | | a file to which data is copied (default type = :SYMB). | | | a file from which data is copied (default type = :SYMB). |

Rules:

  1. Permitted for all users.
  2. If the is a peripheral file and the mass-storage is an indexed file with a hole, copying stops at the hole and the error message NO SUCH PAGE is given.
  3. If both files are mass-storage files, the file is copied including holes.
  4. All pages allocated to the are copied, except if there are zero bytes in the file.
  5. If the does not exist, it is created by giving the name in quotes. It will be an indexed file.
  6. Both and may specify files on a remote computer. The file specifications may contain the following parameters:

    system(user(password:project)).(directory:user)file:type;version

Norsk Data ND-60.128.5 EN


Page 63

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III Commands

aCREATE-DIRECTORY

Function:
Create a new directory on a disk (or part of a disk). Any old directory which may have been on the disk is destroyed, and the files on it are lost. The directory name, as part of the directory entry, is written to the disk. The bit file area is allocated by the file system in the middle of the directory (unless the user specifies a page address) starting from the beginning of a track. The bit file pages are tested by performing write and compare with three standard test patterns before being cleared. If there is a bad page in the bit file area the file system automatically locates the bit file on an adjacent track.

Using default position for the bit file restricts the maximum length of a contiguous file to half the size of the disk, but the user can specify another location for the bit file to get more contiguous space. In the case of ECC disks the disk driver tests the disk to see if it has been formatted with spare-track re-allocation (and sets the TYPE C bit in the big disk data field). If yes, the testing of all pages on the disk is skipped. If the disk has not been formatted with spare-track re-allocation, or on other disk types, every page is tested by performing a read and compare from the disk. Any page in error is marked as used in the bit map.

Related Commands:
Related SINTRAN III commands: ENTER-DIRECTORY, RENAME-DIRECTORY

Format:

@CREATE-DIRECTORY <directory name>,<device name>,<unit>[,<‘F’ or ‘R’>][,<subunit>],<bit file address>

Parameters:

Parameter Description
<directory name> the name to be written onto the new directory. A maximum of 16 alphanumeric characters, including the hyphen -, is legal.
<device name> device name, see appendix F for a list of legal device names.
<unit> device unit number (0-3, default 0).
<‘F’ or ‘R’> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
<subunit> subunit number. This parameter only apply to disks which are subdivided into several parts or directories (0-5).
<bit file address> specified if the user wants to place the bit file in a particular area. (octal value, default = the file system will select a medium dependent optimal value.) The System Supervisor manual contains more information on this parameter.

Norsk Data ND–60.128.5 EN


Page 64

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Rules:

  1. Permitted only for user SYSTEM when hard disk is specified, for all users when floppy disk.
  2. Fixed or removable is specified only for 10, 30, 60, 90Mb cartridge disks.
  3. Note that if you give an erroneous disk type as device type (this may happen, for example, if your system has different disk types as different units and you specify the wrong unit), the disk will enter fault state and the system will hang.
  4. The parameter <unit> is now always required.

Example:

@CREATE-DIRECTORY PACK-ONE,DISC-10MB-1,1,F

A directory named PACK-ONE is created on cartridge disk controller 1, unit 1, fixed pack.

@CREATE-DIRECTORY DIR-1,FLOPPY-DISC-1,0

A directory with the name DIR-1 is created on the floppy disk controller 1, unit 0.


Norsk Data ND-60.128.5 EN


Page 65

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCREATE-FILE

Function:
Create one or more versions of a file. The file will be contiguous or indexed depending on <no. of pages>.

Related commands:
Related SINTRAN III commands: ALLOCATE-FILE
CREATE-NEW-VERSION
OPEN-FILE
RENAME-FILE

Format:
@CREATE-FILE <file name>,<no. of pages>

Parameters:

Parameter Description
<file name> Optional version number specifies number of versions to be created (default type = .DATA). File type should be specified, if not: .DATA (default) is assumed.
<no. of pages> 0: create empty file, the file will be indexed the first time something is written to it, or be contiguous if expanded with @EXPAND-FILE. > 0: create contiguous file with the specified no. of pages (decimal value, default = 0).

Rules:

  1. Permitted for all users.
  2. If there are not enough pages for all versions, the system creates as many as possible and gives an error message. To find the number created, use @LIST-FILES.
  3. Contiguous files are positioned in the highest page address range possible on the directory.
  4. Contiguous files are more efficient than indexed files. If contiguous files can be used, performance may be improved.

Example:
@CREATE-FILE F-1,0

One version of the indexed file F-1:DATA is created in default directory.


Page 66

aCREATE-FRIEND

Function:

Declare a user as a friend to the current user. This friendship is not reciprocal, that is, you cannot create yourself as a friend of another user.

Related SINTRAN III commands: - DELETE-FRIEND - LIST-FRIENDS - SET-FRIEND-ACCESS - SET-INITIAL-FRIEND-ACCESS

Format:

@CREATE-FRIEND <user name>

Parameters:

<user name> name of a user in the same main directory as you.

Rules:

  1. Permitted for all users.
  2. A user can have a maximum of eight friends, and all must belong to the same main directory as him/her.
  3. When the friend is created, his/her general default file access to the terminal user's files is read, write and append (RWA). This can be changed by @SET-FRIEND-ACCESS. Friends can be given restricted access to a specific file by @SET-FILE-ACCESS.
  4. Access given to a friend overrides public access, even if it is more limited than public access.

Example:

@CREATE-FRIEND GUEST

The user GUEST is created as a friend to the terminal user and is given file access RWA by default.


Page 67

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCREATE-NEW-VERSION

Function:
Create one or more new versions of an existing file.

Related commands:
Related SINTRAN III commands: ALLOCATE-NEW-VERSION
CREATE-FILE

Format:
@CREATE-NEW-VERSION <file name>,<no. of pages>

Parameters:
<file name> for version (v) see rule 3 below (default type = :DATA).
<no. of pages> see @CREATE-FILE.

Rules:

  1. Permitted for all users with directory access (D) to the user's file space.
  2. See @CREATE-FILE, rule 2.
  3. If version v already exists, one new version is created and inserted as this version. The old version is renumbered as v + 1 and so on. If v is higher than the highest version existing (= w) the versions w + 1, w + 2, ....., v are created. Default version is w + 1.
  4. A new version can be created by other commands (for example @OPEN-FILE). The file version number is then enclosed in quotes.

Example:
@CREATE-NEW-VERSION F-1;4,0

Versions 2, 3 and 4 of the indexed file F-1 are created.


Norsk Data ND-60.128.5 EN


Page 68

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aCREATE-USER

Function:
Create a new user in a directory, or define a new user name in a directory.

Related commands:
Related SINTRAN III commands: DELETE-USER
GIVE-USER-SPACE
RENAME-USER
TAKE-USER-SPACE

Format:
@CREATE-USER [:]

Parameters:
: (default directory is user SYSTEM's main directory).

Rules:

  1. Permitted only for user SYSTEM when hard disk is specified, for all users when floppy disk.
  2. A user must be created on a main directory before he is created in any other directory.
  3. If the user needs space in the directory, @GIVE-USER-SPACE must be used.

Example:
@CREATE-USER PACK-TWO:GUEST

The user GUEST is created in directory PACK-TWO.


Page 69

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DATCL

Function: Print the current setting of the clock and the date.

Related commands:

Related SINTRAN III commands Related SINTRAN III Monitor calls
CLADJ CLOCK (MON 113)
UPDAT TIME (MON 11)

Format: @DATCL

Parameters: None.

Rules: 1. Permitted for all users.

Example: @DATCL
09.15.30 21 DECEMBER 1984

Norsk Data ND-60.128.5 EN


Page 70

aDEFAULT-SUBSYSTEM-DISABLE

Function

Disable execution of command string defined by @DEFINE-DEFAULT-SUBSYSTEM.

Related SINTRAN III commands: DEFAULT-SUBSYSTEM-ENABLE
DEFINE-DEFAULT-SUBSYSTEM
LIST-DEFAULT-SUBSYSTEM

Format

@DEFAULT-SUBSYSTEM-DISABLE

Parameters

Parameter Description
<terminal number> the logical device number of the terminal which is no longer to execute a default command string.

Rules

  1. Permitted for all users.
  2. Only user SYSTEM can disable terminals other than their own.

Page 71

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEFAULT-SUBSYSTEM-ENABLE

Function:

Enable execution of command string defined by @DEFINE-DEFAULT-SUBSYSTEM

Related commands:

Related SINTRAN III commands: DEFAULT-SUBSYSTEM-DISABLE
DEFINE-DEFAULT-SUBSYSTEM
LIST-DEFAULT-SUBSYSTEM

Format:

@DEFAULT-SUBSYSTEM-ENABLE

Parameters:

| | the logical device number of the terminal which is to execute a default command string. |

Rules:

  1. Permitted for all users.
  2. Only user SYSTEM can enable terminals other than their own.

Page 72

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DEFINE-DEFAULT-SUBSYSTEM

Function:

This command is used to define a (global) command string, normally a recover command, to enter a user program immediately after LOGIN, that is, before @ and after OK. Although the command string is global it can be enabled and disabled for each terminal individually.

Related commands:

Related SINTRAN III commands:
DEFAULT-SUBSYSTEM-DISABLE
DEFAULT-SUBSYSTEM-ENABLE
LIST-DEFAULT-SUBSYSTEM

Format:

@DEFINE-DEFAULT-SUBSYSTEM

Parameters:

Parameter Description
Command string or subsystem name to be executed at LOGIN.

Rules:

  1. Permitted only for user SYSTEM.

Norsk Data ND-60.123.5 EN


Page 73

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DEFINE-ESCAPE-CHARACTER

Function:
Define the "user break" key for a specified terminal.

Related commands:
Related SINTRAN III commands: DEFINE-LOCAL-CHARACTER
DISABLE-ESCAPE-FUNCTION
ENABLE-ESCAPE-FUNCTION

Format:
@DEFINE-ESCAPE-CHARACTER <terminal number>,<value of "escape" char.>

Parameters:

Parameter Description
<terminal number> must be a terminal (decimal value, default = own terminal).
<value of "escape" char.> ASCII value of new character to be the break character (octal, default = 33 escape).

Rules:

  1. Permitted only for user SYSTEM.
  2. Valid until the next time SINTRAN is started.

Example:
@DEFINE-ESCAPE-CHARACTER 29,30

The escape character for terminal 29 is changed to 30₈ (cancel).


Page 74

@DEFINE-HISTOGRAM

Function:
Specify histogram parameters.

Related commands:
Related SINTRAN III commands: DEFINE-SYSTEM-HISTOGRAM
PRINT-HISTOGRAM
RT-PROGRAM-LOG
START-HISTOGRAM
STOP-HISTOGRAM

Format:
@DEFINE-HISTOGRAM <program name>,<start address>,<interval>

Parameters:

Parameter Description
<program name> the program being measured (default = background program of user's terminal).
<start address> the virtual memory address where the measurements begin, that is, the starting address of the first interval (octal value, default = 0).
<interval> the number of words in each of the 64 intervals. The intervals are contiguous (octal value).

Rules:

  1. Permitted for all users if <program name> is background program. Otherwise permitted only for users RT and SYSTEM.
  2. The program is sampled at every basic time unit.

Example:

@DEFINE-HISTOGRAM,,100,10,

A histogram of the user's background program is to be produced. The range to be measured is 100₈ to 1077₈, divided into 64₁₀ intervals of 10₈ words.


Page 75

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEFINE-LOCAL-CHARACTER

Function:
Defines the local character for a specified terminal.

Related commands:
Related SINTRAN III commands:
DEFINE-ESCAPE-CHARACTER
DISABLE-ESCAPE-FUNCTION
ENABLE-ESCAPE-FUNCTION

Related CONNECT-TO subcommands:
CHANGE-LOCAL-CHARACTER
LIST-LOCAL-CHARACTER

Format:
@DEFINE-LOCAL-CHARACTER ,

Parameters:
| Parameter | Description |
|----------------------------|--------------------------------------------|
| | (default = own terminal). |
| | (octal value, default = 0). |

Rules:
1. Permitted for user SYSTEM only.
2. Unlike CHANGE-LOCAL-CHARACTER the effect of this command survives after LOGOUT.
3. The defined local character will not survive a warm start.
4. If you want the defined local character to be set permanently, use SINTRAN-SERVICE-PROGRAM subcommand CHANGE-DATAFIELD, as the local character is stored in the 8 most significant bits in displacement CESC. The 8 least significant bits hold the octal value of the escape character.

Norsk Data ND-60.128.5 EN


Page 76

@DEFINE-MASS-STORAGE-UNIT

Function

Define a mass-storage device in the directory table. This is used to reserve a directory index for a device even if the device is not to be entered yet. On standard versions of SINTRAN III/VSX version K, devices are not allocated a directory index at generation time, but are placed in the directory table when the device is defined. Defining a device is done either by entering it (@ENTER-DIRECTORY), or by this command.

Related SINTRAN III commands: DELETE-MASS-STORAGE-UNIT
LIST-MASS-STORAGE-UNITS

Format

@DEFINE-MASS-STORAGE-UNIT <device name>,<device unit> [,<fixed(F) or removable(R)>] [,<device sub-unit>]

Parameters

Parameter Description
<device name> Device name, see appendix F for a list of legal device names.
<device unit> Device unit number (0-3, default 0).
<fixed(F) or removable(R)> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
<device sub-unit> Subunit number. This parameter only apply to disks which are subdivided into several parts or directories (0-5).

Rules

  1. A definition of a device in the directory table does not survive a warm start.
  2. This command is restricted to user SYSTEM.

Page 77

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEFINE-REENTRANT-PROGRAM

Function:
Define a new entry in an already-built reentrant segment. The segment may be referenced by either its no. or name.

Related commands:
Related SINTRAN III commands: DUMP-PROGRAM-REENTRANT
DUMP-REENTRANT
LOAD-REENTRANT-SEGMENT

Format:
@DEFINE-REENTRANT-PROGRAM <program name>, <start address>, <restart address>, <segment no. or name>

Parameters:

Parameter Description
<program name> the program name of the new entry on the segment.
<start address> the initial start address (octal, default = 0).
<restart address> the address where the program should be reentered by @CONTINUE (octal, default = 0).
<segment no. or name> the no. (octal value) of the segment or the name if given.

Rules:

  1. Permitted only for user SYSTEM.

Example:

@DEFINE-REENTRANT-PROGRAM SECOND-ENTRY, 177777,177777, SEG-NAME

A new entry with start address 177777₈ and restart address 177777₈ is defined on the segment named SEG-NAME.

@DEFINE-REENTRANT-PROGRAM NEW-ENTRY, 11,11,133

A new entry with start and restart address 11₈ is defined on segment number 133₈.

Norsk Data ND-60.128.5 EN


Page 78

@DEFINE-SPOOLING-CONDITIONS

Function:
Define conditions under which spooling operates on a peripheral device.

Related commands:
Related SINTRAN III commands: DEFINE-SPOOLING-FILE-MESSAGE

Format:
@DEFINE-SPOOLING-CONDITIONS ,
               ,
               ,
               

Parameters:

Parameter Description
the peripheral file name of the spooling device.
YES = file names will be printed on the error device when printing starts. Otherwise, NO (default = NO).
YES = automatic @STOP-PRINT between every printing of a file (see @DEFINE-SPOOLING-FILE-MESSAGE). Otherwise, NO (can be YES only if = YES.
number of lines per page as used by the commands @FORWARD-SPACE-PRINT and @BACKSPACE-PRINT (decimal value, default = 68).

Rules:

  1. Permitted only for user SYSTEM.

Example:
@DEFINE-SPOOLING-CONDITIONS LINE-PRINTER,NO,NO,,

Spooling conditions are defined on the peripheral file LINE-PRINTER. Files are output without interruption.


Page 79

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DEFINE-SPOOLING-FILE-MESSAGE

Function:

Define a text to be written on the error device whenever a terminal user's file is printed on the spooling device.

Related commands:

Related SINTRAN III commands: DEFINE-SPOOLING-CONDITIONS

Format:

@DEFINE-SPOOLING-FILE-MESSAGE <text>,

Parameters:

Parameter Description
<text> Text to be written to the error device when printing starts. The text must be terminated by an apostrophe '.
<printing message independent of spooling conditions> YES = print text unconditionally NO = write text only if requested in @DEFINE-SPOOLING-CONDITIONS (def = NO).

Rules:

  1. Permitted for all users.

Page 80

@DEFINE-SYSTEM-HISTOGRAM

Function: Specify parameters for measuring the CPU time spent in different parts of the memory for a particular interrupt level.

Related commands: Related SINTRAN III commands: DEFINE-HISTOGRAM
RT-PROGRAM-LOG

Format: @DEFINE-SYSTEM-HISTOGRAM <level>,<start address>,<interval>

Parameters:

Parameter Description
<level> any interrupt level less than 13 (decimal value).
<start address> (octal value)
<interval> see @DEFINE-HISTOGRAM (octal value).

Rules:

  1. Permitted only for user SYSTEM.
  2. Sampling interval is basic time unit.
  3. If used in conjunction with @RT-PROGRAM-LOG a distribution of interrupt levels 0 - 10 and above is given.

Example:

@DEFINE-SYSTEM-HISTOGRAM 11, 60000, 100

A histogram for interrupt level 11₁₀ is produced. The range measured is 60000₈ to 67777₈, divided into 641₁₀ intervals of 100₈ words.


Page 81

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEFINE-TERMINATION-HANDLING

Function:

Define termination handling for background or RT-programs in case of termination with escape, MON 65 or fatal errors such as executing privileged instructions etc.

Related commands:

Related SINTRAN III commands: Related SINTRAN III Monitor calls:
ENABLE-TERMINATION-HANDLING EDTRM (MON 206)
LIST-TERMINATION-HANDLING
NEXT-TERMINATION-COMMAND

Format:

@DEFINE-TERMINATION-HANDLING ,

Parameters:

Parameter Description
Define termination handling for RT-programs or background programs.
Name of the RT-program to be started or the commands to be executed.

Rules:

  1. In background a (global) set of commands is executed when interactive or mode (not batch) jobs are terminated abnormally.
  2. In background the command is used like @INITIAL-COMMAND. The command buffer pointer is reset and the first command can be defined. If more than one command is to be defined, use @NEXT-TERMINATION-COMMAND.
  3. In RT-termination the name of a user-defined RT-program should be given as a parameter. If enabled, this program will be started whenever a user RT-program terminates.
  4. @MODE cannot be defined as a termination command and if a program is started (by a recover command) this will be the last command executed and termination will not be re-enabled automatically.
  5. Permitted only for user SYSTEM.

Page 82

DELETE-BATCH-QUEUE-ENTRY

Function:
Delete a job waiting in the batch queue.

Related commands:
Related SINTRAN III commands: ABORT-JOB
LIST-BATCH-QUEUE

Format:
@DELETE-BATCH-QUEUE-ENTRY <batch no.>,<input file>,<output file>

Parameters:
| Parameter | Description | |--------------|---------------------------------------------------------------| | <batch no.>| batch processor number as returned from @BATCH. | | <input file>| the file to be deleted. | | <output file>| associated output file in batch queue. |

Rules:
1. Permitted only for user SYSTEM and the owner of the <input file>.
2. Valid only if second and third parameters match with a queue entry. These must be spelled exactly the same way as in @APPEND-BATCH.
3. The currently active batch job must be deleted by @ABORT-JOB.
4. If more than one entry matches, only the first one is deleted.
5. @LIST-BATCH-QUEUE may be used to find the correct spelling of the second and third parameters.

Example:
@DELETE-BATCH-QUEUE-ENTRY 1, JOB-1,LINE-PRINTER

The batch job file JOB-1 is deleted from the queue to batch processor 1 (if matched). LINE-PRINTER was the output device in the corresponding @APPEND-BATCH command.

Norsk Data ND-60.128.5 EN


Page 83

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDELETE-FILE

Function:

Delete a file and release its pages.

Related commands:

  • Related SINTRAN III commands: DELETE-USERS-FILES
  • Related SINTRAN III Monitor calls: MDLFI (MON 54)

Format:

@DELETE-FILE

Parameters:

Parameter Description
An unambiguous file name. The type must be specified (no default type). If a version is specified only that version is deleted (default = all versions).

Rules:

  1. Permitted for all users with directory (D) access to the file.
  2. If version v is deleted, the version numbers of v + 1, v + 2, ... are decreased by 1.

Example:

File FILE-1:DATA;1 exists.

@DELETE-FILE FILE-1:D

The file is deleted.


Page 84

@DELETE-FRIEND

Function:
Remove a user from the list of friends of the current user.

Related commands:
Related SINTRAN III commands: CREATE-FRIEND

Format:
@DELETE-FRIEND

Parameters:
a friend of the current user.

Rules:

  1. Permitted for all users.
  2. Note that may still have the current user as friend, that is, the friend relationship is not reciprocal.

Example:
@DELETE-FRIEND DESADE

The user DESADE is deleted as a friend of the current user.


Page 85

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DELETE-MASS-STORAGE-UNIT

Function:
Delete a definition of a mass-storage device from the directory table.

Related commands:
Related SINTRAN III commands: DEFINE-MASS-STORAGE-UNIT
LIST-MASS-STORAGE-UNITS

Format:
@DELETE-MASS-STORAGE-UNIT \,\
[,\]
[,\]

Parameters:

Parameter Description
\ device name, see appendix F for a list of legal device names.
\ device unit number (0-3, default 0).
\ F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
\ subunit number. This parameter only apply to disks which are subdivided into several parts or directories (0-5).

Rules:

  1. This command is restricted to user SYSTEM.

Page 86

aDELETE-REENTRANT

Function:
Delete a reentrant subsystem. The segment where the reentrant subsystem resides is cleared, as well as the corresponding entry in the reentrant subsystem table.

Related commands:
Related SINTRAN III commands: DUMP-PROGRAM-REENTRANT
DUMP-REENTRANT

Format:
@DELETE-REENTRANT <name>

Parameters:
<name>
name of the subsystem to be deleted.

Rules:
1. Permitted only for user SYSTEM.

Example:
@DELETE-REENTRANT ACCESS

The subsystem named ACCESS is deleted.


Page 87

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDELETE-REMOTE-QUEUE-ENTRY

Function:
Remove a remote batch input file from the remote batch queue to a remote computer. (The file is removed before it is sent to the remote computer.)

Related commands:
Related SINTRAN III commands: APPEND-REMOTE

Format:
@DELETE-REMOTE-QUEUE-ENTRY ,

Parameters:
see @APPEND-REMOTE.
a file name previously given in the @APPEND-REMOTE command (parameter must match exactly the remote batch queue entry and the user name must be given).

Rules:
1. Permitted only for user SYSTEM and the owner of the file.
2. If the queue contains two or more equivalent entries, only the first one will be removed.

Example:
@DELETE-REMOTE-QUEUE-ENTRY UNIVAC, (GUEST) JOB-1:SYMB

The batch input file (GUEST) JOB-1:SYMB is deleted from the batch queue for the host computer UNIVAC.


Page 88

@DELETE-SPOOLING-FILE

Function:
A file is removed from the spooling queue of a spooling device. If it is a spooling file, its pages are released and returned to the pool of free spooling pages and the file is marked as unused.

Related commands:
Related SINTRAN III commands: REMOVE-FROM-SPOOLING-QUEUE

Format:
@DELETE-SPOOLING-FILE <peripheral file name>,<file name>

Parameters:

Parameter Description
<peripheral file name> the spooling device.
<file name> the spooling queue file to be deleted.

Rules:
1. Permitted only for user SYSTEM and the user who appended the file, or if the file was appended by an RT-program, only users SYSTEM and RT.
2. Only the first name matching <file name> is removed.
3. If the file is not a spooling file, the command is equivalent to @REMOVE-FROM-SPOOLING-QUEUE.
4. The parameter <file name> may specify files on a remote computer. The file specification may contain the following parameters:

system(user(password:project)).(directory:user)file:type;version

Example:
@DELETE-SPOOLING-FILE LINE-PRINTER, LINE-PRINTER::10

If the file LINE-PRINTER::10 is in the spooling queue to LINE-PRINTER, it is deleted from the queue; if it is a spooling file, its pages are removed and it exists as an object in the file system with no pages.


Page 89

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@DELETE-USER

Function:
Remove a user from a directory.

Related commands:
Related SINTRAN III commands: CREATE-USER
                                   GIVE-USER-SPACE
                                   LIST-USERS
                                   TAKE-USER-SPACE

Format:
@DELETE-USER [:]

Parameters:
| Parameter | Description | |-------------------------|-----------------------------------------------------------------------------| | : | user to be removed on the particular directory (default directory = the user's main directory). |

Rules:
1. Permitted only for user SYSTEM when hard disk is specified, for all users when floppy disk.
2. Valid only if the user has no files.

Example:
@DELETE-USER USER-ONE

The user USER-ONE is deleted from their main directory.


Page 90

DELETE-USERS-FILES

Function:
Delete one or more of a user's files and release their pages.

Related commands:
Related SINTRAN III commands: DELETE-FILE

Format:
@DELETE-USERS-FILES <file name>[,<manual check?>]

Parameters:
<file name>: delete all files matching this name (default = delete all files in default directory for the terminal user).
<manual check?>: YES = the name of every file matching <file name> is written on the terminal. The user then answers YES to delete, NO or return to keep the file. NO = delete all files matching <file name> immediately. (default = YES).

Rules: 1. Permitted for all users with directory access (D) to the files. 2. If current user is SYSTEM, manual check is compulsory so the parameter <manual check?> is not requested.

Example:
@DELETE-USER-FILES F-1, YES
FILE 5: (BIG-PACK:GUEST) F-10:DATA;1? N
FILE 7: (BIG-PACK:GUEST) F-1:DATA;1? Y
@

The file F-1:DATA is deleted but match was also found on the file F-10:DATA, which was not deleted.

Norsk Data ND-60.128.5 EN


Page 91

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION

Function:

Perform operations on magnetic tapes, Versatec printer/plotter and floppy disk.

Related commands:

Related SINTRAN III commands: LIST-DEVICE-FUNCTIONS
Related SINTRAN III Monitor calls: MAGTP (MON 144)

Format:

@DEVICE-FUNCTION , [,[,]]

Parameters:

Parameter Description
name of the peripheral file associated with the device.
see below.
see below.
see below.

Rules:

  1. Permitted for all users.

Norsk Data ND-60.128.5 EN


Page 92

DEVICE-FUNCTION ADVANCE-RECORDS

Function:

Advance by the specified number of records on a magnetic tape. On a floppy disk, the disk address is incremented by the specified number of records.

Related commands:

Related SINTRAN III commands: - DEVICE-FUNCTION ADVANCE-TO-EOF - DEVICE-FUNCTION BACKSPACE-RECORDS - DEVICE-FUNCTION REVERSE-TO-EOF - DEVICE-FUNCTION REWIND

Format:

ADVANCE-RECORDS

Parameters:

Parameter Description
Number of records or amount by which disk address is to be incremented.

Rules:

  1. Allowed on magnetic tape and floppy disk.

Page 93

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DEVICE-FUNCTION ADVANCE-TO-EOF

Function:
Advance from the current position on a device over the specified number of end-of-file (EOF) marks. A tape will be positioned immediately after the last EOF mark is passed. A floppy disk will have its address incremented to the address immediately after the last EOF mark is passed.

Related commands:
Related SINTRAN III commands: - DEVICE-FUNCTION ADVANCE-RECORDS - DEVICE-FUNCTION BACKSPACE-RECORDS - DEVICE-FUNCTION REVERSE-TO-EOF - DEVICE-FUNCTION REWIND

Format:
ADVANCE-TO-EOF \<number of EOF marks>

Parameters:
\<number of EOF marks> the number of EOF marks to skip.

Rules:
1. Allowed on magnetic tape and floppy disk.

Norsk Data ND-60.128.5 EN


Page 94

aDEVICE-FUNCTION BACKSPACE-RECORDS

Function

On magnetic tape, move the tape backwards by the specified number of records; on floppy disk, decrement the disk address by the specified number of records.

Related SINTRAN III commands: - DEVICE-FUNCTION ADVANCE-RECORDS - DEVICE-FUNCTION ADVANCE-TO-EOF - DEVICE-FUNCTION REVERSE-TO-EOF - DEVICE-FUNCTION REWIND

Format

BACKSPACE-RECORDS

Parameters

number of records by which to backspace, or amount by which disk address is to be decremented.

Rules

  1. Allowed on magnetic tape and floppy disk.

Page 95

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION CLEAR-DEVICE

Function:

Abandon current operation of specified device. The device buffer on a Versatec is cleared.

Related commands:

Related SINTRAN III commands: CLEAR-DEVICE
DEVICE-FUNCTION CLEAR-SELECTED-UNIT

Format:

CLEAR-DEVICE

Parameters:

None.

Rules:

  1. Allowed on magnetic tape, Versatec and floppy disk.
  2. On magnetic tape clears all the units attached to one controller.

Page 96

DEVICE-FUNCTION CLEAR-SELECTED-UNIT

Function:

Clear the specified unit on the device.

Related SINTRAN III commands: CLEAR-DEVICE
DEVICE-FUNCTION CLEAR-DEVICE

Format:

CLEAR-SELECTED-UNIT <unit>

Parameters:

<unit> device unit.

Rules:

  1. Allowed only on STC magnetic tapes.

Norsk Data ND-60.128.5 EN


Page 97

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION DUMP-BOOTSTRAP

Function:

Dump a bootstrap onto page 0 (the first page) of a floppy. The floppy monitor can then be loaded into a machine (not running SINTRAN) by pressing MASTER CLEAR and typing 15608.

Format:

DUMP-BOOTSTRAP

Parameters:

| | name of the :BPUN file containing the bootstrap. This will normally be FLOPPY-MONITOR:BPUN or a carefully prepared user monitor. |

Rules:

  1. Allowed only on floppy disk.

Page 98

DEVICE-FUNCTION ERASE-TAPE

Function:

Remove all recorded data from a tape.

Related SINTRAN III commands: DEVICE-FUNCTION WRITE-ERASE-GAP

Format:

ERASE-TAPE

Parameters:

None.

Rules:

  1. Allowed only on tape.

Page 99

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION FORMAT-FLOPPY

Function:

Write new address information onto the floppy in the currently selected format.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION SET-FLOPPY-FORMAT

Format:

FORMAT-FLOPPY

Parameters:

None.

Rules:

  1. Allowed on floppy disk.
  2. The floppy format must be set before using this function (SET-FLOPPY-FORMAT)

Page 100

aDEVICE-FUNCTION GET-CURRENT-DISC-ADDRESS

Function

Return the current address on the floppy disk. This is the address from which data will be written/read by the functions WRITE/READ-RECORD.

SINTRAN III commands: DEVICE-FUNCTION SET-CURRENT-DISC-ADDRESS

Format

GET-CURRENT-DISC-ADDRESS

Parameters

None.

Rules

  1. Allowed on floppy disk.

Page 101

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION GIVE-FORM-FEED

Function:
Give form feed on a Versatec. On fan-fold paper this advances the paper to the top of the form; on roll paper it advances the paper 7 cm.

Format:
GIVE-FORM-FEED

Parameters:
| number of form feeds, or 7 cm advances, required.

Rules:
1. Allowed on Versatec.


Page 102

aDEVICE-FUNCTION READ-BACKWARDS

Function: Read magnetic tape backwards.

Related commands: SINTRAN III commands:
DEVICE-FUNCTION READ-BYTE-RECORD
DEVICE-FUNCTION READ-DELETED-RECORD
DEVICE-FUNCTION READ-ODD-NUMBER-OF-BYTES
DEVICE-FUNCTION READ-RECORD

Format: READ-BACKWARDS ,

Parameters:

Parameter Description
address to which the data will be read (octal value).
number of words to transfer.

Rules: 1. Available on STC magnetic tape only.


Page 103

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION READ-BYTE-RECORD

Function:

Read specified number of bytes from peripheral to given address on user's background segment.

SINTRAN III commands: DEVICE-FUNCTION READ-BACKWARDS
DEVICE-FUNCTION READ-DELETED-RECORD
DEVICE-FUNCTION READ-ODD-NUMBER-OF-BYTES
DEVICE-FUNCTION READ-RECORD

Format:

READ-BYTE-RECORD ,

Parameters:

Parameter Description
address to which the data will be read (octal value).
number of bytes to transfer (octal value).

Rules:

  1. Allowed on magnetic tape.

Page 104

aDEVICE-FUNCTION READ-DELETED-RECORD

Function:

Read a record even if it has been flagged as deleted.

SINTRAN III commands:
DEVICE-FUNCTION READ-BACKWARDS
DEVICE-FUNCTION READ-BYTE-RECORD
DEVICE-FUNCTION READ-ODD-NUMBER-OF-BYTES
DEVICE-FUNCTION READ-RECORD

Format:

READ-DELETED-RECORD <address>,<number of words>

Parameters:

<address>
destination of words read to the user's background segment.

<number of words>
number of words to transfer.

Rules:

  1. Allowed on floppy disk.

Page 105

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DEVICE-FUNCTION READ-FORMAT

Function:
Read the type of address information (format) on a floppy disk.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION SET-FLOPPY-FORMAT

Format:
READ-FORMAT

Parameters:
None.

Rules:

  1. Allowed only on floppy disk.
  2. The format returned is 0, 1 or 2 for single density.
  3. The format returned is 0-15 for double density. For explanation see SET-FLOPPY-FORMAT.

Norsk Data ND-60.128.5 EN


Page 106

DEVICE-FUNCTION READ-LAST-STATUS

Function:
Read the status saved by the driver for the last operation on the device unit. An IOX instruction is not executed.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION READ-STATUS
DEVICE-FUNCTION READ-TAPE-STATUS

Format:
READ-LAST-STATUS

Parameters:
None.

Rules: 1. Allowed on magnetic tape, Versatec and floppy disk. 2. For explanation of status word returned see Appendix G.


Page 107

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DEVICE-FUNCTION READ-ODD-NUMBER-OF-BYTES

Function:
Read a specified odd number of bytes from the specified file to the user's background segment.

Related commands:
Related SINTRAN III commands: - DEVICE-FUNCTION READ-BACKWARDS - DEVICE-FUNCTION READ-BYTE-RECORD - DEVICE-FUNCTION READ-DELETED-RECORD - DEVICE-FUNCTION READ-RECORD

Format:
READ-ODD-NUMBER-OF-BYTES <address>,<number of bytes>

Parameters:

Parameter Description
<address> Address of destination of data on the user's background segment.
<number of bytes> Number of bytes to transfer.

Rules: 1. Allowed only on magnetic tape.


Page 108

aDEVICE-FUNCTION READ-RECORD

Function

Read the specified number of words from the specified device to the specified address on the user's background segment.

SINTRAN III commands: - DEVICE-FUNCTION READ-BACKWARDS - DEVICE-FUNCTION READ-BYTE-RECORD - DEVICE-FUNCTION READ-DELETED-RECORD - DEVICE-FUNCTION READ-ODD-NUMBER-OF-BYTES

Format

READ-RECORD

,

Parameters

Parameter Description
<address> Address on the user's background segment to which the data will be read (octal value).
<number of words> Number of words to be written (octal value).

Rules

  1. Allowed on mag. tape, Versatec and floppy disk.

Page 109

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION READ-STATUS

Function:

Read the hardware status register of the specified device. The status is read by means of an IOX instruction.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION READ-LAST-STATUS
DEVICE-FUNCTION READ-TAPE-STATUS

Format:

READ-STATUS

Parameters:

None.

Rules:

  1. Allowed on magnetic tape, Versatec and floppy disk.
  2. For explanation of status word returned see Appendix G.

Page 110

aDEVICE-FUNCTION READ-TAPE-STATUS

Function

Read the status word for a magnetic tape.

Related SINTRAN III commands: DEVICE-FUNCTION READ-LAST-STATUS
DEVICE-FUNCTION READ-STATUS

Format

READ-TAPE-STATUS

Parameters

None.

Rules

  1. Allowed on magnetic tape.

Page 111

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION REVERSE-TO-EOF

Function:

Move from the current position backwards over the specified number of EOF marks. The device will be positioned just before the last EOF mark.

Related commands:

Related SINTRAN III commands: - DEVICE-FUNCTION ADVANCE-RECORDS - DEVICE-FUNCTION ADVANCE-TO-EOF - DEVICE-FUNCTION BACKSPACE-RECORDS - DEVICE-FUNCTION REWIND

Format:

REVERSE-TO-EOF <number of EOF marks>

Parameters:

<number of EOF marks> number of EOF marks to backspace.

Rules:

  1. Allowed on magnetic tape and Versatec.

Page 112

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION REWIND

Function:

On magnetic tape, rewinds the tape to the load point; on floppy disk, the disk address is reset to zero.

Related SINTRAN III commands: DEVICE-FUNCTION UNLOAD

Format:

REWIND

Parameters:

None.

Rules:

  1. Allowed on magnetic tape and floppy disk.

Norsk Data ND-60.128.5 EN


Page 113

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION SELECT-DENSITY

Function:
Select the density with which data is written onto a magnetic tape.

Related commands:
SINTRAN III commands: DEVICE-FUNCTION SELECT-PARITY-AND-DENSITY

Format:
SELECT-DENSITY

Parameters:

Description
0 1600 Bits per inch on STC
1 6250 Bits per inch magnetic
2 800 Bits per inch tape

Rules:

  1. Allowed on Tandberg/Pertec and STC magnetic tape.
  2. On some drive units density can be selected by switches on the front panel.

Page 114

DEVICE-FUNCTION SELECT-PARITY-AND-DENSITY

Function:
Select the density and parity with which data are written onto magnetic tape.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION SELECT-DENSITY

Format:
SELECT-PARITY-AND-DENSITY <density/parity>

Parameters:

<density/parity> Description
0 800 Bits per inch, odd parity
1 556 Bits per inch, odd parity
2 200 Bits per inch, odd parity
4 800 Bits per inch, even parity
5 556 Bits per inch, even parity
6 200 Bits per inch, even parity

Default value is 0.

Rules:

  1. Allowed on Tandberg/Pertec magnetic tapes.
  2. On some drive units density can be selected by switches on the front panel.

Page 115

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DEVICE-FUNCTION SET-ALPHANUMERIC-MODE

Function:

Put the Versatec into print mode. In this mode it functions like a line printer.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION SET-GRAPHIC-MODE

Format:

SET-ALPHANUMERIC-MODE

Parameters:

None.

Rules:

  1. Allowed on Versatec.

Page 116

@DEVICE-FUNCTION SET-CURRENT-DISC-ADDRESS

Function:
Set new disk address on floppy disk.

Related commands:
SINTRAN III commands: DEVICE-FUNCTION GET-CURRENT-DISC-ADDRESS

Format:
SET-CURRENT-DISC-ADDRESS

Parameters:
address to be used for next transfer to/from disk.

Rules:
1. Available on floppy disks only.


Page 117

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION SET-FLOPPY-FORMAT

Function:

Select format to be used when formatting floppy.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION FORMAT-FLOPPY
DEVICE-FUNCTION READ-FORMAT

Format:

SET-FLOPPY-FORMAT

Parameters:

Format number as defined in the following table:

No. Bytes/Sector Number of sides Density Sectors/diskette Capacity in pages
0 512 Single Single 11508 154
1 256 Single Single 22038 144
2 128 Single Single 37228 125
4 512 Double Single 23208 308
5 256 Double Single 44068 288
6 128 Double Single 76448 250
10₈ 512 Single Double 22038 288
11₈ 256 Single Double 37228 250
13₈ 1024 Single Double 11508 308
14₈ 512 Double Double 44068 577
15₈ 256 Double Double 76448 500
17₈ 1024 Double Double 23208 616

The SINTRAN III file system can only be used with formats 0 and 17₈. All of the listed formats are available on the new floppy disk system (controller 3027). Only formats 0, 1 and 2 are available on the old floppy disk system.

Rules:

  1. Allowed on floppy disk.
  2. The function, SET-FLOPPY-FORMAT, should always be the first function used before formatting diskettes.

Norsk Data ND-60.128.5 EN


Page 118

DEVICE-FUNCTION SET-GRAPHIC-MODE

Function:
Put the Versatec into plot mode. In this mode it functions like a graph plotter.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION SET-ALPHANUMERIC-MODE

Format:
SET-GRAPHIC-MODE

Parameters:
None.

Rules:
1. Allowed only on Versatec printer plotter.


Page 119

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DEVICE-FUNCTION UNLOAD

Function:

Unload a magnetic tape, that is, the vacuum is removed from the tape and the tape rewound onto its spool.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION REWIND

Format:

UNLOAD

Parameters:

None.

Rules: 1. Allowed on magnetic tape. 2. The tape must be at the load point (with the load point light illuminated) for this command to have effect.


Page 120

aDEVICE-FUNCTION WRITE-BYTE-RECORD

Function

Write specified number of bytes to peripheral file from the user's background segment.

Related SINTRAN III commands:
DEVICE-FUNCTION READ-BYTE-RECORD
DEVICE-FUNCTION WRITE-DELETED-RECORD
DEVICE-FUNCTION WRITE-RECORD

Format

WRITE-BYTE-RECORD <address>,<number of bytes>

Parameters

Parameter Description
<address> Address from which the bytes will be read.
<number of bytes> Number of bytes transferred to the peripheral file.

Rules

  1. Allowed on magnetic tape.

Page 121

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION WRITE-DELETED-RECORD

Function:
Write a record and then flag it as deleted.

Related commands:
Related SINTRAN III commands:
DEVICE-FUNCTION READ-DELETED-RECORD
DEVICE-FUNCTION WRITE-BYTE-RECORD
DEVICE-FUNCTION WRITE-RECORD

Format:
WRITE-DELETED-RECORD <address>, <number of words>

Parameters:

Parameter Description
<address> address on the user's background segment from which data is read.
<number of words> number of words to transfer.

Rules:
1. Allowed only on floppy disk.


Page 122

DEVICE-FUNCTION WRITE-EOF

Function:

Write specified number of EOF marks on the specified device. On floppy disk the device address is incremented by one for each EOF mark written.

Related SINTRAN III commands: DEVICE-FUNCTION ADVANCE-TO-EOF
DEVICE-FUNCTION REVERSE-TO-EOF

Format:

WRITE-EOF <number of EOF marks>

Parameters:

<number of EOF marks> number of EOF marks to write.

Rules:

  1. Allowed on magnetic tape and Versatec.

Page 123

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDEVICE-FUNCTION WRITE-ERASE-GAP

Function:

Write a 4-inch (approximately 10 cm) gap on a tape.

Related commands:

Related SINTRAN III commands: DEVICE-FUNCTION ERASE-TAPE

Format:

WRITE-ERASE-GAP

Parameters:

None.

Rules:

  1. Allowed on magnetic tape.

Page 124

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III Commands

aDEVICE-FUNCTION WRITE-RECORD

Function:

Write the specified number of words to the specified device from the specified address on the user's background segment.

Related commands:

Related SINTRAN III commands: - DEVICE-FUNCTION READ-RECORD - DEVICE-FUNCTION WRITE-BYTE-RECORD - DEVICE-FUNCTION WRITE-DELETED-RECORD

Format:

WRITE-RECORD <address>,<number of words>

Parameters:

Parameter Description
<address> Address on the user's background segment from which the data will be taken (octal value).
<number of words> Number of words to be written (octal value).

Rules:

  1. Allowed on magnetic tape, Versatec and floppy disk.

Page 125

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

DIRECTORY-STATISTICS

Function:
List the following for one or more entered directories:
1. Device name and unit number.
2. Directory status (default, main).
3. Unreserved, unused and total space on the device.
4. Size of the largest unreserved contiguous block on the directory

Related commands:
Related SINTRAN III commands: LIST-DIRECTORIES-ENTERED

Format:
@DIRECTORY-STATISTICS <directory name>,<output file>

Parameters:

Parameter Description
<directory name> the directory/directories to be listed (default = all directories entered).
<output file> destination of listing (default = TERMINAL).

Rules:
1. Permitted for all users.
2. The command requires some time to respond when referring to large disks.

Example:
@DIRECTORY-STATISTICS,,

DIR INDEX 0: DISC-75MB-1 UNIT 0 : JOHNNY-ALVARADO
(MAIN AND DEFAULT DIRECTORY)
9298 PAGES UNRESERVED AND 6782 PAGES UNUSED OUT OF 36945 PAGES
MAXIMUM UNRESERVED CONTIGUOUS AREA ON DIRECTORY 2663 PAGES

DIR INDEX 1 : DISC-75MB-1 UNIT 1 : FILESYSTEM-TEST
(MAIN AND DEFAULT DIRECTORY)
(RESERVED FOR SPECIAL USE)

DIR INDEX 4 : FLOPPY-DISC-1 UNIT 0 : FLOPPY DIRECTORY
9 PAGES UNRESERVED AND 52 PAGES UNUSED OUT OF 154 PAGES
MAXIMUM UNRESERVED CONTIGUOUS AREA ON DIRECTORY 44 PAGES

Statistics for all the entered directories are listed on the terminal.


Page 126

@DISABLE-ESCAPE-FUNCTION

Function:
The escape character is ignored in user and command modes, that is, no "user break" is performed.

Related commands:
Related SINTRAN III commands:
DEFINE-ESCAPE-CHARACTER
DEFINE-LOCAL-CHARACTER
ENABLE-ESCAPE-FUNCTION

Related SINTRAN III Monitor calls:
DESCF (MON 71)
EESCF (MON 72)

Format:
@DISABLE-ESCAPE-FUNCTION

Parameters:
must be a terminal (octal value, default = own terminal).

Rules:
1. Permitted for all users. Only user SYSTEM can specify a other than their own terminal.
2. The escape function is enabled when logging out.

Example:
@DISABLE-ESCAPE-FUNCTION.,,

No "user break" is performed for the user's own terminal.


Page 127

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDISABLE-TERMINATION-HANDLING

Function:

Disable termination handling for background and RT-programs.

Related commands:

Related SINTRAN III commands: ENABLE-TERMINATION-HANDLING
Related SINTRAN III Monitor calls: EDTRM (MON 206)

Format:

@DISABLE-TERMINATION-HANDLING ,,

Parameters:

Parameter Description
select if termination handling is to be disabled for RT-programs or background programs.
(default = own terminal)
U for user break or F for fatal error.

Rules:

  1. Only user SYSTEM can disable terminals other than their own.

Page 128

aDMAC

Function

Special version of the MAC assembler used for patching or debugging RT-programs. Also used for patching of SINTRAN segments.

Related SINTRAN III commands: LOOK-AT

Format

DMAC

Parameters

None.

Rules

  1. Permitted for users SYSTEM and RT.
  2. Cannot be restarted by @CONTINUE.

Page 129

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDSCNT

Function:
All connections to an RT-program made by @CONCT (or monitor call CONCT) are removed. If the program is in the time queue, it is removed. Periodic execution is prevented.

Related commands:
Related SINTRAN III commands: CONCT
Related SINTRAN III Monitor calls:
CONCT (MON 106)
DMAC (MON 51)
DSCNT (MON 107)

Format:
@DSCNT

Parameters:

Parameter Description
<program name> RT-program name or RT-description address (octal value, default = own terminal background program).

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. Reserved resources are not released.

Example:
@DSCNT KLOKK

The RT-program KLOKK is disconnected.


Page 130

aDUMP

Function:

Save the contents of the user's virtual memory on a file.

Related SINTRAN III commands:
DUMP-PROGRAM-REENTRANT
DUMP-REENTRANT
MEMORY
MEMORY-LIMITS
PLACE-BINARY
RECOVER

Format:

@DUMP <file name>,<start address>,<restart address>

Parameters:

Parameter Description
<file name> Mass-storage file to receive the memory contents (default type = :PROG).
<start address> The address where the program is started after @RECOVER (octal value, default = 0).
<restart address> The address where the program is restarted after @CONTINUE (octal value, default = 0).

Rules:

  1. Permitted for all users.
  2. The amount of memory to be saved can be specified by @MEMORY. If not, the values from the last @LOAD-BINARY, @PLACE-BINARY or @RECOVER are used.
  3. The contents can be retrieved later by @RECOVER.

Example:

@MEMORY 100, 7777
@DUMP US-PROG, 100, 101
@RECOVER US-PROG

Virtual memory area 1008 to 77778 is dumped on the program file US-PROG:PROG. The program is then started at address 1008 by @RECOVER.


Page 131

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDUMP-BIT-FILE

Function:

Dump, in octal, a 20₈ word block of the directory bit file on an output file.

Related commands:

Related SINTRAN III commands: CHANGE-BIT-FILE

Format:

@DUMP-BIT-FILE ,,

Parameters:

Parameter Description
Directory whose bit file is to be dumped.
See below (decimal value, default = 0).
Destination of the dump (default = TERMINAL).

Rules:

  1. Permitted only for user SYSTEM.
  2. The bit file is divided into 20₈ word blocks.

Example:

@DUMP-BIT-FILE B-P,...

The first block of the bit file on directory B-P is dumped on the terminal.

Norsk Data ND–60.128.5 EN


Page 132

aDUMP-DIRECTORY-ENTRY

Function:

Dump, in octal, the directory entry part of the master block on an output file.

Related SINTRAN III commands: CHANGE-DIRECTORY-ENTRY

Format:

@DUMP-DIRECTORY-ENTRY <device name>,<unit>[,<‘F’ or ‘R’>][,<subunit>],<output file>

Parameters:

Parameter Description
<device name> Device name, see appendix F for a list of legal device names.
<unit> Device unit number (0-3, default 0).
<‘F’ or ‘R’> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
<subunit> Subunit number. This parameter only apply to disks which are subdivided into several parts or directories (0-5).
<output file> Destination of the octal dump (default = TERMINAL).

Rules:

  1. Permitted only for user SYSTEM.
  2. Note that if you give an erroneous disk type as device type (this may happen, for example, if your system has different disk types as different units and you specify the wrong unit), the disk will enter fault state and the system will hang.
  3. The parameter <unit> is now always required.

Example:

@DUMP-DIRECTORY-ENTRY DISC-10MB-1, 1, F,,

Make octal dump of directory on 10Mb disk, unit 1, fixed pack, on TERMINAL.


Page 133

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDUMP-OBJECT-ENTRY

Function:
Dump, in octal, the object entry of a file on an output file.

Related commands:
Related SINTRAN III commands: CHANGE-OBJECT-ENTRY
Related SINTRAN III Monitor calls: ROBJE (MON 41)

Format:
@DUMP-OBJECT-ENTRY [:],,
\

Parameters:

Parameter Description
: directory and user where the file is to be found (default = user's main directory).
the object number of the file which may be found from @LIST-FILES. (decimal value, default = 0).
destination of the octal dump (default = TERMINAL).

Rules:

  1. Permitted only for user SYSTEM.

Example:

@DUMP-OBJECT-ENTRY GUEST, 5.,

The object entry of object number 5 from user GUEST in the main directory is dumped, in octal, on TERMINAL.


Page 134

aDUMP-PAGE

Function:

Dump, in octal, a 1K page from a directory onto an output file.

Related commands:

Related SINTRAN III commands: CHANGE-PAGE

Format:

@DUMP-PAGE <directory name>,<page address>,<output file>

Parameters:

Parameter Description
<directory name> directory which contains the page.
<page address> physical page number (octal value, default = 0).
<output file> destination of the octal dump (default = TERMINAL).

Rules:

  1. Permitted only for user SYSTEM.
  2. Cannot be interrupted by escape.

Example:

@DUMP-PAGE PACK-ONE,100,,

Page 100₈ in PACK-ONE is dumped, in octal, on the terminal.


Page 135

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDUMP-PROGRAM-REENTRANT

Function:

Establish a subsystem as a reentrant subsystem. The subsystem is read from a :PROG file. The command then calls the RT-Loader and the subsystem is loaded to a segment. The subsystem name is inserted into a table which is searched by @RECOVER before the list of :PROG files is searched. The segment may be given a name by an optional parameter.

Related SINTRAN III commands:

  • DEFINE-REENTRANT-PROGRAM
  • DELETE-REENTRANT
  • DUMP
  • DUMP-REENTRANT
  • LIST-REENTRANT

Format:

@DUMP-PROGRAM-REENTRANT <subsystem>,<program file>[,<segment name>]

Parameters:

Parameter Description
<subsystem> the name of the subsystem
<program file> a file containing a subsystem loaded by BRF-Linker or NRL. (default type = :PROG).
Optional:
<segment name> the name of the segment where the reentrant subsystem is located.

Rules:

  1. Permitted only for user SYSTEM.
  2. The command sets a protect flag ('ree-sub') on the segment.

Example:

@DUMP-PROGRAM-REENTRANT COBOL,COBOL,COBSEG

The subsystem COBOL is loaded to a segment and can be started by @RECOVER COBOL or @COBOL. The segment is named COBSEG.

Norsk Data ND-60.128.5 EN


Page 136

aDUMP-REENTRANT

Function:

Establish a subsystem as a reentrant subsystem. The subsystem is read from a file of type :BPUN. The command then calls the RT-Loader and the subsystem is loaded to a segment. The subsystem name is inserted into a table which is searched by @RECOVER before the list of :PROG files is searched.

Related SINTRAN III commands:

  • DEFINE-REENTRANT-PROGRAM
  • DELETE-REENTRANT
  • DUMP
  • DUMP-PROGRAM-REENTRANT
  • LIST-REENTRANT

Format:

@DUMP-REENTRANT <subsystem name>,<start address>,<restart address>,<binary file>, [<segment name>]

Parameters:

Parameter Description
<subsystem name> the name of the subsystem.
<start address> the initial start address (octal value, default = 0).
<restart address> the address where the program should be reentered by @CONTINUE (octal value, default = 0).
<binary file> a file containing the subsystem in the format made by the )BPUN command of the MAC assembler (default type = :BPUN).
<segment name> the name of the segment where the reentrant subsystem is located. Optional.

Rules:

  1. Permitted only for user SYSTEM.
  2. The command sets a protect flag ('ree-sub') on the segment.

Example:

@COPY "MAC:BPUN", (PRO-1:F-U)MAC:BPUN
@DUMP-REENTRANT MAC,-1,-3,MAC,SEGMAC

The subsystem MAC is loaded to a segment named SEGMAC and can be started by @RECOVER MAC or @MAC.

Norsk Data ND-60.128.5 EN


Page 137

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aDUMP-USER-ENTRY

Function:
Dump, in octal, a user entry onto an output file.

Related commands:
Related SINTRAN III commands: CHANGE-USER-ENTRY
Related SINTRAN III Monitor calls: RUSER (MON 44)

Format:
@DUMP-USER-ENTRY <directory name>,<user no.>,<output file>

Parameters:

Parameter Description
<directory name> Directory name of the directory containing the specific user (default = main directory)
<user no.> Number of the user found by @USER-STATISTICS (decimal value, default = 0).
<output file> Destination of the octal dump (default = TERMINAL).

Rules:
1. Permitted only for user SYSTEM.

Example:
@DUMP-USER-ENTRY P=0, 4,,

User entry number 4 on directory P=0 is dumped on the terminal.


Page 138

aENABLE-ESCAPE-FUNCTION

Function

Enable the "user break" function.

Related SINTRAN III commands: DEFINE-ESCAPE-CHARACTER
DEFINE-LOCAL-CHARACTER
DISABLE-ESCAPE-FUNCTION

Related SINTRAN III Monitor calls: DESCF (MON 71)

Format

@ENABLE-ESCAPE-FUNCTION <terminal number>

Parameters

Parameter Description
<terminal number> must be a terminal (octal value, default = the user's terminal).

Rules

  1. Permitted for all users. Only user SYSTEM can specify a <logical device no.> other than their own.
  2. This function is performed for the user's terminal when logging out.

Example

@ENABLE-ESCAPE-FUNCTION.

The "user break" will be performed for the user's terminal whenever the escape key is pressed.


Page 139

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aENABLE-TERMINATION-HANDLING

Function:
Enable termination handling for background and RT-programs.

Related commands:
Related SINTRAN III commands: DISABLE-TERMINATION-HANDLING
Related SINTRAN III Monitor calls: EDTRM (MON 206)

Format:
@ENABLE-TERMINATION-HANDLING ,,
    .

Parameters:

Parameter Description
select if termination handling is to be enabled for RT-programs or background programs.
(default = own terminal)
U for user break or F for fatal error.

Rules:
1. Only user SYSTEM can enable escape handling for terminals other than their own.


Page 140

aENTER

Function:
Identify the owner of a batch job; this must be the first command in a batch job.

Related commands:
Related SINTRAN III commands: APPEND-BATCH

Format:
@ENTER <user name>,<password>,<project password>,<maximum time>

Parameters:

Parameter Description
<user name> Name of a user on a main directory; if the user's main directory is known, user name can be given as <directory name>:<user name>.
<password> The correct password for the user; it is not printed on the output listing (default = no password).
<project password> A background accounting project defined in the file PROJNAM:DATA. See SINTRAN III System Supervisor manual, ND-30.003.
<maximum time> The maximum CPU time, in minutes, allowed for the total batch job. When time is up the job is aborted (decimal value, default = 1).

Rules: 1. Permitted for all users. 2. If <password> is incorrect, the job is aborted. 3. If the job is run under @MODE, the @ENTER command is ignored. 4. A batch job is terminated by two escape characters. (Entered into the file, in PED, by typing [CTRL+O escape] twice.) 5. A batch input file may contain several batch jobs.

Example:
@ENTER GUEST,,,5

This is the first command in a batch job. The job is run for user GUEST who has no password and no project password. The job will terminate after 5 minutes CPU time.

Norsk Data ND-60.128.5 EN


Page 141

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aENTER-DIRECTORY

Function:

Enter a directory on a device. This must be done before files can be accessed on the directory.

Related commands:

Related SINTRAN III commands:
CREATE-DIRECTORY
RELEASE-DIRECTORY
SET-DEFAULT-DIRECTORY
SET-MAIN-DIRECTORY

Format:

@ENTER-DIRECTORY <directory name>,<device name>,<unit>[,<‘F’ or ‘R’>][,<subunit>]

Parameters:

Parameter Description
<directory name> the name of the new directory. default = directory on specified device/unit.
<device name> device name, see appendix F for a list of legal device names.
<unit> device unit number (0-3, default 0).
<‘F’ or ‘R’> F (for fixed) or R (for removable) part of a disk. This parameter only apply to disks which have both a fixed and a removable part.
<subunit> subunit number. This parameter only apply to disks which are subdivided into several parts or directories (0-5).

Rules:

  1. For floppy directories: Permitted for all users. For all other directories: Permitted only for user SYSTEM.
  2. The directory is only entered if <directory name> matches or is an abbreviation of the name found on the device.
  3. All open files are closed. Open spooling files are emptied.
  4. User enter counts are set to 0.
  5. If <directory name> is omitted, the directory residing on the specified device/unit will be entered as long as no other directory with the same name already is entered.
  6. Note that if you give an erroneous disk type as device type (this may happen, for example, if your system has different disk types as different units and you specify the wrong unit), the disk will enter fault state and the system will hang.
  7. The parameter <unit> is now always required.

Example:

@ENTER-DIRECTORY PACK-ONE,DISC-10MB-1,1,F

A directory named PACK-ONE is entered on device DISC-10MB-1, unit 1, fixed pack.


Page 142

aENTSG

Function:

To define the condition under which a direct task will run.

Related SINTRAN III Monitor calls: ENTSG (MON 157)

Format:

@ENTSG <segment no.>,<page table>,<interrupt level>,<start address>

Parameters:

Parameter Description
<segment no.> The segment where the routine (direct task) resides (octal value).
<page table> Where the direct task will be mapped. Possible values = 0 or 3, for VSE.
= 0, 1, 2, 15, 16 or 17 for VSX
(17 is designated for direct tasks on VSX).
<interrupt level> The interrupt level on which the routine is run (decimal value). Legal values are: interrupt levels 6, 7, 8 or 9.
<start address> Start address of the routine (octal value).

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. The segment must be fixed.

Example:

@ENTSG 42, 3, 9, 30000

The routine on segment 42 is entered to run as a direct task on page table 3, interrupt level 9. Location 30000₈ is the start address of the routine.


Page 143

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III Commands

aEXECUTE-IOX

Function:
Execute an IOX instruction on a device.

Related commands:
Related SINTRAN III Monitor calls: EXIOX (MON 31)

Format:
@EXECUTE-IOX <value>,<device register address>

Parameters:

Parameter Description
<value> Contents of A register before execution (octal value, default = 0).
<device register address> Bits 10 - 0 of the IOX instruction (octal value, default = 0).

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. The contents of the A register are displayed after execution.
  3. <device register address> must be listed in the internal SINTRAN III IOX table. Can be set by *INSERT-IN-IOX-TABLE in @SINTRAN-SERVICE-PROGRAM.

Page 144

aEXPAND-FILE

Function:
Increase the length of a contiguous file.

Related commands:
Related SINTRAN III commands: ALLOCATE-FILE
CREATE-FILE

Format:
@EXPAND-FILE ,

Parameters:
| Parameter | Description | |----------------|-------------------------------------------------------| | <file name> | the contiguous file to be expanded. | | <no. of pages> | the additional number of pages (decimal value). |

Rules:
1. Permitted for all users.
2. File must be contiguous.
3. The command only works if there are at least the requested number of free pages immediately following the specified file.
4. If the command fails because free space is not available, create a new file large enough to meet the requirements, then copy the contents of the old file to this new file and delete the old one.

Example:
@EXPAND-FILE F-1, 9

The file F-1 is expanded by 9 pages.


Page 145

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aFILE-STATISTICS

Function:
List the following for the file(s):
1. File object number
2. File name
3. Type (indexed, contiguous, temporary, peripheral, spooling or allocated file)
4. Access modes
5. Date of creation
6. Number of times opened
7. Last time opened for read and write
8. Size of file (in pages and bytes)
9. Device number if peripheral file.

Related commands:
Related SINTRAN III commands: LIST-FILES
                                  LIST-OPEN-FILES

Format:
@FILE-STATISTICS ,

Parameters:
| Parameter | Description | |----------------|----------------------------------------------------------------------------------------------------------------------| | <file name> | list all files matching this name. Can be abbreviated (default = all files in default directory for the current user). | | <output file>| destination of the list (default = terminal). |

Rules:
1. Permitted for all users who have read access to the file.
2. <file name> may specify files on a remote computer. The file specifications may contain the following parameters:

system(user(password:project)).(directory:user)file:type;version

Example:
@FILE-STATISTICS F-1, TER

Statistics are listed on the terminal for the file F-1.


Page 146

@FIX

Function:

Fix a segment in memory, that is, it is not allowed to be swapped out. This command is useful for certain time-critical programs.

Related SINTRAN III commands: FIXC, UNFIX
Related SINTRAN III Monitor calls: FIX (MON 115)

Format:

@FIX

Parameters:

(octal value).

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. @UNFIX must be executed before the RT-Loader can clear the segment.
  3. must be a non-demand segment.

Example:

@FIX 30

Segment number 30₈ is fixed in memory.


Page 147

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aFIXC

Function:

Fix a segment in a contiguous area of physical memory.

Related commands:

Related SINTRAN III commands: FIX
UNFIX

Related SINTRAN III Monitor calls: FIXC (MON 160)

Format:

@FIXC <segment no.>,<first physical page no.>

Parameters:

Parameter Description
<segment no.> (octal value).
<first physical page no.> (octal value).

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. @UNFIX must be executed before RT-Loader can clear the segment.
  3. <segment no.> must be a non-demand segment.

Example:

@FIXC 240, 500

Segment number 240₈ is fixed in memory starting at physical page 500₈, that is, address 1200000₈.

Norsk Data ND-60.128.5 EN


Page 148

FORWARD-SPACE-PRINT

Function:
Causes the spooling program to skip printing of the specified number of pages and lines in a file which was stopped by @STOP-PRINT.

Related commands:
Related SINTRAN III commands: BACKSPACE-PRINT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . START-PRINT
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . STOP-PRINT

Format:
@FORWARD-SPACE-PRINT ,,
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Parameters:

Parameter Description
spooling device name.
number of pages to skip.
amount of skipping (decimal, default = 0).

Rules:
See @BACKSPACE-PRINT.

Example:

@STOP-PRINT LINE-PRINTER
@FORWARD-SPACE-PRINT LINE-PRINTER,2,,
@START-PRINT LINE-PRINTER

The spooling output for LINE-PRINTER is stopped and output is resumed two pages ahead.


Page 149

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aGET-ERROR-DEVICE

Function:
List the logical number of the device where error messages will be printed.

Related commands:
Related SINTRAN III commands: SET-ERROR-DEVICE

Format:
@GET-ERROR-DEVICE

Parameters:
None.

Rules:
1. Permitted only for user SYSTEM.

Example:

@GET-ERROR-DEVICE
ERROR DEVICE: 1

Error messages are printed on logical device number 1.


Page 150

aGET-RT-NAME

Function:
Find the symbolic name of an RT-program from the address of its RT-description.

Related commands:
Related SINTRAN III commands: LIST-RT-DESCRIPTION
                                                        LIST-RT-PROGRAMS
Related SINTRAN III Monitor calls: GRTNA (MON 152)

Format:
@GET-RT-NAME <address>

Parameters:
<address>            RT-description address (octal value, default = background program of the user's terminal).

Rules: 1. Permitted only for users RT and SYSTEM. 2. Some system programs in SINTRAN have no symbolic name. They can be given names by the RT-Loader command DEFINE-PROGRAM.

Example:

@GET-RT-NAME,,
BAK03
@

The user's terminal background program is BAK03.

Norsk Data ND–60.128.5 EN


Page 151

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aGET-TERMINAL-TYPE

Function:
List the terminal type number of a terminal.

Related commands:
Related SINTRAN III commands: SET-TERMINAL-TYPE
Related SINTRAN III Monitor calls: MGTTY (MON 16)

Format:
@GET-TERMINAL-TYPE \

Parameters:
\ must be a terminal (decimal value, default = the user's terminal).

Rules:

  1. Permitted for all users.
  2. The ND standard for terminal types is shown in Appendix A.

Example:

@GET-TERMINAL-TYPE 29

TERMINAL TYPE: 1

@

Terminal type for terminal 29 is 1.


Page 152

aGIVE-OBJECT-BLOCKS

Function

This command will make it possible to create more than 256 files for a single user. To allow this, the user must be given more than the single object block given initially. Each object block contains object entries for 256 files. The maximum number of object blocks per user is 16 (which means a maximum of 4096 files). The number of files allowed for a user is reported by the command @USER-STATISTICS.

Related SINTRAN III commands: TAKE-OBJECT-BLOCKS

Format

@GIVE-OBJECT-BLOCKS [<directory name>:]<user name>,
                    <no. of object blocks>

Parameters

Parameter Description
<directory name>:<user name> Directory and user to be given space (default directory = user's main directory).
<no. of object blocks> Number of additional object blocks (1-15) (decimal value).

Rules

  1. Permitted only for user SYSTEM when hard disk is specified, for all users when floppy disk.

Norsk Data ND–60.128.5 EN


Page 153

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aGIVE-SPOOLING-PAGES

Function:
Increase the total number of pages that can be used by the spooling files.

Related commands:
Related SINTRAN III commands: SPOOLING-PAGES-LEFT
                                                                          TAKE-SPOOLING-PAGES

Format:
@GIVE-SPOOLING-PAGES \<no. of pages>

Parameters:
\<no. of pages> additional no. of pages (decimal value).

Rules:

  1. Permitted only for user SYSTEM.
  2. 500 pages are given to the spooling system.
  3. The command does not guarantee that the disk space is available (see @START-SPOOLING, rule 2). User system must have at least as many free pages as there are pages for spooling.

Example:
@GIVE-SPOOLING-PAGES 95

95 pages are added to the spooling pages.


Page 154

@GIVE-USER-SPACE

Function:
Increase the total amount of space reserved for a user.

Related commands:
Related SINTRAN III commands: TAKE-USER-SPACE

Format:
@GIVE-USER-SPACE [:],

Parameters:

Parameter Description
<directory name>:<user name> Directory and user to be given space (default directory = user's main directory).
<no. of pages> Additional number of pages (decimal value).

Rules:

  1. Permitted only for user SYSTEM when hard disk is specified, for all users when floppy disk.
  2. Only the unreserved pages in the directory may be given to a user (use @DIRECTORY-STATISTICS).

Example:

@GIVE-USER-SPACE USER-ONE,95

95 additional pages are given to the user USER-ONE in main directory.


Page 155

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

GOTO-USER

Function:

Start background program at specific address.

Related SINTRAN III commands:
CONTINUE
PLACE-BINARY
PLACE-PROGRAM
RECOVER

Format:

@GOTO-USER <address>

Parameters:

<address> (octal value, default = current P-register of the background program).

Rules:

  1. Permitted for all users.
  2. When a program is terminated by an "escape" or "break", all files are normally closed. To keep them open until @GOTO-USER is typed, @SET-PERMANENT-OPEN is used before the files are accessed for the first time.
  3. After "escape" the values of the background RT-program registers may be examined by @STATUS.

Example:

@OPEN F-1:DATA, RX
FILE NUMBER IS: 101
@SET-PERMANENT-OPEN 101
@RECOVER MAIN
('escape')
@GOTO-USER,,

The program MAIN is started, stopped and finally resumed at the point of interruption. The file F-1:DATA is kept permanently opened so it is not closed at the "break" (files not permanently open will be closed when you type escape).
Note the difference between CONTINUE and GOTO-USER: CONTINUE will restart the program at its start address, GOTO-USER at the specified address (or current value of the P-register).

Norsk Data ND-60.128.5 EN


Page 156

@HELP

Function:

List command names matching parameter.

Related SINTRAN III commands: LIST-DEVICE-FUNCTIONS

Format:

@LIST-DEVICE-FUNCTIONS ,

Parameters:

Parameter Description
all commands matching will be listed (default = all commands).
destination of the list (default = TERMINAL).

Rules:

  1. Permitted for all users.
  2. If a command is a file system command, this is indicated. For all other commands, restrictions on its use (RT, SYSTEM only) are indicated.

Example:

@HELP EX,
RT:      EXECUTE-IOX
FILSYS:  EXPAND-FILE
@

Page 157

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aHOLD

Function:

Keep the terminal or batch processor waiting for a specified period.

Related commands:

Related SINTRAN III Monitor calls: HOLD (MON 104)

Format:

@HOLD ,

Parameters:

Parameter Description
(decimal value).
1 = basic time units (20 ms)
2 = seconds
3 = minutes
4 = hours

Rules:

  1. Permitted for all users.
  2. No resources are released.
  3. If the repeat bit in the RT-description is set there will be immediate return from HOLD.
  4. If = 0 the repeat bit is reset and there is immediate return (without waiting until the next clock interrupt).

Example:

@HOLD 5, 3
@

The second @ is prompted after 5 minutes.


Page 158

@INIT-ACCOUNTING

Function:
Initialize the accounting files and start accounting.

Related commands:
Related SINTRAN III commands: START-ACCOUNTING
STOP-ACCOUNTING

Format:
@INIT-ACCOUNTING <no. of accounts>,<max.no.>,<background>,[<RT>,<clear logged information>,<logging interval>,]<spooling>

Parameters:

Parameter Description
<no. of accounts> number of accounts before warning (decimal value, default = 1000).
<max.no.> maximum number of accounts (decimal value, default = 1200).
<background> are background programs to be accounted, both on ND-100 and ND-500.
<RT> are user RT-programs to be accounted.
<clear logged information> whether information already logged in the RT accounting table should be cleared.
<logging interval> number of seconds between dumps of RT accounting table on file ACCOUNTS:DATA.
<spooling> are spooling processes to be accounted.

Rules:

  1. Permitted only for user SYSTEM.
  2. When <desired> number of records is reached, the message "APPROACHING END OF ACCOUNTING FILE" is written on the terminal at every log out.
  3. When <maximum> number of records is reached, the message "FND OF ACCOUNTING FILE ENCOUNTERED" is written on the terminal at every log out. No further accounting is attempted until the next @INIT-ACCOUNTING or until ACCOUNTS:DATA is reset by the ACCOUNTING-SERVICE-PROGRAM.
  4. If RT-accounting is not included in the system, the question <RT> will not be asked. If the message "ACCRT NOT LOADED" is given after answering Y to <RT> the ACCRT-program must be loaded onto segment 32 with the RT-Loader (see System Supervisor manual, ND-30.003).
  5. Only if the system contains an ND-500 will the question <ND-500> be asked.
  6. Accounting on an ND-500 or spooling cannot be started unless background accounting is running. It can be stopped independently but is stopped automatically if background accounting is stopped.

Norsk Data ND-60.128.5 EN


Page 159

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

Example:
@INIT-ACCOUNTING 750, 850, Y, Y, Y, 600

The accounting system is initialized. A warning is given after 750 records and after 850 records no further logging takes place until the file is reset. Background and user RT-programs are accounted, information already in the RT-accounting table is cleared and dumps take place every 600 sec.

Norsk Data ND-60.128.5 EN


Page 160

@INITIAL-COMMAND

Function:

Specify the first command to be executed at next restart from memory image, @RESTART-SYSTEM, or pressing MASTER CLEAR and LOAD buttons. The command must be @ENTER-DIRECTORY. It is stored as the first command in the initial command buffer.

Related SINTRAN III commands: LIST-INITIAL-COMMANDS
NEXT-INITIAL-COMMAND
RESTART-SYSTEM

Format:

@INITIAL-COMMAND \<command string>

Parameters:

\<command string> the command and parameters are written on one line without Ø.

Rules:

  1. Permitted only for user SYSTEM.
  2. When @INITIAL-COMMAND has been issued, @RTENTER is automatically executed at subsequent restarts.
  3. The other commands in the initial command buffer are specified using @NEXT-INITIAL-COMMAND.
  4. If user RT has file space on a directory other than the first main directory to be entered, this directory must be entered and set as a default directory in the initial commands. Failure to do this means @RTOPEN or OPEN from an RT-program will not access user RT's files by default.

Example:

@INITIAL-COMMAND ENTER-DIRECTORY PACK-ONE,DISC-66MB-1

The command @ENTER-DIRECTORY PACK-ONE,DISC-66MB-1 is executed at restart from memory image.


Page 161

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@INITIALIZE-BACKGROUND-PROGRAMS

Function:
Initiate the background programs for terminals and batch processors.

Related commands:
Related SINTRAN III commands: SET-AVAILABLE

Format:
@INITIALIZE-BACKGROUND-PROGRAMS

Parameters:
None.

Rules:

  1. Permitted only for user SYSTEM.
  2. After a cold start (HENT in MACM or @COLD-START) or initial load, the segment file(s) are defined (see @SINTRAN-SERVICE-PROGRAM *DEFINE-SEGMENT-FILE) and then this command is used to initialize background programs (that is, allocate space for them on the segment file) before any reentrant subsystems are dumped.
  3. If necessary, @CHANGE-BACKGROUND-SEGMENT-SIZE must be used after @INITIALIZE-BACKGROUND-PROGRAMS.

Page 162

@INITIALIZE-ERROR-LOG

Function

Initialize the segment on which error messages concerning hardware faults are recorded.

Related SINTRAN III commands: PRINT-ERROR-LOG

Format

@INITIALIZE-ERROR-LOG

Parameters

None.

Rules

  1. Permitted only for user SYSTEM.
  2. Error messages are collected on a segment for later printout. Messages concerning particular programs are not collected.

Page 163

SINTRAN III COMMANDS REFERENCE MANUAL

aINTV

Function:

Prepare an RT-program for periodic execution.

  • Related SINTRAN III commands:
    • ABSET
    • RT
    • SET
  • Related SINTRAN III Monitor calls:
    • ABSET (MON 102)
    • INTV (MON 103)
    • RT (MON 100)
    • SET (MON 101)

Format:

@INTV <program name>,<no. of time units>,<time unit>

Parameters:

Parameter Description
<program name> RT-program name or RT-description address (octal value, default = own terminal background program).
<no. of time units> Interval between each time the program is put in the execution queue.
<time unit> See @HOLD.

Rules:

  1. Permitted only for users RT and SYSTEM.
  2. The program must be activated by @CONCT, @RT or MON 100. It is then put in the time queue. At the end of the interval it is transferred from the time queue to the execution queue and at the same time put back in the time queue. This is repeated periodically.
  3. @DSCNT or @ABORT stop periodic execution.

Example:

@INTV KLOKK, 30, 2
@RT KLOKK

The program KLOKK is put in the execution queue every 30 seconds, starting when the @RT command is issued.

Norsk Data ND-60.128.5 EN


Page 164

a\IOSET

Function:

Set control information for device.

Related SINTRAN III commands: CLEAR-DEVICE
Related SINTRAN III Monitor calls: IOSET (MON 141)

Format:

@IOSET ,,,
\<control code>

Parameters:

Parameter Description
\<logical device no.> (octal value).
\<input/output> 0 = input part.
1 = output part.
\<program name> must be zero.
\<control code> -1 = reset device.
For card reader:
-1 = clear buffer and set ASCII mode.
All characters are converted to ASCII and trailing blanks are ignored.
0 = set ASCII mode.
1 = set binary mode. Subsequent INBT monitor calls will return a 12-bit column image.
For synchronous modem output:
-1 = clear modem output buffer
0 = start sending of the current block
1 = set 377 bytes to send between data
2 = set ASCII synchronous to send
3 = set EBCDIC synchronous to send
4 = synchronise on 26 received (ASCII)
5 = synchronise on 62 received (EBCDIC)
6 = synchronise on 226 received (ASCII)
7 = set ASCII synchronous (226 to send between data)

Rules:

  1. Permitted for all users.
  2. Device must be reserved by the terminal program.

Example:

@IOSET 5, 1, 0, -1

Reset line printer.


Page 165

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

@LIST-BATCH-PROCESS

Function:

List the state of each batch processor in the system.

Related commands:

Related SINTRAN III commands: BATCH
LIST-BATCH-QUEUE

Format:

@LIST-BATCH-PROCESS

Parameters:

None.

Rules:

  1. Permitted for all users.
  2. A batch processor can be idle, active or passive; if it is active, the name of the logged on user is listed.
  3. The command has no effect on the batch processor.

Example:

@LIST-BATCH-PROCESS
1 IDLE, NO USER LOGGED ON
2 ACTIVE, USER GUEST LOGGED ON
3 PASSIVE

Three processors are defined. The second is running a job belonging to user GUEST.


Page 166

aLIST-BATCH-QUEUE

Function:
List the contents of a specific batch queue.

Related commands:
Related SINTRAN III commands: LIST-BATCH-PROCESS

Format:
@LIST-BATCH-QUEUE

Parameters:
| Parameter | Description | |-------------|-----------------------------------------------------------------------| | | batch processor number as returned from @BATCH or @LIST-BATCH-PROCESS.|

Rules:
1. Permitted for all users.
2. The command has no effect on the batch processor.

Example:
@LIST-BATCH-QUEUE 1
1 CARD-READER LINE-PRINTER
2 (USER-NAME)BATIN LINE-PRINTER

The queue contains an entry from the card reader and one from the file (USER-NAME)BATIN.


Page 167

SINTRAN III COMMANDS REFERENCE MANUAL

aLIST-DEFAULT-SUBSYSTEM

Function:

List the defined command string (if any) to be executed after login.

Related SINTRAN III commands:

  • DEFAULT-SUBSYSTEM-DISABLE
  • DEFAULT-SUBSYSTEM-ENABLE
  • DEFINE-DEFAULT-SUBSYSTEM

Format:

@LIST-DEFAULT-SUBSYSTEM <output file>

Parameters:

<output file> (default = own terminal).

Rules:

  1. Permitted for all users.

Page 168

@LIST-DEVICE

Function: List the name of the RT-program which has reserved the device and the name of any RT-programs waiting for the device.

Related commands: Related SINTRAN III commands: - LIST-RT-DESCRIPTION - WHERE-IS-FILE

Related SINTRAN III Monitor calls: - WHDEV (MON 140)

Format: @LIST-DEVICE ,

Parameters: | Parameter | Description | |----------------------|---------------------------| | | (decimal value). | | | 0 = input part. | | | 1 = output part. |

Rules: 1. Permitted for all users.

Example:

@LIST-DEVICE 1,1
RESERVED BY: BAK01
The output part of device 1 is reserved by the program BAK01.


Page 169

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

LIST-DEVICE-FUNCTIONS

Function:
List all the functions available in @DEVICE-FUNCTION.

Related commands:
Related SINTRAN III commands: DEVICE-FUNCTION

Format:
@LIST-DEVICE-FUNCTIONS ,

Parameters:
| Parameter | Description | |----------------|----------------------------------------------------------------------| | <command> | selection of commands (default = all). | | <output file>| destination of the list (default = TERMINAL). |

Rules:
1. Permitted for all users.


Norsk Data ND–60.128.5 EN


Page 170

aLIST-DIRECTORIES-ENTERED

Function:
List the names of entered directories and where they are mounted.

Related SINTRAN III commands: CREATE-DIRECTORY
DIRECTORY-STATISTICS
ENTER-DIRECTORY

Format:

@LIST-DIRECTORIES-ENTERED <directory name>,<output file>

Parameters:

Parameter Description
<directory name> List all directories matching this name, which can be abbreviated (default = all directories entered).
<output file> Destination of the list (default = TERMINAL).

Rules:

  1. Permitted for all users.

Example:

@LIST-DIRECTORIES-ENTERED
DIRECTORY NAME: PACK-ONE
OUTPUT FILE: (default = terminal)
DIR INDEX 1: DISC-2-75MB-1 UNIT 0 SUBUNIT 0: PACK-ONE
@

The directory matching the name PACK-ONE is listed on the terminal.


Page 171

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

aLIST-EXECUTION-QUEUE

Function:
List all the programs in the execution queue. The list contains the name or address of the RT-description.

Related commands:
Related SINTRAN III commands: LIST-TIME-QUEUE

Format:
@LIST-EXECUTION-QUEUE

Parameters:
None.

Rules: 1. Permitted for all users. 2. Programs are listed in the order in which they occur in the queue, that is, in order of decreasing priority. 3. When the list of RT-programs in the execution queue is greater than 16, the list is sorted columnwise from left to right.


Page 172

aLIST-FILES

Function:

For each file, list file object number and full name.

Related SINTRAN III commands: FILE-STATISTICS
LIST-OPEN-FILES

Format:

@LIST-FILES ,

Parameters:

Parameter Description
list all files matching this name, which can be abbreviated, (default = all files in default directory for current user).
destination of the list (default = TERMINAL).

Rules:

  1. Permitted for all users.
  2. Only those files to which the logged-in user has read access are listed.
  3. may specify files on a remote computer. The file specifications may contain the following parameters:

    system(user(password:project)).(directory:user)file:type;version

Norsk Data ND-60.128.5 EN


Page 173

SINTRAN III COMMANDS REFERENCE MANUAL

SINTRAN III commands

LIST-FRIENDS

Function: List names and access modes of users declared as friends of the current user.

Related commands: Related SINTRAN III commands: CREATE-FRIEND
LIST-USERS
USER-STATISTICS

Format:
@LIST-FRIENDS ,

Parameters:
list all friends matching this user name, which can be abbreviated (default = all friends).

destination of the list (default = TERMINAL). **Rules:** 1. Permitted for all users. --- ## Page 174 # aLIST-INiTIAL-COMMANDS ## Function: List the commands defined as initial commands and contained in the initial command buffer which is automatically executed after pressing MACL and LOAD. ## Related commands: Related SINTRAN III commands: `INITIAL-COMMAND` `NEXT-INITIAL-COMMAND` ## Format: `@LIST-INITIAL-COMMANDS ` ## Parameters: `` destination of the list (default = TERMINAL). ## Rules: 1. Permitted only for user SYSTEM. ## Example:
@LIST-INiTIAL-COMMANDS,,
ENTER-DIRECTORY,,DISC-2-75MB,0
CONN SYS-OUT-1 105 R
CLOSE 105   
BATCH   
APPEND-BATCH 1 LOAD-MODE SYS-OUT-1   
@
Five initial commands are currently defined. --- ## Page 175 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### @LIST-MASS-STORAGE-UNITS **Function:** List all mass-storage units and corresponding directory index. **Related commands:** Related SINTRAN III commands: DEFINE-MASS-STORAGE-UNIT                                        DELETE-MASS-STORAGE-UNIT **Format:** @DELETE-MASS-STORAGE-UNIT **Parameters:** Default TERMINAL. **Rules:** 1. This command is allowed for all users. Norsk Data ND-60.128.5 EN --- ## Page 176 # LIST-OPEN-FILES **Function:** List open file number and full name of all the terminal user's open files. **Related commands:** Related SINTRAN III commands: FILE-STATISTICS LIST-FILES LIST-RTOPEN-FILES **Format:** @LIST-OPEN-FILES **Parameters:** destination of the list (default = TERMINAL). **Rules:** 1. Permitted for all users. **Example:** @LIST-OPEN-FILES, FILE NUMBER 000100: (BIG-PACK:SCRATCH)SCRATCH08:DATA; 1 @ File no. 100, (SCRATCH file named SCRATCH08:DATA) is open for the terminal. Norsk Data ND-60.128.5 EN --- ## Page 177 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands # @LIST-REENTRANT **Function:** List available reentrant subsystems established by @DUMP-REENTRANT. **Related commands:** Related SINTRAN III commands: DELETE-REENTRANT DUMP-PROGRAM-REENTRANT DUMP-REENTRANT **Format:** @LIST-REENTRANT [] **Parameters:** Only reentrant subsystems matching will be listed. **Rules:** 1. Permitted for all users. **Example:** @LIST-REENT D | START | RESTART | SEGMENT | NAME | |-------|---------|---------|----------| | 0 | 1 | 166 | DEBUGGER | --- ## Page 178 # @LIST-REMOTE-QUEUE ### Function: List the contents of a remote batch queue. ### Related commands: Related SINTRAN III commands: APPEND-REMOTE ### Format: `@LIST-REMOTE-QUEUE ` ### Parameters: `` see `@APPEND-REMOTE`. ### Rules: 1. Permitted for all users. ### Example:
@LIST-REMOTE-QUEUE IBM
1 (SYSTEM)CARD-READER
2 (USER-NAME)IBMJOB
The queue contains an entry from the card reader and one from the file `(USER-NAME)IBMJOB`. --- Norsk Data ND–60.128.5 EN --- ## Page 179 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands # aLIST-RT-ACCOUNT **Function:** List accounting data for RT-programs. **Related commands:** Related SINTRAN III commands: INIT-ACCOUNTING START-RT-ACCOUNT STOP-RT-ACCOUNT **Format:** @LIST-RT-ACCOUNT **Parameters:** None. **Rules:** 1. Permitted for users RT and SYSTEM. --- ## Page 180 # LIST-RT-DESCRIPTION ## Function: List the information in the RT-description on the terminal. 1. Current state information (repeat, IO wait, etc.). 2. Ring number. 3. Priority. 4. When last started or time left until next start. 5. Length of interval when periodic. 6. Start address. 7. Initial segment numbers. 8. Register contents. 9. READY, PASSIVE or WAITING FOR:
. 10. Actual segments. 11. Background if a background RT-program. 12. RTOFF if set. 13. Reentrant segment number if one is in use. 14. Address of data fields of reserved resources. 15. Reserved logical device number is printed in addition to the data field addresses. ## Related commands: Related SINTRAN III commands: LIST-RT-PROGRAMS Related SINTRAN Service Program commands: DUMP-RT-DESCRIPTION ## Format: @LIST-RT-DESCRIPTION ## Parameters: | Parameter | Description | |-----------|-------------| | | Symbolic name of the RT-program or address of the RT-description (octal value, default = own terminal background program). | ## Rules: 1. Permitted for all users. Norsk Data ND-60.128.5 EN --- ## Page 181 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands Example: @LIST-RT-DESCRIPTION RT-PROGRAM (NAME OR ADDRESS): (default = own terminal's background program) BACKGROUND PROGRAM ACTIVE ........ ...... .... .... ..... ..... ..... ..... | SEGMENTS 1 AND 2 | REENT | NPIT | APIT | RING | PRIORITY | TIMESLICED | |-------------------|-------|------|------|------|----------|------------| | INITIAL: | 3B | 1406B| 11B | 7B | 2 | 100B | | ACTUAL: | 3B | 1406B| 11B | 7B | 2 | 55B | START ADDRESS: 35644B LAST STARTED: 21 SECS ND-100 CPU TIME USED: 5 SECS | P | X | T | A | D | L | S | B | |-------|------|-------|-------|-------|-------|-------|--------| | 016367| 000000| 000074| 000010| 076302| 027042| 000241| 130200 | | RESERVED DATAFIELDS | LOGICAL UNIT | FIRST WAITING | |---------------------|--------------|---------------| | 23350B | 74B OUTPUT | | | 23335B | 74B INPUT | | Norsk Data ND-60.128.5 EN --- ## Page 182 # @LIST-RTOPEN-FILES **Function:** List all files open for RT-programs. **Related commands:** Related SINTRAN III commands: LIST-OPEN-FILES RTOPEN-FILE **Format:** @LIST-RTOPEN-FILES **Parameters:** destination of the list (default = TERMINAL). **Rules:** 1. Permitted only for users RT and SYSTEM. **Example:** @LIST-RTOPEN-FILES FILE NUMBER 000100 : (PACK-ONE:SYSTEM)LINE-PRINTER::2 Norsk Data ND-60.128.5 EN --- ## Page 183 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### aLIST-RT-PROGRAMS **Function:** List the current status of all RT-programs known by name to the RT-Loader. Information given is: 1. Name. 2. RT-description address. 3. Priority. 4. Status (or state). 5. P register. 6. Time left until next start when in time queue. 7. Length of interval when periodic. 8. Actual segments. 9. RTOFF if set. **Related commands:** Related SINTRAN III commands: LIST-RT-DESCRIPTION **Format:** @LIST-RT-PROGRAMS **Parameters:** destination of the list (default = TERMINAL). **Rules:** 1. Permitted only for users RT and SYSTEM. --- ## Page 184 # aLIST-SEGMENT ## Function List the following information about a segment: 1. First logical page (the first page on page table 1 is logical page 1008, the first page on page table 2 is logical page 2008, etc.). 2. Length in pages. 3. Segment file number. 4. Relative page number within the segment file. 5. Status information (permit protect, demand/non-demand, reentrant subsystem flag, etc.). ## Related commands Related RT-Loader commands: WRITE-SEGMENTS ## Format @LIST-SEGMENT `` ## Parameters `` (octal value). ## Rules 1. Permitted for all users. --- ## Page 185 # SINTRAN III Commands Reference Manual ## aLIST-SPOOLING-FORM **Function:** List the identification key as set by @SET-SPOOLING-FORM. **Related commands:** Related SINTRAN III commands: SET-SPOOLING-FORM **Format:** `@LIST-SPOOLING-FORM ` **Parameters:** `` a spooling device. **Rules:** 1. Permitted for all users. **Example:**
@LIST-SPOOLING-FORM LINE-PRINTER
FORM-1
@
Only files with user text = FORM-1 are to be printed. --- ## Page 186 # aLIST-SPOOLING-QUEUE ## Function: List the following information about the spooling queue: 1. For the file being printed and those remaining in the queue: a. Full name b. User/RT-program appending the file c. Copies left to be printed d. Bytes still to be printed in the current file 2. If defined, a user message to be written on the error device when emptying the file (see @DEFINE-SPOOLING-FILE-MESSAGE). ## Related commands: Related SINTRAN III commands: APPEND-SPOOLING-FILE DEFINE-SPOOLING-FILE-MESSAGE SPOOLING-PAGES-LEFT ## Format: @LIST-SPOOLING-QUEUE `,` ## Parameters: | Parameter | Description | |------------------------|----------------------------------------------| | `` | the spooling device. | | `` | destination of the list (default = TERMINAL). | ## Rules: 1. Permitted for all users. --- ## Page 187 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands # aLIST-TERMINATION-HANDLING **Function:** Lists commands defined with @DEFINE-TERMINATION-HANDLING and @NEXT-TERMINATION-COMMAND in background, or defined RT-program name in RT-termination. **Related commands:** Related SINTRAN III commands: DEFINE-TERMINATION-HANDLING                                                          NEXT-TERMINATION-COMMAND **Format:** @LIST-TERMINATION-HANDLING `,` **Parameters:** | Parameter | Description | |-------------------|-------------------------------------------------------------| | `` | List termination handling for RT-programs or background programs. | | `` | Default = TERMINAL. | **Rules:** 1. Permitted for all users. --- Norsk Data ND-60.128.5 EN --- ## Page 188 # LIST-TIME-QUEUE ### Function: List the programs in the time queue. The list contains the name or address of RT-descriptions. ### Related commands: Related SINTRAN III commands: LIST-EXECUTION-QUEUE ### Format: `@LIST-TIME-QUEUE` ### Parameters: None. ### Rules: 1. Permitted for all users. 2. Programs are listed in the order in which they occur in the queue, that is, in order of increasing scheduled execution time. 3. When the list of RT-programs in the time queue is greater than 16, the list is sorted columnwise from left to right. --- ## Page 189 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands # @LIST-TITLE **Function:** List system identification and title. **Related commands:** Related SINTRAN Service Program commands: DEFINE-TITLE Related ND-500 Monitor commands: VERSION **Format:** @LIST-TITLE **Parameters:** None. **Rules:** 1. Permitted for all users. **Example:** @LIST-TITLE SINTRAN III - VSX/500 K REVISION: 101300B CPU (SYSTEM NUMBER): 6323 GENERATED: 16.39.00 15 MAY 1986 @ --- ## Page 190 # aLIST-USERS ## Function: List full name of all users matching specified name. ## Related commands: Related SINTRAN III commands: LIST-FRIENDS USER-STATISTICS ## Format: `@LIST-USERS [:],` ## Parameters: | Parameter | Description | |--------------------------------|-----------------------------------------------------------------------------------------------------------| | `:` | list all users matching this name, which can be abbreviated (default = all users in all default directories). | | `` | destination of the list (default = TERMINAL). | ## Rules: 1. Permitted for all users. --- ## Page 191 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands # aLOAD-BINARY **Function:** Load a program in BPUN format from a file to the user's memory and start execution. **Related commands:** Related SINTRAN III commands: PLACE-BINARY RECOVER **Format:** @LOAD-BINARY **Parameters:** program file name (default type = :BPUN). **Rules:** 1. Permitted for all users. 2. The file must start with a bootstrap loader. 3. The addresses used for loading and starting are found in the program file, written by a )BPUN command (@MAC, @MACF, etc.). (The BPUN format is described in the NORD-100 Functional Description ND-06.015.) 4. When loading, a checksum is calculated and compared to the one in the program file. If they do not match, execution is not attempted and an error message is given. 5. No restart address is defined, so restart with @CONTINUE is not possible. **Example:** @LOAD-BINARY PROG-1 The program in the file PROG-1:BPUN is loaded and executed. --- ## Page 192 # @LOAD-REENTRANT-SEGMENT ## Function: To build a reentrant segment. ## Related commands: **Related SINTRAN III commands:** - CLEAR-REENTRANT-SEGMENT - DEFINE-REENTRANT-PROGRAM - DUMP-PROGRAM-REENTRANT - DUMP-REENTRANT **Related RT-Loader commands:** - READ-PROG-FILE ## Format:
@LOAD-REENTRANT-SEGMENT <file name>,<segment name>
## Parameters: | Parameter | Description | |-------------------|-----------------------------------------------------------| | `` | File name of the :PROG file to be loaded onto a segment. | | `` | Segment name of the segment to be used. | ## Rules: 1. Permitted only for user SYSTEM. --- ## Page 193 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### aLOGOUT **Function:** Finish a session at the terminal by logging out the user and releasing the terminal. **Related commands:** Related SINTRAN III commands: STOP-TERMINAL TIME-USED **Format:** @LOGOUT **Parameters:** None. **Rules:** 1. Permitted for all users. 2. The time and date are given. The time used is given if the accounting system is in use. 3. If there is mail in the user's mailbox a message is given. The user can collect the mail or repeat @LOGOUT to finish the session without collecting the mail. **Example:** @LOGOUT 15.20.54 9 AUGUST 1983 -- EXIT -- --- ## Page 194 # @LOOK-AT ## Function: Examine and/or modify memory locations and registers. ## Related commands: Related SINTRAN III commands: SET-MEMORY-CONTENTS STATUS ## Format: `@LOOK-AT [,]` (subcommands) ## Parameters: ### `` **MEMORY** = user's virtual memory space. Permitted for all users. **ALT-MEMORY** = user's alternative 64K memory. Addresses are specified relative to the 64K boundary. Permitted for all users with 128 pages background segment. ### `` **SEGMENT** = an existing segment. segment name or number. Permitted only for users RT and SYSTEM. **COMMON-CODE** = the common code part of any PIT. Permitted only for user SYSTEM. Available on the VSX-version only. **RTCOMMON** = common area for RT-programs. Permitted only for users RT and SYSTEM. **IMAGE** = memory of the resident part of SINTRAN III on mass storage. A modification is permanent until a cold start overwrites the image. Permitted only for user SYSTEM. Available on the VSE-version only. **RESIDENT** = resident memory (0 - 1777778). This includes the resident part of SINTRAN. A modification is permanent until changed by loading from the image area. Permitted only for user SYSTEM. Page Tables (PIT) can be accessed at the following octal addresses: | Address Range | Description | |---------------|-----------------| | PTO: 177000 - 177177 | | | PT1: 177200 - 177377 | | | PT2: 177400 - 177577 | | | PT3: 177600 - 177777 | | Available on the VSE-version only. *Norsk Data ND-60.128.5 EN* --- ## Page 195 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### REGISTERS - All registers on all hardware interrupt levels can be examined but only those on levels 2, 6, 7, 8, 9 and 15 can be changed. - The register is specified as an octal number indicating the level, followed by the register name. - Permitted only for users RT and SYSTEM. ### ALT-SEG - The alternative 64 K (the upper part) of 128 K segment. - Permitted for users RT and SYSTEM. ### PHYSICAL - The physical memory. PHYSICAL is used with double integer physical memory addresses. Only permitted for user SYSTEM. A segment name may also be used as space reference (without specifying SEGMENT). ### Rules: 1. Permission depends on the `` as shown above. 2. When the `` has been checked for legality, the message READY appears. 3. To examine a location, the octal address is typed followed by a slash (/). The contents is printed in octal and can now be changed by typing an octal value followed by CR. The value can be negative (preceded by a minus sign). If only CR is typed, the contents is unchanged and the contents of the next location is printed. 4. If an asterisk `*` is typed, the current address will be printed. 5. For REGISTERS the valid names are P, X, T, A, D, L, S and B. Register names can also be specified in QLOOK-AT MEMORY. 6. If an illegal character is typed, a question mark is printed. Illegal characters have no effect. The command is terminated by a full stop `.` or `0`. 7. If locations on mass-storage segments are changed, the pages are written out so that "patches" are made permanent. Locations changed in the user's virtual memory or the resident part of the operating system are temporary. They may be altered when loading a user program or reloading the system. 8. If `` is SEGMENT or IMAGE the changes only take place when the command is correctly terminated. 9. When MEMORY or ALT-MEMORY is specified, the user's registers may be examined. ### Example:
@LOOK-AT MEMORY
READY:
1000/ 10 100
11 . 
@
Location 1000₈ in user's virtual memory is changed from 10₈ to 100₈ (11₈ is the contents of location 1001₈). *Norsk Data ND–60.128.5 EN* --- ## Page 196 # SINTRAN III COMMANDS REFERENCE MANUAL ## aMAIL **Function:** Enter the mail system, which is used for sending messages to other users or broadcasts to all users. See the SINTRAN III Utilities Manual ND-60.151 for a further description. **Format:** @MAIL [] **Parameters:** destination of the mail from the terminal user's mailbox. Only requested when collecting mail (default = TERMINAL). **Rules:** 1. Permitted for all users, but some subcommands are restricted as shown below. 2. Messages can be sent in two ways: a. To a mailbox - the recipient is notified when logging in or out and collects mail by typing @MAIL. b. As direct mail - the message is sent immediately. 3. A broadcast is mail to all users, either to every mailbox or directly to each terminal. It can only be sent by user SYSTEM. 4. The mail system can only be used by one user at a time. **Subcommands:** 1. For all users the following subcommands are available: - **\*EXIT** exit from the mail system. - **\*FINISH** exit from the mail system. - **\*HELP** list all available subcommands. - **\*SEND-DIRECT-MESSAGE \** type message terminated by CTRL+L. The message is sent to the terminal with this . - **\*SEND-MESSAGE \** type message terminated by CTRL+L. The message is sent to the user's mailbox. $ and ' are handled as for *BROADCAST below. Norsk Data ND-60.128.5 EN --- ## Page 197 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III Commands For user SYSTEM the following additional subcommands are available: ### *BROADCAST Type message terminated by CTRL+L. It is put in the mailbox of all users. `$` is translated to CR, LF. Apostrophe `'` is permitted but terminates the message on output to its destination. ### *DELETE-BROADCAST `` The message is removed from all mailboxes. `` can be found by `*LIST-BROADCASTS`. ### *DELETE-MESSAGE `` The message is removed from the mailbox. The number can be found by `*LIST-MESSAGES`. ### *DIRECT-BROADCAST Type message terminated by CTRL+L. The message is sent immediately to all terminals. `$` and `'` are handled as for `*BROADCAST`. ### *INITIALIZE `` This command must be given by user SYSTEM before the mail system can be used. It can be used to reset the mail system. The mail is collected in the file (SYSTEM)MAILBOX:DATA. The maximum length of a message is 512 characters. ### *LIST-BROADCASTS `` All broadcasts are listed with their broadcast number on the output file (default = TERMINAL). ### *LIST-MESSAGE `` As above, but messages are listed. ### *RUN-MAIL-SYSTEM Restarts the mail system after SINTRAN start or after a `*STOP-MAIL-SYSTEM` command. The contents of the mailbox file are retained. ### *STOP-MAIL-SYSTEM The mail system is made unavailable; no mail is lost. --- ## Page 198 # aMEMORY ## Function: Defines the area of virtual memory to be saved by the @DUMP command. ## Related commands: Related SINTRAN III commands: DUMP ## Format: @MEMORY , ## Parameters: | Parameter | Description | |----------------|------------------------------------------------------------------------------------------------------| | | lower bound of area to be saved, the address limit is included, (octal value, default = 0). | | | upper bound of area to be saved, the address limit is included, (octal value, default = 0). | ## Rules: 1. Permitted for all users. 2. The user's virtual memory space is unaffected. 3. The current boundary settings are reset by @LOAD-BINARY, @PLACE-BINARY and @RECOVER. ## Example: @MEMORY 100,1777 The area to be dumped is 100₈ - 1777₈ inclusive. --- ## Page 199 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III Commands ### aMEMORY-LIMITS **Function:** Defines the area of virtual memory of both banks to be saved by the @DUMP command. **Related commands:** Related SINTRAN III commands: DUMP **Format:** @MEMORY-LIMITS \,\, \,\ **Parameters:** | Parameter | Description | |---------------------------|----------------------------------------------------------------------------------------------| | \ | lower bound of the area of code bank to be saved, the address limit is included (octal value, default = 0). | | \ | upper bound of the area of code bank to be saved, the address limit is included (octal value, default = 0). | | \ | lower bound of the area of data bank to be saved, the address limit is included (octal value, default = 0). | | \ | upper bound of the area of data bank to be saved, the address limit is included (octal value, default = 0). | **Rules:** 1. Permitted for all users. 2. The user's virtual memory space is unaffected. 3. The current boundary settings are reset by @LOAD-BINARY, @PLACE-BINARY, @PLACE-PROGRAM and @RECOVER. **Example:** @MEMORY-LIMITS 100,1777,10000,12345 The code area to be dumped is 100₈-1777₈ inclusive. The data area to be dumped is 10000₈-12345₈ inclusive. Norsk Data ND–60.128.5 EN --- ## Page 200 # aMODE **Function:** Enter SINTRAN commands from a file created by means of an editor and execute them. **Related commands:** Related SINTRAN III commands: APPEND-BATCH **Format:** `@MODE ,` **Parameters:** | Parameter | Description | |--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | `` | file containing the commands to be executed. | | `` | destination of the output normally made to TERMINAL. (If the command is being executed from the terminal (not mode or batch), default input and output files are the terminal; if it is being executed from a mode or batch job default input and output files are the currently open input and output files for that mode or batch job.) | **Rules:** 1. Permitted for all users. 2. Commands in a @MODE file should obey the following rules: a. The first character of a command line in SINTRAN, MAIL or SINTRAN-SERVICE-PROGRAM commands must be `@`, which corresponds to the prompt character typed by the system in front of commands in direct mode. Commands to other subsystems such as the editor or loader must not be preceded by `@` or any other character. b. All command parameters must be specified on the same line as the command itself. The system cannot ask for missing parameters. The usual default parameters apply. c. A @MODE command is permitted within a @MODE file or batch job. The maximum number of nesting of the MODE file can be 10. d. Data input by the user can be interspersed with command lines in the same way as if they were typed from the terminal. 3. The MODE input and output files are assigned SINTRAN file numbers starting with the first available file number (normally 1018). These file numbers are not available to user programs within the MODE file. 4. The file execution continues under the user currently logged on at the terminal from which the initial @MODE command was issued. 5. If the user program reads or writes data on device unit number 1 (file name: TERMINAL), such data will be taken from the `` and written on the ``. --- ## Page 201 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands 6. If an error condition occurs within a @MODE job, a specific error message is written on the output file, the message ***BATCH JOB ABORTED*** appears on the terminal and execution is terminated. 7. If the end of the file is reached on the input file, control is returned to the terminal. 8. The execution may be interrupted by pressing the "escape" character but cannot then be resumed, as all opened files are closed. The last process initiated can be restarted by typing @CONTINUE (see @CONTINUE for exceptions). 9. The PERFORM subsystem makes it possible to include parameters in MODE files. (See SINTRAN III Utilities Manual ND-60.151 for further details.) ### Example:
@MODE MF-1. TERM
@DEL-FI F-1:DATA
@CRE-FI F-2, 0
@
The mode file MF-1 is executed. It contains a @DELETE-FILE and a @CREATE-FILE command. These latter two commands are the contents of the file MF-1:SYMB. --- Norsk Data ND-60.128.5 EN --- ## Page 202 # MOVE-SPOOLING-QUEUE-ENTRY **Function:** Change the order of the files in the spooling queue. **Related commands:** Related SINTRAN III commands: APPEND-SPOOLING-FILE REMOVE-FROM-SPOOLING-QUEUE **Format:** @MOVE-SPOOLING-QUEUE-ENTRY `,,` `,` **Parameters:** | Parameter | Description | |----------------------------|-------------------------------------------------------------------------------------------------| | `` | the spooling device. | | `` | the file to be moved. | | `` | insert = place `` in front of next parameter. append = place `` after next parameter (can be abbreviated). | | `` | a file in the spooling queue referred to by the previous parameter. | **Rules:** 1. Permitted only for user SYSTEM and the owner of the spooling queue file. Only user SYSTEM may move entries forward in the queue. 2. The parameter `` may specify files on a remote computer. The file specification may contain the following parameters: `system(user(password:project)).(directory:user)file:type;version` **Example:** @MOVE-SPOOLING-QUEUE-ENTRY LINE-PRINTER,F-1,I,F-2 The file F-1 is moved in front of F-2 in the line printer spooling queue. --- ## Page 203 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### aNEXT-INITIAL-COMMAND **Function:** Append a command to the set of commands executed at system start-up, that is, put the command in the initial command buffer. **Related commands:** Related SINTRAN III commands: INITIAL-COMMAND LIST-INITIAL-COMMANDS **Format:** @NEXT-INITIAL-COMMAND \ **Parameters:** \ the command is written without the @ sign. **Rules:** 1. Permitted only for user SYSTEM. 2. The command buffer has room for a total of 256 characters. **Example:**
@INITIAL-COMMAND ENTER-DIRECTORY,PACK-ONE,DISC-66MB-1,0
@NEXT-INITIAL-COMMAND BATCH
@NEXT-INITIAL-COMMAND APPEND-BATCH,1,ENT-FILE,LINE-PRINTER
A sequence of three commands is entered into the initial command buffer. Norsk Data ND-60.128.5 EN --- ## Page 204 # @NEXT-TERMINATION-COMMAND ## Function Append a command to the set of commands executed in case of termination with escape, MON 65 or fatal errors such as executing privileged instructions etc. ## Related commands Related SINTRAN III commands: DEFINE-TERMINATION-HANDLING ## Format `@NEXT-TERMINATION-COMMAND ` ## Parameters `` the command is written without the @-sign. ## Rules 1. Permitted only for user SYSTEM. 2. The command buffer has room for a total of 256 characters. --- ## Page 205 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands ### @OPCOM **Function:** Enter the operator communication on the console of an ND-100. It has the same function as pressing OPCOM on the panel. **Related commands:** Related SINTRAN III commands: LOOK-AT STOP-SYSTEM **Format:** `@OPCOM` **Parameters:** None. **Rules:** 1. Permitted only for user SYSTEM. 2. The command must not be used in mode or batch jobs. 3. SINTRAN can be reentered from OPCOM by pressing "escape". 4. Only allowed on the console (terminal no. 1). --- ## Page 206 # aOPEN-FILE **Function:** Make a file available for access and return the file number used for accessing the file. **Related commands:** Related SINTRAN III commands: - CLOSE-FILE - CONNECT-FILE - RTCONNECT-FILE - RTOPEN-FILE - SCRATCH-OPEN - SET-PERMANENT-OPEN Related SINTRAN III Monitor calls: OPEN (MON 50) **Format:** `@OPEN-FILE ,` **Parameters:** | Parameter | Description | |-------------|-------------| | `` | name of file to be opened (default type = :SYMB). | | `` | the intended access mode, a legal combination of: | - R - read - W - write - X - random access - A - append - C - common access (contiguous file only) The following combinations are legal: - R - sequential read - W - sequential write (access starts at beginning of mass-storage file) - RW - sequential read and write - RX - random read - WX - random read and write - WA - sequential write append (access starts at end of mass-storage file) - RC - random read with read and write access from other users allowed (contiguous files only) - WC - random read and write with read and write access from other users allowed (contiguous files only) - D - direct transfer (ND-500 only) - DC - direct transfer with file closed (ND-500 only) **Rules:** 1. Permitted for all users with sufficient `` to the file. 2. New file names and/or versions can be created when opening the file by enclosing `` in quotes (default type = :SYMB). 3. If file access is permitted, the message FILE NUMBER IS = n is printed. n is the `` (octal value) to be used for later access. --- ## Page 207 # SINTRAN III COMMANDS REFERENCE MANUAL ## SINTRAN III commands 4. An error message is produced if the file cannot be opened. 5. Files opened for sequential access require more than one open file tables entry on the system segment. The additional table entries is used for buffering input and/or output. If files are accessed sequentially, the maximum number of simultaneously opened files is reduced on most systems. 6. Appendix B lists logical device numbers. This is the default number specified by ND at system generation. ### Example:
@OPEN-FILE "F-1:DATA",W
FILE NUMBER IS 000101
@
The indexed file F-1:DATA is created and opened for sequential write only. It is assigned file number 1018. Norsk Data ND-60.128.5 EN --- ## Page 208 # aOPERATOR **Function:** Send message to error device. **Related commands:** Related SINTRAN III commands: RESTART-USER WAIT-FOR-OPERATOR **Format:** @OPERATOR `` **Parameters:** `` any printable characters terminated by CR (default = no text). **Rules:** 1. Permitted for all users. 2. On the error device the following two lines are produced: `***