Example:
$ MUPIP FREEZE MUMPS.DAT
This command prevents updates to the MUMPS.DAT file in the current default directory.
Example:
$ MUPIP FREEZE /OFF /OVERRIDE MUMPS.DAT
This command enables updates to the MUMPS.DAT database file in the current directory, regardless of what process might have previously suspended them.
Example:
$ SET NOON
$ MUPIP FREEZE /ON /RECORD *
$ BACKUP PROD:[APP1.DATA]*.DAT TAPE:WEEKLY.SAV
/SAVE /REWIND
$ MUPIP FREEZE /OFF *
$ SET ON
The SET NOON command specifies that all commands in the sequence are attempted, regardless of errors encountered by any command. This ensures that the FREEZE /OFF is processed even if the BACKUP command fails. The FREEZE prevents updates to all database files identified by the current Global Directory. The /RECORD qualifier specifies that the current transaction in each database be stored in the RECORD portion of the database file header. The BACKUP command creates a save-set on the device TAPE, and copies all files from PROD:[APPL1.DATA] that have an extension of .DAT to the save-set. Presumably all database files in the current Global Directory are stored in that directory, with that extension. The second FREEZE command re-enables updates that were suspended by the first FREEZE. The SET ON command re-enables normal error handling by DCL.