Version 8.2.5
 —  Utilities  —

NEWWORK: Defining a Work File

The following parameters are used for Work data set definition:

graphics/util_adadef_newwork.png

Notes:

  1. The Adabas nucleus must not be active during this function, and the old Work must be specified in the JCL/JCS.
  2. The ADADEF NEWWORK function cannot be executed if a pending autorestart exists.

This document covers the following topics:


Essential Parameter

WORKSIZE: Work Data Set Size

The number of blocks or cylinders to be assigned to the Work data set.

Top of page

Optional Parameters

NOUSERABEND: Termination without Abend

When a parameter error or a functional error occurs while this utility function is running, the utility ordinarily 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.

Note:
When NOUSERABEND is specified, we recommend that it be specified as the first parameter of the utility function (before all other parameters). This is necessary to ensure that its parameter error processing occurs properly.

WORKDEV: Device Type

The device type to be assigned to the new Work data set.

This parameter is required only if the device type to be used is different from that specified by the ADARUN DEVICE parameter.

Top of page

Example

A new Work data set is defined with a size of 50 cylinders. The device type is obtained from the ADARUN DEVICE parameter.

ADADEF NEWWORK
ADADEF WORKSIZE=50

Top of page