Back-to-Basics: Save (AP style)
Multi-value Solutions
Nathan Rector
Natec Systems
nater@northcoast.com
http://www.northcoast.com/~nater/
The Save command is a key command that should be mastered by every administrator. Most of the time this command is shelled in some program or another that is used when a full save is done, for example, the TCL command FILE-SAVE.
Since a system backup is so esentual, understanding all the paramters that work with a the Save command and how the Save command deals with the systems data is very important. There are likely times when the basic understanding of how this command will help save you from losing hours, if not days, worth of work.
The Save command is a TCL2 verb. What this means to you is that anyone who is using this command also has access to your complete system and all the commands on the system.
The Save command will save all files excempt 'dx' and 'dy'. If a 'dy' files is found, then the only the file itself will be saved, but none of the data in the file will be saved.
The Save command will only save data and files. It will not save the information in overflow frames, the spooler, or transaction logger.
:save (ft - does a full save to tape and displays each file it is saving.
Options:
b - Saves the Advanced Pick B-tree. Normally this information is regenerated automaticly after a file-restore.
c - Creates a R83-compatible tape. This will only create a tape format that can be restored on an R83 machine. It will not convert imcompatible dictionary items or compiled basic code. If the file is not labled as a 'dc' type and have binary items, ie program file and pointer files, will be skipped.
f - display file names as they are saved.
g - display GFE when found, but skip the group and continue save.
i - save individual accounts. Same as ACCOUNT-SAVE.
k - Reorganizes all "File-Of-Files" numbers sequentually on the tape. This is helpful when you have corrupt data.
l - save only those items listed in attribute 25 and beyond in 'File-of-Files'. If an '*' is found, then save all the items. If no items are listed, only have the file itself, as if the file was 'dy' file type.
p - directs the console output to the printer.
q - changes the concole output to an R83 format
r - same as 'l', except the list is saved as well
s - generates a Stats report.
t - sends saved information to 'tape'
u - performs and incremental save. Only saves changed items since last save.
v - Proforms a full save but does not mark the item as saved.
w - marks the items as saved while the save is processing instead of in a batch process when it is done.
x - Overrides the normal actions a save does with a 'dx' file and saves it
y - Overrides the normal actions a save does with a 'dy' file and saves it