rest
This command is used in conjunction with the save command. It lets you back up a program to the point where the last SAVE command was issued. Functionally, here's what happens:
Multiple restores from the same save are permissible. Be aware that all trace options, breakpoint locations, etc. in effect at the time of the SAVE will be reinstated, even though they may have changed. Note that files in use at the time of the SAVE will not be repositioned.
For obvious reasons, multiple commands cannot be specified on the same input line following the RESTORE command. As with SAVE, parameters are not specified with the RESTORE command.
Since the restore is done using a DRL RESTOR, rather than a DRL CALLSS, the program descriptor does not change to CMDU in the process.
If the user does some file switching, and tries to load a save file from another LODT session, results are unpredictable. It may work, or give a core hole which is too large, or produce a bad DRL argument, because the core hole is too small. The user will either get a "successful" return (LODT is lying), or get blown out of the water.
Copyright © 1996, Thinkage Ltd.