CAF2126E SCRATCH IS REQUIRED FOR LOGSTREAMS
search cancel

CAF2126E SCRATCH IS REQUIRED FOR LOGSTREAMS

book

Article ID: 129765

calendar_today

Updated On:

Products

JARS JARS Resource Accounting JARS SMF Director

Issue/Introduction

Defined new logstreams in production initially as NOSCRATCH instead of SCRATCH(required).    Changed the configuration to use the required SCRATCH option and recompiled the configuration; however, dumping of the logstream(s) still produces the following error:

CAF2126E SCRATCH IS REQUIRED FOR LOGSTREAMS

LISTC ALL shows that SCRATCH is defined on the configuration

COMPLEX LEVEL CONFIGURATION:                                                                                                        
      SITE NAME:  sitename                LAST DUMP ON: 03/19/2019 11:04:38                                                             
           SDAY(00:00)  MAXLINES(000)  OVERLAP(0030)  NOAUTODEL    DYNAM  WTOERR(NO)                                                 
           MAXFILESONVOL(00300)                                                                                                      
           COPIES(1)  NOCATLG  SCRATCH    DAYSTACK(NO) PDSNLARGE(NO) ADSNLARGE(NO)                                                   
           EXPDT(0) NOPREFIX  AEXPDT(0) NOAPREFIX    

Environment

SMF Director 12.7

Cause

The Logstreams were initially defined to the configuration with NOSCRATCH. SCRATCH is required for Logstreams. 
As a result, the logstreams will need to be deleted from the configuration (using the DELETE command) and then added back to the configuration with SCRATCH.

Resolution

1) Take a BACKUP of the production SCDS in order to ensure any actions can be recovered. 

2) Use the DELETE control statement to eliminate the logstream definitions that were created with NOSCRATCH. The syntax for the control statement is: 

DELETE SID(xxxx) LSNAME(aaa.bbb.ccc). 

3) Run LISTC to verify that the new logstreams have been removed from the configuration. 

4) Rerun the compile with the SCRATCH option in place: 

ex.
COMPILE CONFIGURATION STORE . 
OPTIONS NOAUTODEL DYNAM SCRATCH SDAY(0000) SITE(sitename) 
OVERLAP(30) . 

BEGIN CONFIG(1) SID(xxxx) NAME('sitename') . 

DUMPOPTIONS COPIES(1) CATLG SCRATCH VERIFY 
LSNAME(aaa.bbb.ccc) 

PREFIX(aaa.bbb.ccc) EXPDT(99365) 
PDEVN(IBMVTS) 


Once that's done, run the LISTC to verify the logstream configurations are in place.