CA View - What Needs to be Done Upon Receiving Message "Invalid Statistics Data"?

Document ID : KB000130916
Last Modified Date : 15/04/2019
Show Technical Document Details
Question:
The client received message "Invalid Statistics Data" when performing a CA View "status" command, to see the database statistics.  
What can be done to not receive the message?
 
Environment:
CA View - All Releases
Answer:
Upon receiving the message "Invalid statistics data", that means that the database statistics have somehow gone awry.

To reset the database statistics:

 . Bring down the SARSTC, SARFSS, SARXTD, SAREAS, SARXMS and any other related View tasks.
 . Bring down any related CA Deliver tasks, if the View database is written to by Deliver.

. Run SARDBASE SET STATS:

//XXXXXXXX JOB ...
//SARDBASE EXEC PGM=SARDBASE,PARM='view_hlq'     <=== Modify DB name
//STEPLIB  DD  DISP=SHR,DSN=VIEW.CVDELOAD    <=== Modify, if used
//SYSPRINT DD  SYSOUT=*                                   
//SYSIN    DD *                                           
SET STATS                                                 
/*
//
                                                       
. Bring up all tasks.

The above will reset the database statistics, for use of the "status" command.