SEL.RESTORE

SEL.RESTORE

Top  Previous  Next

 

The SEL.RESTORE command restores a single file from a Pick style ACCOUNT.SAVE or FILE.SAVE tape.

 

 

Format

 

SEL.RESTORE {DICT} target.file.name {item.list} {options}

 

where

 

target.filet.nameis the name of the file into which data is to be restored.

 

item.listis a list of records to be restored. The default select list may be used instead. If omitted, and no list is active, all records are restored.

 

optionsis any combination of the following:
BINARYSuppresses translation of field marks to newlines when restoring directory files. Use this option when restoring binary data.
DET.SUPSuppresses display of the name of each file as it is restored.
NO.CASECauses new files to be created with case insensitive record ids. Existing files are not reconfigured.
NO.INDEXDo not create alternate key indices.
NO.OBJECTOmits restore of object code. This is particularly useful when migrating to QM from other environments.
POSITIONEDAssumes that the tape is already positioned at the start of the data to be restored.
NO.QUERYsuppresses the confirmation prompt when restoring using a select list. The NO.SEL.LIST.QUERY mode of the OPTION command can be used to imply this option.

 

 

Unless the POSITIONED option is used, the SEL.RESTORE command prompts for the name of the account and the file within that account. It then restores the data for this file from the tape into the specified target file which must already exist.

 

The tape to be restored must first be opened to the process using the SET.DEVICE command.

 

 

See also:

ACCOUNT.RESTORE, ACCOUNT.SAVE, FILE.SAVE, FIND.ACCOUNT, QMSAVE, RESTORE.ACCOUNTS, SET.DEVICE, T.ATT, T.DUMP, T.LOAD, T.xxx