Hi,
As you requested:
//STEP001 EXEC PGM=IKJEFT01
//STEPLIB  DD  DISP=SHR,DSN=FILE135.PDS
//SYSTSPRT DD SYSOUT=*
//SYSTSIN  DD *
  VTOC volser -
       CAT -
       LIM(CAT NE C) -
  PRINT(NEW (CAT ALLOC  UNUSED PCT EX DSO RFM LRECL BLKSZ CDATE REFDT -
              VOLUME DSNAME))

- where "volser" is the actual VOLSER (e.g. ABC123) or the first few characters of a group of VOLSERs with the same prefix  (e.g. code ABC for VOLSERs ABC001, ABC002, ABC003 etc.)
- If you download FILE 135, VTOC (and other CBT programs) are pre-built.

Regards,
David

On 2022-08-01 11:29, rpinion865 wrote:
Last month there was a discussion regarding identifying uncataloged datasets. 
My need is to compare the contents of a catalog, or catalogs, with DASD VTOC's. 
Essentially, some report that would show the catalog status between entries in 
the catalog and VTOC. For example, dataset A.B.C is NOT cataloged or is 
mis-cataloged. Or dataset A.B.C is cataloged, but does not exist on any DASD 
volume. FDREPORT, from BMC, does this type of reporting. But, my current 
employer does not have FDREPORT. The CBT tape VTOC
command would provide the information for the first example. Thanks in advance.

Sent with [Proton 
Mail](https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fproton.me%2F&data=05%7C01%7C%7Ca1893a3106c94d46c4b108da73d2c202%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637949646342191811%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=wj2%2Fq7NkJhbDM44AbSKTYr%2F8cfhYxXiDM9LGkmA4Rmw%3D&reserved=0)
 secure email.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to