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: