The DEALLOCATE function may be used to deallocate an address converter, Data Storage, normal index or upper index extent. Only one extent may be deallocated per ADADBS execution.
This document covers the following topics:
These parameters specify the type and size of extent to be deallocated. One and only one extent type and size may be specified. The size must be in number of RABN blocks followed by "B" (for example, DSSIZE=20B), and cannot exceed the number of unused RABNs at the end of an extent.
FILE specifies the file for which the extent is to be deallocated. Specify a decimal value.
When an error is encountered while the function is running, the utility prints an error message and terminates with user abend 34 (with a dump) or user abend 35 (without a dump).
If NOUSERABEND is specified, the utility will not abend after printing the error message. Instead, the message "utility TERMINATED DUE TO ERROR CONDITION" is displayed and the utility terminates with condition code 20.
The password of the file for which space is to be deallocated. This parameter is required if the file is password-protected. Specify the password between apostrophes (').
The first RABN of the extent in which deallocation is to take place. If this parameter is omitted, the last extent for the file will be deallocated. In the address converter, only the last extent may be deallocated.
The TEST parameter tests the operation syntax without actually performing the operation. Only the syntax of the specified parameters can be tested; not the validity of values and variables. See Syntax Checking with the TEST Parameter for more information on using the TEST parameter in ADADBS functions.
An address converter extent of 30 blocks is to be deallocated for file 15.
ADADBS DEALLOCATE FILE=15,ACSIZE=30B