Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Index status of Volume

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
RamkumarB

New User


Joined: 08 Jun 2009
Posts: 12
Location: Chennai

PostPosted: Wed Mar 16, 2011 12:00 pm    Post subject: Index status of Volume
Reply with quote

Hi,

Could you please let me know how to find the INDEX STATUS (Enable/Disable) of specific DASD volume thru batch job.
We can see the INDEX STATUS of volume in ISMF but i want to know how we get it from the job.


Thanks,
Ram
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Mar 16, 2011 12:40 pm    Post subject: Reply to: Index status of Volume
Reply with quote

and after You have seen it with a job what is it going to happen ?
if You tell the exact requirement You will certainly get better answers
Back to top
View user's profile Send private message
RamkumarB

New User


Joined: 08 Jun 2009
Posts: 12
Location: Chennai

PostPosted: Wed Mar 16, 2011 12:45 pm    Post subject:
Reply with quote

As a monitoring purpose, We have to generate a report about index status for some of volumes across different storage groups.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Mar 16, 2011 12:54 pm    Post subject: Reply to: Index status of Volume
Reply with quote

I wonder why so many people and storage supporters are not aware of

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2s272/1.21.5?SHELF=DGT2BK81.bks&DT=20090227163444#HDRRUNBAT

and

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt2s272/1.21?SHELF=DGT2BK81.bks&DT=20090227163444

all applied to

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DGT2I270/11.0?SHELF=DGT2BK81&DT=20080602132758

using the parameter
Quote:
NODATAINFO
says that no data set information records are generated or written to the output data set. Use this parameter if you want only volume information generated for the given volumes or storage groups.


there are also DFSORT snippets on how to process DCOLLECT data ( just search for them )
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Wed Mar 16, 2011 1:59 pm    Post subject:
Reply with quote

I always use DCOLLECT and REXX in batch
Back to top
View user's profile Send private message
RamkumarB

New User


Joined: 08 Jun 2009
Posts: 12
Location: Chennai

PostPosted: Thu Mar 17, 2011 11:40 am    Post subject:
Reply with quote

hi Expat,

I am new to storage. Could you please explain how we get volume information from DCOLLECT output.


Regards,
Ram
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 17, 2011 1:48 pm    Post subject:
Reply with quote

We use IDCAMS DCOLLECT to get the records, very well documented in the manual, and use REXX to interpret the records, V or VL as I can not recall at the moment, and from those records the index status is found.

I would usually post code that I have already, but as I am working in a non mainframe environment at the moment do not have access to my archives.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Mar 18, 2011 3:35 pm    Post subject: Reply to: Index status of Volume
Reply with quote

for dfsort samples see
http://www-01.ibm.com/support/docview.wss?rs=114&uid=isg3T7000081

for rexx samplessee
http://www.cbttape.org/ftp/cbt/CBT206.zip
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Mon May 23, 2011 5:23 pm    Post subject:
Reply with quote

If you have FDR it can provide you with a formatted report without having to post-process anything. It can also selectively report just volumes with a particular VTOCIX status. Example below scans a Storgrp to find volumes with either disabled VTOCIX's or no VTOCIX


//FDREPORT EXEC PGM=FDREPORT,REGION=128M
//SYSPRINT DD SYSOUT=0
//SYSOUT DD SYSOUT=0
//SYSUDUMP DD SYSOUT=0
//ABRMAP DD SYSOUT=*
//ABRSUM DD SYSOUT=0
//SORTLIB DD DSN=SYS1.SORTLIB,DISP=SHR
//SYSIN DD *
REPORT FIELD=(VLVOLSER,VLINDSTA,VLUNIT,VLDEVTYP)
XS STORGRP=sgname*,VLINDSTA.EQ.(NONE,YES)
PRINT SUM=NO,SORT=NO,DATATYPE=VOLDATA,RPTYPE=TABLE,
ENABLE=FASTPATH,SUMDEVICE=UNIQUE,BYTEFORMAT=MEGA


ps: Run the above JCL with sysin card XHELP ALL to print the help manual.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts setting new limit Key values for inde... srilata83 DB2 1 Fri Feb 10, 2017 9:24 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts Order BY AND Index Nileshkul DB2 2 Sat Dec 31, 2016 6:33 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us