Version 8.2.3
 —  Utilities  —

DECREASE: Decrease Last Associator or Data Storage Data Set Size

The DECREASE function decreases the size of the last data set currently being used for the Associator or Data Storage. The space to be released must be available in the free space table (FST).

The DECREASE function does not deallocate any of the specified physical extent space.

graphics/util_adadbs_decrease.png

This document covers the following topics:


Essential Parameter

ASSOSIZE | DATASIZE: Blocks to Be Decreased

ASSOSIZE/DATASIZE define the number of blocks by which the Associator or Data Storage data set is to be decreased, specified as a decimal value followed by "B". Either ASSOSIZE or DATASIZE can be specified, but not both. If both ASSOSIZE and DATASIZE are to be specified, each must be entered on a separate ADADBS DECREASE statement.

Top of page

Optional Parameters

NOUSERABEND: Termination without Abend

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). When NOUSERABEND is specified, it must be specified as the first parameter (before all other parameters) for the utility function.

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.

TEST: Test Syntax

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.

Top of page

Example

The Associator is to be decreased by 100 blocks and Data Storage is to be decreased by 200 blocks.

ADADBS DECREASE ASSOSIZE=100B
ADADBS DECREASE DATASIZE=200B

Top of page

Procedure

Start of instruction setTo deallocate space, perform the following steps:

  1. Decrease the database with the DECREASE function;

  2. Save the database with ADASAV SAVE;

  3. Reformat the data sets with ADAFRM;

  4. Restore the database with ADASAV.

Top of page