tcl.set-device

Verb: Access/TCL, Releases: AP/Unix

Attaches device (sct/floppy/half) on AIX.

Syntax

set-device {?} {(options} set-device {device} {(options} set-device {keyword} {(options}

Description

attaches the sct, floppy or half-inch or special devices.

This command is a more generalized form of the standard 'set-half', 'set-sct', 'set-8mm' or 'set-floppy' commands.

'device' may be expressed as a number, through options or by up to three keywords extracted from the fields DEVICE, TYPE or OPTIONS in the list-device command. Devices are numbered from 0 to 9 as they appear in the configuration file. Note that the options may not allow complete selection. If a system has two identical devices, for example, two 5 1/4' floppy drives, the options will select only the first. The form with a device number must be used for these cases, using either the device number or the Unix device name as keyword. If no argument is provided, 'set-device' simply lists the currently defined devices, as list-device.

'device' is a device number, from 0 to 15, obtained from the 'list-device' command or can be composed of up to three keywords identifying the device.

The available keywords are: 720k, 1.2M, 1.44M, 3 1/2', 5 1/4', floppy, sct, 8mm and 'half inch'. As of release 6.0, 2.88 megabyte diskette drives are supported.

Options

3 3-1/2' floppy.

5 5-1/4' floppy.

9 9-track, 1/2' tape.

a 5-1/4' floppy.

b 3-1/2' floppy.

c Changes the 8mm tape block size. The current tape block size is displayed and the operator is prompted for the new block size (0 or 512). On AP/Unix Systems, the default block size is set at '0' (zero) at install time. Zero means variable-length.

e Selects 2.88mb floppy. (AP 5.2.5 and higher only).

f Floppy (3-1/2' or 5-1/4' as default)

h High density (1.44M for 3-1/2' floppy, 1.2M for 5-1/2' floppy, 6250 bpi for 9-track tapes, 150M for Quarter Inch tapes).

i Suppresses display of devices after the command is complete (used in macros).

k Hard disk 'pseudo' tapes. These devices are removable or fixed hard disks or regular Unix files. Their size is fixed and determined by the device or by the maximum file size for a user. The main usage for these devices is for small, fast t-dumps/saves, transaction logging or incremental saves.

l Low density (720K for 3-1/2' floppy, 1600 bpi for 9-track tapes).

m Medium density (720K for 5-1/4' floppy, 3600 bpi for 9-track tapes).

n Network 'pseudo' tape. This device has an 'infinite' size. It is assumed another system is reading the data at the 'other end' of the network.

q quarter Inch tape.

r Prevents an automatic rewind on the device. This option must be used to set the device to a floppy with an unformatted floppy disk in the drive.

s Standard density (360 for 5-1/2' floppy, 60M or 120M for quarter-inch (SCT) tapes.

Example

set-device floppy 1.44m
Selects the 3 1/2' floppy.

set-device rmt0
Selects the tape device associated with the Unix device /dev/rmt0.

See Also

Command Name Type Description
tcl.list-device Verb: Access Lists Unix devices used as 'tapes'.
tcl.set-half Verb: Access Attaches half-inch tape drive to current process.
tcl.file-save Verb: Access System backup process.
tcl.admin.tape Menu This menu on the dm account is used for tape control.
tape.handling.verbs Definition 'Tape' is a generic reference to the currently attached peripheral storage device.
tcl.fuser Verb: Access Display ownership info on a device.
basic.writet Statement Writes a string to magnetic media.
tcl.admin.tape.setup Menu This menu on the dm account will allows assigning the various types of tape devices.
tcl.:files Verb: Access Restores entire file system from 'file-save' media.
tcl.set-8mm Verb: Access Selects/attaches 8mm cartridge.
tcl.sel-restore Verb: Access Restores item(s) from save media.
basic.readtl Statement Reads label from magnetic media.
basic.readtx Statement Reads one tape record and displays in hexadecimal.
ue.313c User Exit Returns the diskette drive type and density selected.
ue.e070 User Exit Returns the current tape reel number into the input buffer.
tcl.chg-device Verb: Access Changes a device.
access.tape Modifier Produces Access report from magnetic media.
tcl.set-floppy Verb: Access Attaches floppy diskette drive to current process.
tcl.set-sct Verb: Access Attaches streaming cartridge tape to current process.
tcl.t-select Verb: Access Attaches a 'tape' device.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.