The ADD function adds a new data set to the Associator or Data Storage.
This document describes the syntax, processing, and parameters of the ADADBS ADD function.
For the Associator or for Data Storage, the data set to be added may be on the same device type as that currently being used or on a different one. A maximum of 99 physical extents is now set for Associator and Data Storage data sets. However, your actual real maximum could be less because the extent descriptions of all Associator, Data Storage, and Data Storage Space Table (DSST) extents must fit into the general control blocks (GCBs). For example, on a standard 3390 device type, there could be more than 75 Associator, Data Storage, and DSST extents each (or there could be more of one extent type if there are less for another).
Note:
The Associator and Data Storage data set sizes must be added
separately. It is not possible to add both with a single
operation.
After an ADD operation is completed for an Associator or Data Storage data set, the ADD function automatically ends the current nucleus session. A message informs you when the nucleus has been stopped. Assuming the added data set has already been formatted and the JCL/JCS has been updated for all nucleus startup and utility procedures, the nucleus can then be restarted. Once it is restarted, the additional free space added by the ADD operation will be available.
To add an additional data set to the Associator or Data Storage
Allocate the data set with the operating system, then format the additional space using the ADAFRM utility.
Add necessary JCL/JCS to all Adabas nucleus and Adabas utility execution procedures.
Execute the ADD function.
Restart the nucleus.
The device type to be used for the new data set. These parameters are required only if a different device type from the device type specified by the ADARUN DEVICE parameter is to be used.
For VSAM data sets, use dynamic device types; that is, DDxxxxR1=9999, DDxxxxR2=8888, ... DDxxxxR5=5555. For example, if DDDATAR3 is added, DATADEV=7777.
The number of cylinders to be contained in the new data set.
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 TEST parameter tests the operation syntax without actually performing the operation. Note that the validity of values and variables cannot be tested: only the syntax of the specified parameters can be tested. See Syntax Checking with the TEST Parameter for more information about using the TEST parameter in ADADBS functions.
A new data set containing 800 cylinders on 3350 disks is to be added to Data Storage.
ADADBS ADD DATASIZE=800, DATADEV=3350
A new data set containing 100 cylinders is to be added to the Associator on the Associator's existing device type.
ADADBS ADD ASSOSIZE=100