View previous topic :: View next topic
|
Author |
Message |
RamkumarB
New User
Joined: 08 Jun 2009 Posts: 12 Location: Chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
RamkumarB
New User
Joined: 08 Jun 2009 Posts: 12 Location: Chennai
|
|
|
|
As a monitoring purpose, We have to generate a report about index status for some of volumes across different storage groups. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I always use DCOLLECT and REXX in batch |
|
Back to top |
|
|
RamkumarB
New User
Joined: 08 Jun 2009 Posts: 12 Location: Chennai
|
|
|
|
hi Expat,
I am new to storage. Could you please explain how we get volume information from DCOLLECT output.
Regards,
Ram |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
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 |
|
|
|