The DELPLOG function allows you to dynamically delete a protection log (PLOG) data set without terminating your current nucleus session. PLOG data sets can also be dynamically deleted using an equivalent function in the Adabas Online System (AOS).
Note:
Any PLOG data sets you delete dynamically may reappear once you recycle your Adabas
nucleus. To ensure the PLOG data set is dropped when Adabas is stopped and restarted, alter
the Adabas startup JCL as well, ensuring that the NPLOG ADARUN parameter setting is reduced to account for the
dropped PLOG data sets.
Running the ADADBS DELPLOG utility function is invalid when Adabas is running with dual PLOGs.
This document describes the syntax, processing, and parameters of the ADADBS DELPLOG function.
- NUMBER: PLOG Data Set Number
Use the NUMBER parameter to specify the number of the nonsequential PLOG data set to be deleted. Valid values are integers ranging from "3" 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 PLOG data set should be dynamically deleted.
- 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.
In the following example, PLOG data set 3 is dynamically deleted from its 3390 device.
ADADBS DELPLOG NUMBER=3,CLOGDEV=3390
In the following example, PLOG data set 6 is dynamically deleted for the Adabas nucleus 65590 in a cluster environment.
ADADBS DELPLOG NUMBER=6,NUCID=65590