ICL 1900 Series George 3 Operating System Commands
NEW (NE)
Function
Introduces one or more magnetic tapes to the system as work tapes, pool
tapes or owned tapes. It may also be used to clain ownership of a tape
curremtly at Query Status and thought by :SYSTEM.SERIAL to be a pool
tape.
Format
NEW tape description1, tape description2,
....tape descriptionn
The magnetic tape description has a different format if issued in USER context rather than NO USER context:
- NO USER Context
(tape serial number,code)(*MT)
The code is optional and if given must be either P for a pool
tape or W for a work tape. If the code is omitted the tape
will become a work tape.
- USER Context
(tape serial number,magnetic tape
name)(*MT)
The magnetic tape name is optional.
Forbidden contexts
None
Execution
- NO USER Context
An entry for each of the specified tapes is created in
:SYSTEM.SERIAL, indicating that each tape is a pool tape or work
tape. The tapes that are to become pool tapes must be loaded so
that they may be labelled POOL TAPE.
- USER Context
If the tape is currently not known to the system then a directory
entry is set up in the directory implied in the tape description
(this directory must belong to the proper user). If a local name was
not given in the parameter then a name of 12 zeros is put in the
directory until the tape is next loaded, at which time the file name
on the header label can be accessed and used to overwrite the 12
zeros. A corresponding entry is set up in :SYSTEM.SERIAL and the
user's SPACEMT budget is updated. A READ access trap is set for the
user.
If there is already a tape of this serial number known to the system
and thought to be a pool tape but in query status, then the tape is
loaded and its name checked against the name given in the magnetic
tape description. If they are the same a directory entry is set up
as described above. The entry for this tape in :SYSTEM.SERIAL and
the user's SPACEMT budget are updated and the query status removed.
Example
- NO USER Context
NEW (360222)(*MT),(366221,W)(*MT),(366222,P)(*MT)
- USER Context
NEW (124250)(*MT),(360225,MYTAPE)(*MT)
Error Messages
SERIAL NUMBER ALREADY GIVEN IN THIS COMMAND
DEVICE TYPE QUALIFIER IMPERMISSIBLE
DEVICE TYPE QUALIFIER MISSING
SERIAL NUMBER MISSING
z IS A XENOTAPE AND MAY NOT BE REFERRED TO BY THIS COMMAND
SERIAL NUMBER ALREADY KNOWN
THE POOL/WORK TAPE CODE IS INCORRECT
TAPE IN USE
YOU DO NOT OWN z
MT z HAS BEEN WRONGED BY THE OPERATOR
MT z CORRECTLY IDENTIFIED BUT NOT AVAILABLE
MAGNETIC TAPE FAILED
TAPE IS AT QUERY STATUS BUT NAME GIVEN DOES NOT AGREE WITH HEADER
LABEL