OPEN MACRO IN DADBAUIT ADDR(80000954) FAILED: R15=X'08' ERR=X'0A0'' printing the DADS Plus for CICS AUDIT FILE
search cancel

OPEN MACRO IN DADBAUIT ADDR(80000954) FAILED: R15=X'08' ERR=X'0A0'' printing the DADS Plus for CICS AUDIT FILE

book

Article ID: 50533

calendar_today

Updated On:

Products

DADS Plus

Issue/Introduction

The DADSAUD file is an optional file which DADS Plus for CICS uses to write a chronological audit history of all online and batch DADS Plus for CICS transaction activity. It can be read and interpreted to produce an Audit List report using DADBAUIT batch program.

After the file is initially defined and primed as shown in sample job DADSAUD, it is possible that a DADBAUIT PRINT of the DADS AUDIT FILE may fail with the following messages:

OPEN MACRO IN DADBAUIT ADDR(80000954) FAILED: R15=X'08' ERR=X'0A0'
AUDIT FILE CANNOT BE PRINTED BECAUSE IT IS EMPTY

This can happen because VSAM may not have sufficient buffer space available to open the audit file.

Resolution

As part of the base installation of DADS Plus for CICS, a sample JCL library is created called hlq.SAMPLIB. Sample JCL member DADSAUD is used to define and initialize the audit file FCT DADSAUD. Modify the DADSAUD SAMPJCL member and ADD the BUFFERSPACE parameter as follows:

 DEFINE CLUSTER (NAME(*DADSAUD*)                  -
            BUFFERSPACE(12288)                    -
            VOLUMES(*VOLSER*)                     -
            NONINDEXED                            -
            RECSZ(0200 4089)                      -
            SHR(2 3))                             -
            DATA (NAME(*DADSAUD*.DATA)            -
            CISZ(4096)                            -
            CYL(1 0))

To produce a report of the contents of the audit file, see JCL member HLQ.SAMPLIB(DADBAUIT).

//*********************************************************************
//*
//*     THIS STEP REPORTS ON THE AUDIT FILE 
//* 
//*********************************************************************
/*
//AUIT    EXEC PGM=DADBAUIT,REGION=700K 
//STEPLIB  DD DSN=CAI.LOADLIB,DISP=SHR 
//DADSAUD  DD DSN=DADSPLUS.AUDIT.FILE,DISP=SHR 
//DADS01   DD DSN=DADSPLUS.CONTROL.FILE,DISP=SHR 
//SYSPRINT DD SYSOUT=A,DCB=(LRECL=133,RECFM=FBA,BLKSIZE=133) 
/*

EXAMPLE OF DADBAUIT

CA-DADS/Plus 4.0 XX:XX:XX PAGE 1
  
APPLID: CICS DATE: 07/03/20108 11:30:15.6
   
CA-DADS/Plus AUDIT REPORT DYNAMIC ALLOCATION/DEALLOCATION SYSTEM
   
DATE TIME TERMINAL OPERATOR APPLID RECORD TRANSACTION RECORD TYPE ACTION TAKEN
   
89259 12:59:01 TRM1 XXX transaction  DADM')
89264 15:45:47 TRM2 XYX CICS DBD02(D) DADA DBD02 DATABASE CLOSE FAIL, DEALLOCATED
   
89265 8:50:23 TRM1 XXX CICS CLASS1(C) DADM FILE1 FILE ADDED TO CONTROL FILE
                                           FILE2 FILE ADDED TO CONTROL FILE