Investigate CAF2417W / COND CODE 0004 messages in SMF Director

Document ID : KB000043987
Last Modified Date : 14/02/2018
Show Technical Document Details

Question: 

How to identify the cause of a CAF2417W message in CA SMF Director

Answer: 

The easiest way to determine what record(s) are overlapping badly and causing this issue in SMF Director is this: 

1) Run the LISTH report on the system(s) and time ranges where the overlap has occurred. Locate a file that seems out of place in the report. The report is sorted based on the oldest timestamp in the history file listed. Any file that has a wild overlap should be apparent in the report, as most entries in the report would have a start time that is close (or even the same) as the end time of the previous entry. 


2) Run a PRINT or EXTRACT using just the one history file with the overlap by using the SOURCE HISTORY statements. 

As an example, suppose we have a system with three history files with the following start and end time stamps (I’ll use seconds, but SMF Director tracks to the .01 second): 

File Name Start End 
DUMP.FILE01 00:00:00 01:00:00 
DUMP.FILE02 00:30:00 02:00:00 
DUMP.FILE03 02:00:00 03:00:00 

It is pretty obvious that the file with the rogue record is DUMP.FILE02. We know the file should cover the range from 1 AM to 2 AM, but there is a record (or more than one) that’s causing an issue. So what we can do is set up a PRINT or EXTRACT like this: 

// JOB 
//FINDIT EXEC PGM=SMFD,PARM=READ 
//STEPLIB DD DISP=SHR,DSN=CAI.CASFLOAD 
//SCDS DD DISP=SHR,DSN=CAI.SCDS.FILE 
//SYSPRINT DD SYSOUT=* 
//SMFIN DD DISP=SHR,DSN=DUMP.FILE02 
//SYSIN DD * 
SOURCE HISTORY(SMFIN). 
PRINT SID(sid) FROM(date 002500) TO(date 005900). 
/* 
// 

This will use only the history file with the bad entry as input, and will produce a printed report of the records outside the expected range. 

You can use UPDTX to change the start/end times on the history file entry to correct the problem.