MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to write the JCL to display 'volume information'?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
samsun
Beginner


Joined: 24 Feb 2004
Posts: 19
Topics: 7
Location: TAIWAN

PostPosted: Fri May 07, 2004 3:32 am    Post subject: How to write the JCL to display 'volume information'? Reply with quote

I know that DFSsms's ISMF can do 'Volume List' like follows:

----------------------------------------------------------------------
VOLUME FREE % ALLOC FRAG LARGEST FREE
SERIAL SPACE FREE SPACE INDEX EXTENT EXTENT
-(2)-- --(3)-- (4)- --(5)-- -(6)- --(7)-- --(8)-
PVOL01 417454 15 2354046 354 71383 59
PVOL02 300972 11 2470528 249 113715 33
PVOL03 260909 9 2510591 282 142767 61
PVOL04 162190 6 2609310 465 44822 69
PVOL05 815154 29 1956346 84 724624 70
----------------------------------------------------------------------


Is there any way to write a batch job or something to display the
dedicated information(mainly FREE%, FREE EXTENT, etc. ) like above?
(This is because that some people do not have the authority to use ISMF functions....)

Thanks a lot.....

Sun
Back to top
View user's profile Send private message Send e-mail MSN Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri May 07, 2004 4:31 am    Post subject: Reply with quote

Samsun,

If you have file-aid at your shop then you can use VTOC feature.

1. Choose UTILITIES(3) option on the main screen of file-aid
2. Choose VTOC(7) Option on the next screen
3. Choose option I while providing the volume serial and press ENTER. you will find statstics of the volume. In your case the you can mask the volume serial name. Just code PVOL* and press ENTER. you will get the desired results.

You can also use IEHLIST utility in batch to list the vtoc entries. Check this link for a detailed explanation of IEHLIST

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/13.0?DT=19990113105507

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Fri May 07, 2004 7:53 am    Post subject: Reply with quote

MXI is shareware that can display this information and it can also be executed in batch. Here is a link (although it may have moved).
http://www.mximvs.com
Back to top
View user's profile Send private message
raj051076
Beginner


Joined: 05 Dec 2002
Posts: 64
Topics: 21

PostPosted: Sat May 08, 2004 3:18 pm    Post subject: Reply with quote

There is one more way. Write a job with two steps.

First step takes a dcollect of the volumes
Second step runs a rexx to collect volume information from the DCOLLECT
_________________
Rajib
Back to top
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Sun May 09, 2004 10:51 pm    Post subject: Reply with quote

IEHLIST is an DFSMSdfp utility that is available to all to use and should be accessible. It may give some or all the information you want.

Look it up in the DFSMSdfp Utilities manual.
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group