Version 8.2.3
 —  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 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.

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