Activating Auditing for Application Files

#### Search Results

Search

# Activating Auditing for Application Files

Once Adabas Auditing has been installed, the auditing of application files can be implemented as described by the following steps:

- Step 1. Supply Auditing Definitions to the Audit Server

- Step 2. Enable Database Auditing with ADARUN AUDITING=YES

- Step 3. Identify Files for Auditing by an Audit Name

- Step 4. Enable File Auditing using Database ADAANP statements

## Step 1. Supply Auditing Definitions to the Audit Server

Auditing definitions are used to customize the auditing process. This includes specifying the application files that are to be processed for auditing.

These auditing definitions are maintained in the Auditing system file and are read by the Adabas Audit Server at start-up. Refer to Adabas Auditing Configuration for information regarding creating and maintaining auditing definitions in the Auditing system file.

Stop and restart the Audit Server to pick up or refresh the auditing definitions in the Auditing system file.

## Step 2. Enable Database Auditing with ADARUN AUDITING=YES

To enable database auditing, you must add the ADARUN parameter `AUDITING=YES` to each Adabas nucleus job containing those application files which have been specified in the Auditing definitions used by the Audit Server.

Refer to the Reference chapter > Pertinent ADARUN Parameters for Auditing for more information on the `AUDITING=` parameter and other auditing related ADARUN parameters appropriate for an Adabas nucleus running `AUDITING=YES`.

## Step 3. Identify Files for Auditing by an Audit Name

Each Adabas file participating in auditing must have an audit name. This is a user assigned 8-character value allowing audit information to be tracked. The Audit ID should be unique across all files participating in auditing.

There are 2 ways to assign an audit name to a file:

1. Use the `AUDITNM=` parameter when the file is loaded with ADALOD.

2. Use the MODFCB function of ADADBS with the `AUDITNM=` parameter.

For more information about the use of the `AUDITNM=` parameter with ADALOD LOAD and ADADBS MODFCB, refer to Reference > Utilities Used with Adabas Auditing.

## Step 4. Enable File Auditing using Database ADAANP statements

To implement and activate auditing for application files, you must perform the following:

1. Add the DD name ADAANP to each Adabas nucleus running `AUDITING=YES`.

2. Allocate a sequential file or PDS member to this DD name.

3. For each application file to be audited, add the appropriate for your requirements ADAANP statements to the sequential file or PDS member in the corresponding nucleus JCL.

Refer to the Reference > Adabas Nucleus Auditing Parameters for more information about the required ADAANP parameters.

When all necessary modifications have been made, restart the Adabas nuclei.

### On this page

- Step 1. Supply Auditing Definitions to the Audit Server
- Step 2. Enable Database Auditing with ADARUN AUDITING=YES
- Step 3. Identify Files for Auditing by an Audit Name
- Step 4. Enable File Auditing using Database ADAANP statements