|
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.name | is the name of the file into which data is to be restored. |
| item.list | is 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. |
| options | is any combination of the following: |
| BINARY | Suppresses translation of field marks to newlines when restoring directory files. Use this option when restoring binary data. |
| DET.SUP | Suppresses display of the name of each file as it is restored. |
| NO.CASE | Causes new files to be created with case insensitive record ids. Existing files are not reconfigured. |
| NO.INDEX | Do not create alternate key indices. |
| NO.OBJECT | Omits restore of object code. This is particularly useful when migrating to QM from other environments. |
| POSITIONED | Assumes that the tape is already positioned at the start of the data to be restored. |
| NO.QUERY | suppresses 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
|