ICL 1900 Series George 3 Operating System Commands
SAVE (SV)
Function
Saves the state of the current core image in a file.
Format
SAVE file name,device type
The file name is that of a filestore file to which the core image
is to be written. The device type is optional. If present, it
must be either *CP (if a card file is required) or *DA (if a disc file
is required). If the parameter is absent, GEORGE assumes the device type
to be *DA.
If the device type is *CP, the file name can be the name
of an existing serial file to which the user has WRITE access. Otherwise
a file with the specified name will be created.
The TRAPGO entrant description qualifier may be specified with the SAVE
command to set the required traps for the file.
Forbidden contexts
NO CORE IMAGE
Execution
A binary dump of the program is produced in a format acceptable to the
LOAD,
LOADENTER,
RESTORE and
RESUME commands and to an
Operator's Executive. The file name cannot be obeyed as a macro.
If the program has any peripherals, a message is output to the
monitoring file system for each one in the form
peripheral name NOT SAVED
This means that if the saved file is restored, these peripherals will
be lost.
Examples
SAVE SVFILE(3)
Reply *LP0 NOT SAVED
Notes
- The SAVE command does not alter the state of a program in any
way.
- When an overlay program is loaded, the program file is (traps
permitting) ASSIGNed to
the program so that the program can access its overlays. This file
is released by SAVE as are all other peripherals connected to the
program. This also applies to an ONLINEd magnetic tape in the case of a program
overlaying from magnetic tape.
If a program is loaded from a basic peripheral type file, the
'retain load peripheral' bit may be set so that the program can
read data following the binary program in the file. As above, traps
permitting, the file is ASSIGNed to the program by LOAD and released by SAVE. If this file is
ASSIGNed again when the
saved file is restored, it is not repositioned at the start of the
data.
- It should be noted that the following details in the saved file are
taken from the current state of the program and they will be
attributed to the program when it is reloaded.
The request slip in the saved file contains the size of the core
image at the time the SAVE command was issued. A supplementary
request slip will be formed if one existed whent he program was
first loaded or if the program was nor in compact mode when the SAVE
command was issued. In either case the current branch and address
modes will be recorded in the supplementary request slip.
Error Messages
FILE NAME PARAMETER MISSING
z IS NOT A CORRECT PERIPHERAL NAME