IRAF help page for package system, program allocate

from NOAO allocate -- allocate a deviceUSAGEPARAMETERSDESCRIPTIONEXAMPLESSEE ALSO

allocate -- allocate a device


USAGE

allocate device


PARAMETERS

device

The device to be allocated.


DESCRIPTION

Allocate allocates a device for exclusive access by one user, and readies the device for i/o by some other program. Examples of allocatable devices are magtapes and image displays. A list of the devices available on the local system is maintained in the file dev$devices. The status of given device may be obtained by calling devstatus.


EXAMPLES

1. Print a list of the allocatable devices. The logical device names are given at the left in the output text; ignore the information to the right.

.ks

	cl> type dev$devices
	mta ...
	mtb ...
	mtc ...
	iis ...
.ke

2. Allocate a tape drive after checking its status.

.ks

	cl> devstatus mtb
	device mtb is not currently allocated
	cl>
	cl> allocate mtb
.ke

SEE ALSO

deallocate, devstatus,


This page automatically generated from the iraf .hlp file. If you would like your local iraf package .hlp files converted into HTML please contact Dave Mills at NOAO.

dmills@noao.edu