Is there a tool or utility in CA View that would help a customer determine the number of sysouts (on disk and on tape) in a CA View Database?
1. The View online STATUS command (ST) will show "Total Sysouts" (on disk and on tape COMBINED).
The ST command also breaks it down and shows the number of sysouts "On Disk".
The difference between the total "On Disk" and the "Total Sysouts" would indicate how many are on TAPE.
An example of what the ST command will show you follows:
CA View ALL -- Database Status ----------
Sysouts ---> 173
Sysouts ---> 11
Lines ---> 5,510
Percentage Usage ---> 2
Percentage Usage ---> 0
2. Via BATCH, if you want to find the total number of reports for the database, on both disk and tape, then you can run the following SARBCH function:
//XXXXXXXX JOB ...
//SARBCH EXEC PGM=SARBCH,PARM='view_hlq' <=== Modify DB name
//STEPLIB DD DISP=SHR,DSN=VIEW.CAILIB <=== Modify, if used
//SYSPRINT DD SYSOUT=*
//REPORT DD SYSOUT=*
//SYSIN DD *
/LIST ID=* GEN=*
The resulting report will show you the sysouts LOCATION (in the 'LOC' column) from which, you can determine where each sysout resides. You can use the chart below to translate the location code meanings:
BNDW - Awaiting CA Deliver bundling
DISK - On primary disk and possibly tape
DSK2 - On secondary disk and possibly tape
LOAD - In the process of being loaded to disk
OPEN - In the process of being archived to disk
PDSK - Normal primary disk and possibly tape
PDK2 - Normal secondary disk and possibly tape
PERM - In permanent status primary disk and possibly tape or it has been marked for ERO processing
PRM2 - In permanent status on secondary disk and possibly tape
PTAP - In permanent status on tape only
PTMP - In permanent status on tape and temporarily reloaded to primary disk
TAPE - On tape only
TEMP - Temporarily reloaded to primary disk