User's Guide

DEALLOC

DITTO command ---- Deallocate DITTO device(s)

Function:

Deallocates a DITTO input/output device. If the device is "tape," the tape is dismounted and unloaded.

Parameters:

DEVTYPE
Device type. Specifies which input/output device is to be deallocated. Valid values are:


  = INPUT:  Input device
  = OUTPUT: Output device
  = BOTH:   Input and output devices

Examples:

  1. DITTO> dealloc devtype=input

    The user has requested to deallocate the input device. If the input device is a tape, it is dismounted.

  2. DITTO> dealloc devtype=both

    The user has requested to deallocate both the input and output devices. If either device is a tape, it is dismounted.

Description/Algorithm:

From the parameter DEVTYPE, it is determined which device(s) are to be deallocated. If the device to be deallocated is a tape, the tape is dismounted. The global variables are updated to indicate that the device is not allocated.

Nonfatal Error Messages:

    None.

Fatal Error Messages:

    None.

User Note:

  1. If the user wants to continue processing with different input/output devices, the command DEALLOC may be followed by command ALLOC to allocate the new input/output devices.