Virtual Hometerm Subsystem (VHS) Manual (H06.03+)

Using VHS
Virtual Hometerm Subsystem (VHS) Manual429311-001
3-15
VHS Inspect File
Example for SAVE Command Without a File Name
When the Save command is given with a file name, VHS appends an index to the save
file name specified. Inspect saves the savefile of the application trapped under this file
name. When the same application enters into trap again, the index appended to the
save file will be incremented by 1.
The number of digits in the index will be <= 4.
VHS Inspect File Validation
Each time VHS loads the VHS Inspect file, a validation is performed. VHS validates the
keywords PROCESS, PROGRAMFILE, and LANGUAGE and what follows those
keywords on the same line. VHS does not validate the information between two
sections; in particular, Inspect commands are not validated. Also, if VHS rejects a
section keyword or name, all the following lines are also rejected until VHS finds
another valid keyword and section name. If a line has more than 132 characters, VHS
keeps only the first 132 characters and discards the rest of the line. For each error
found in the VHS Inspect file, an EMS event is generated.
VHS Inspect File Limitations
In the VHS Inspect file, you can have up to 100 sections and a maximum of 5000 bytes
loaded in memory. If the Inspect file contains more than 100 sections and/or more than
5000 bytes, VHS stops loading when one of these two limits is reached, and an EMS
event is generated specifying that the loading was stopped.
Modification of the VHS Inspect File
VHS loads the VHS Inspect file when it starts. The VHS Inspect file can also be
modified any time while VHS is running. When that happens, VHS reloads the file only
PROCESS $INS1
COMMENT displays the current settings of the Inspect environment
COMMENT and selectable parameters.
ENV
COMMENT Invoke default save command
SAVE
EXIT
Command File saved as
SAVE A Annnn (A0000 to A9999)
SAVE ABCD ABCDnnnn (ABCD0000 TO ABCD9999)
SAVE ABCDEFG ABCDEFGn (ABCDEFG0 TO ABCDEFG9)
SAVE
ABCDEFGH
ABCDEFGH (No index is added)
SAVE ABC012 ABC012nn (Note that numbers in the file name
are treated just like other characters.)