Tool or utility that would help to determine the number of sysouts (on disk and on tape) in a 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:
View ALL -- Database Status ----------
Total Sysouts ---> 173
On Disk
Sysouts ---> 11
Lines ---> 5,510
Percentage Usage ---> 2
Index
Percentage Usage ---> 0
2. Via the following Batch 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 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