Version 7.4.4
 —  Utilities  —

NEWWORK: Defining a Work File

The following parameters are used for Work dataset 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 Dataset Size

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

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).

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 dataset.

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 dataset 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