CA View - How to Identify What DASD Space Sysouts are Utilizing

book

Article ID: 205627

calendar_today

Updated On:

Products

CA Deliver CA View

Issue/Introduction

1) Is there a way to find out whether a JOB was taken from TAPE to DASD which filled the Index DB and caused the alert ?

2) How to find which JOB is taking more space ?

3) And how to move the high space utilization jobs to tape ? (any JCL or command)

 

Environment

Release : 12.2

Component : CA View

Resolution

By running the below SARGRW program, reports that have a location of DISK or PERM will display the number of lines in the report:

//XXXXXXXX JOB ...
//SARGRW01 EXEC PGM=SARGRW
//STEPLIB DD DISP=SHR,DSN=VIEW.CVDELOAD <=== Modify, if used
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(5),,CONTIG)
//SYSUDUMP DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//OUTFILE DD SYSOUT=*
//PRTFILE DD SYSOUT=*
//SYSIN DD *
/CONTROL SEQ=RID DATABASE=view_db_hlq
/IF (LOC = 'DISK' OR LOC = 'PERM')
/ PRINT ID 'ID'
/ PRINT JOBNAME 'JOBNAME'
/ PRINT JOBID 'JOBID'
/ PRINT GEN 'GEN '
/ PRINT SEQ 'SEQ '
/ PRINT ARCHDATE 'ARC DATE'
/ PRINT ARCHTIME 'ARC TIME'
/ PRINT LOC 'LOC'
/ PRINT LINES 'LINES '
/ PRINT PAGES 'PAGES '
/ PRINT DISKBLKS 'BLOCKS'
/ PRINT XCODE 'XCODE'
/ PRINT TAPESEQ 'TSEQ '
/ PRINT DRSEQ 'DRSEQ'
/END
/*
//

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


The answer to the questions are:

1) A sysout being loaded to DASD from TAPE will not have any effect on the filling of the View index.
    The alert, the SARDBI23 index message, was caused by regular database usage.

2) To identify the space taken by reports with a location of DISK or PERM, run the provided SARGRW program.

3) For a report with a location of DISK, the next View backup will write it to tape.
For reports with a location of PERM, the line command "DD" can be used, to remove a large report from the disk layer.