IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Mainframe batch Job or REXX to get VTOC Summary details


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 110
Location: India

PostPosted: Thu Apr 29, 2021 9:54 pm
Reply with quote

Hi All,

VTOC Summary details which we can view from Mainframe option 3.4 and using Option V(Providing Volume Name)

I want to write an Automation to track few volumes space. Is it possible to grab above details using Mainframe batch or Rexx?

Any suggestions?

Thanks.
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


Joined: 15 Aug 2015
Posts: 619
Location: Bamberg, Germany

PostPosted: Fri Apr 30, 2021 10:48 am
Reply with quote

You can find most of that information in IDCAMS DCOLLECT 'V' Records. Post-process them w/ a tool of your choice.
Back to top
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 110
Location: India

PostPosted: Fri Apr 30, 2021 12:46 pm
Reply with quote

I have extracted details using DCOLLECT but we have SAS/MXG in our environment to extract these details..

That's why am looking for alternate for this..

Thanks.
Back to top
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 110
Location: India

PostPosted: Fri Apr 30, 2021 12:46 pm
Reply with quote

we don't have SAS/MXG in our environment to extract these details..
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10801
Location: italy

PostPosted: Fri Apr 30, 2021 1:23 pm
Reply with quote

github.com/mainframed/CBTTAPE/tree/main/CBT206/CBT.V500.FILE206.PDS
Back to top
View user's profile Send private message
upendrasri

Active User


Joined: 28 Sep 2017
Posts: 110
Location: India

PostPosted: Fri Apr 30, 2021 5:34 pm
Reply with quote

Hi Enrico,

Thank you. But both ISPF 3.4 Option V and extracted details using Decollect are not matching..

Example Freespace of volume ABCD12 is not matching as below

Code:

Volume . : ABCD12                                                           
Command ===>                                                               
                                                                           
Unit . . : 3390                                                             
                                                                           
 Volume Data             VTOC Data              Free Space   Tracks    Cyls
 Tracks . :  150,255     Tracks  . :        74  Size  . . :  45,706   2,915


Using Decollect am getting free space as below
Free space = C2D(DCVFRESP) = 13,183 tracks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10801
Location: italy

PostPosted: Fri Apr 30, 2021 6:51 pm
Reply with quote

You also might want to look ar
www.ibm.com/support/pages/dfsortmvs-downloads
for the DFSORT DCOLLECT examples
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 509
Location: London

PostPosted: Tue May 04, 2021 7:00 pm
Reply with quote

You could try Naviquest (ISMF in Batch) to list volume information. An example is available in SYS1.SACBCNTL(ACBJBAI4) which is probably available on your system.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts DSN REXX VARBINARY inserts CLIST & REXX 4
No new posts DSLIST in batch? JCL & VSAM 7
No new posts How to modify file content using REXX CLIST & REXX 3
No new posts Same command as on commandline in REX... TSO/ISPF 6
No new posts Negative dependency between jobs in m... COBOL Programming 12
Search our Forums:

Back to Top