Hi!
To get that figure you simply divide the total number of datasets on the volume by the sum of the number of Free DSCBs and the total number of datasets on the volume and multiply by 100 rounding up.
In my case I have 620 datasets on the disk and 3071 Free dscbs with %Used : 17
So (620 / (620 + 3071)) * 100 = 16.79 which rounds up to 17%
Cheers!
------------------------------
Roy Boxwell
Senior Software Architect
Software Engineering GmbH
Duesseldorf
+4921196149675
------------------------------
Original Message:
Sent: Thu December 18, 2025 03:51 AM
From: Arthur Chang
Subject: How to check the VTOC utilization in batch mode
Hi Roy,
Thanks.
At the bottom of LISTVTOC output there displays the 'BLANK DSCBS' , IT SEEMS OK.
While if there any way to display the '%USED' under 'VTOC data' field ?
Thanks.
Sincerely Arthur
------------------------------
Arthur Chang
Original Message:
Sent: Thu December 18, 2025 01:57 AM
From: Roy Boxwell
Subject: How to check the VTOC utilization in batch mode
I use this:
//TEST EXEC PGM=IEHLIST
//SYSPRINT DD SYSOUT=*
//DD1 DD UNIT=3390,VOLUME=SER=SD1004,DISP=OLD
//SYSIN DD *
LISTVTOC FORMAT,VOL=3390=SD1004
/*
Scroll down to the bottom of the output and you get nearly the 3.4 style output...
------------------------------
Roy Boxwell
Senior Software Architect
Software Engineering GmbH
Duesseldorf
+4921196149675
Original Message:
Sent: Wed December 17, 2025 08:28 PM
From: Arthur Chang
Subject: How to check the VTOC utilization in batch mode
Dears,
The VOTC utilization can be checked from ISPF 3.4, Any method to display from JCL in batch job ?
Thanks.
Sincerely Arthur
------------------------------
Arthur Chang
------------------------------