Hold

PurposeHOLD is used to save a current copy of the text being created or modified.  HOLD will store text even if it is incomplete or contains errors, and returns control to the edit level.

Syntax

HO/LD/

Example

--HOLD
--PRINT
--00001 CITY,CHAR,20
--00002 STATE,CHAR,2
--00003 COUNTRY,CHAR,20
--STOP
*LIST SF DATA1
CITY,CHAR,20
STATE,CHAR,2
COUNTRY,CHAR,20

NOTES:  Statements stored in the Data Base Library (DBL) by using HOLD cannot be executed.  SAVE must be used to create an executable version.  If an object has previously been saved, HOLD deletes the old compiled version when it stores the current text version.

HOLD should be issued at intervals to save text being created or modified, particularly when working on a sizable object.  Then if the computer fails all work will not be lost, since text created before the last HOLD will be written in the DBL. HOLD is also useful for saving an object being edited which contains errors that cannot be fixed immediately or when work has to be interrupted.

After a HOLD, leave edit level with the STOP editing command.