Top  Previous  Next


The SET.DEVICE command opens a tape or pseudo-tape for processing by QM. The synonym T.ATT may be used.









device.nameis the pathname of the device to be opened. This must be enclosed in quotes if it commences with a backslash on Windows.


formatidentifies the media format.



The SET.DEVICE command assigns a tape device or a file representing a pseudo-tape to the current QM process. The device can then be used by other tape processing commands such as ACCOUNT.SAVE, ACCOUNT.RESTORE, T.DUMP, T.LOAD and the tape utility commands.


Note: QM does not support Pick style use of floppy disks as tape devices.


If the format option is not given, SET.DEVICE attempts to detect the format of the image being attached by examination of the data. A code signifying the format is then stored internally for future use by the other tape processing utilities.


The NO.QUERY option suppresses the confirmation prompt asking if a previously attached device should be detached.


Note that access to real tape devices (as opposed to pseudo-tapes) may offer limited functionality. In particular, the Pick compatible tape transfer tools require the ability to process file mark blocks, a feature which may not be provided by the underlying operating system device driver. Use of pseudo-tapes is strongly recommended.


To use a floppy disk drive (e.g. a Pick style account save) specify the as "A:" on Windows or use the device driver name (probably /dev/fd0) on Linux.


The formats currently supported are:

ASPICK style ACCOUNT-SAVE image (also the QM ACCOUNT.SAVE format)



FSPICK style FILE-SAVE image.
ULTFSUltimate style FILE-SAVE image.


The AS type can be either a single ACCOUNT-SAVE or several ACCOUNT-SAVEs on the same tape. These multiple saves are created by successive ACCOUNT-SAVE commands issued without rewinding the tape between saves. If multiple accounts exist, this format is handled like the FS type by the tape utilities and RESTORE.ACCOUNTS, FIND.ACCOUNT and SEL.RESTORE operations may all be used.


The ULTFS format is a FILE-SAVE format in which several accounts are expected.


The JBS format is essentially the same as the individual files that comprise the ULTFS set. These files have a single label followed immediately by the account data and are treated like individual AS types.



See also: