Version 8.2.3
 —  Utilities  —

DELCLOG: Dynamically Deleting CLOG Data Sets

The DELCLOG function allows you to dynamically delete a command log (CLOG) data set without terminating your current nucleus session. CLOG data sets can also be dynamically deleted using an equivalent function in the Adabas Online System (AOS).

Note:
Any CLOG data sets you delete dynamically may reappear once you recycle your Adabas nucleus. To ensure the CLOG data set is dropped when Adabas is stopped and restarted, alter the Adabas startup JCL as well, ensuring that the NCLOG ADARUN parameter setting is reduced to account for the dropped CLOG data sets.

graphics/util_adadbs_delclog.png

Running the ADADBS DELCLOG utility function is invalid when Adabas is running with dual CLOGs.

This document describes the syntax, processing, and parameters of the ADADBS DELCLOG function.


Essential Parameters

NUMBER: CLOG Data Set Number

Use the NUMBER parameter to specify the number of the nonsequential CLOG data set to be deleted. Valid values are integers ranging from "2" through "8" (inclusive).

NUCID: Cluster Nucleus ID

This parameter is required only in cluster environments.

Use the NUCID parameter to specify the nucleus ID of the Adabas within the cluster to which the CLOG data set should be dynamically deleted.

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

Top of page

Examples

In the following example, CLOG data set 3 is dynamically deleted from its 3390 device.

ADADBS DELCLOG NUMBER=3,CLOGDEV=3390

In the following example, CLOG data set 6 is dynamically deleted for the Adabas nucleus 65590 in a cluster environment.

ADADBS DELCLOG NUMBER=6,NUCID=65590

Top of page