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.

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.

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.

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