View previous topic :: View next topic
|
Author |
Message |
hclily
New User
Joined: 26 Sep 2005 Posts: 7
|
|
|
|
and then which command can browse the information of a volume?
thanks! |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi Naga,
You can try following JCL for the same, If you want the store the value and use it.
Code: |
//STEP01 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=Input File name ,DISP=SHR
//SORTOUT DD DSN=Output file anme ,DISP=SHR
//SYSIN DD *
OPTION COPY
OUTFIL REMOVECC,NODETAIL,
TRAILER1=(COUNT=(M10,LENGTH=02))
/*
|
Hope this helps.
Regards
Rupesh |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
Hi
Sorry my last Answer was not for this query
Quote: |
how to list the volumes that included in a storage group? |
In our shop we generally follow the following steps
S - Request DASD Free Space Information
Give the vol name
It will give you the list of volume.
Hope This helps
Regards
Rupesh |
|
Back to top |
|
|
hclily
New User
Joined: 26 Sep 2005 Posts: 7
|
|
|
|
I think that you misunderstand my question,but I have solved that problem yesterday,thanks anyway! |
|
Back to top |
|
|
hkb007
New User
Joined: 30 Dec 2005 Posts: 5
|
|
|
|
Can you share your solution?
Thanks! |
|
Back to top |
|
|
Ravi gaur
New User
Joined: 12 Jul 2005 Posts: 38
|
|
|
|
Hclily Probably TSO QW command would'n be enable on ur system.as this is a quick view ,However check with the ISMF to get the Volumes list .. and this is a great tool to know abt the storage |
|
Back to top |
|
|
philepeo
New User
Joined: 18 Nov 2005 Posts: 4
|
|
|
|
to view volumes in a storage group use ismf, select the option for storage grouge, either generate a list of all storage groups or type in the name of the req'd group and then type LISTVOL as a line command. |
|
Back to top |
|
|
Paul Hacker
New User
Joined: 02 Oct 2008 Posts: 15 Location: Tyler, texas
|
|
|
|
philepeo wrote: |
to view volumes in a storage group use ismf, select the option for storage grouge, either generate a list of all storage groups or type in the name of the req'd group and then type LISTVOL as a line command. |
Sorry to dig up this old post, but how can you make this into a JCL batch? I'd like to get the ISMF to get the listvol for a storage group into a file or report so I can sort it by how fragmented the volumes are on that storage group.
Thanks! |
|
Back to top |
|
|
ignich7
New User
Joined: 02 Nov 2005 Posts: 66
|
|
|
|
I know its a old post but i hope this JCL would be useful for those who looking for it.
//STEP1 EXEC PGM=IKJEFT01
//OPS$OPSP DD DUMMY
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OC D SMS,STORGRP(SGPR6),LISTVOL |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
ignich7, you need to be aware that OC is NOT a standard TSO command -- it is something specific to your site. I ran your JCL, exactly as posted, and got back
Code: |
1READY
OC D SMS,STORGRP(SGPR6),LISTVOL
IKJ56500I COMMAND OC NOT FOUND
READY
END |
So your vastly out-of-date "helpful" code will work only at your site or other sites with OC (whatever it is and wherever it came from) installed. Perhaps not helpful enough to resurrect a topic last updated almost 4 years ago? |
|
Back to top |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 580 Location: London
|
|
|
|
Go to ISMF option and select option 6 Storgrp, enter the storgrp name and specify 'ACTIVE' for the CDS name. When it displays the storgrp enter LISTV or LISTVOL to the left of the name. The save the list type LISTPRT on the command line. Same can be done using Naviquest which does the equivalent in batch.
In MVS enter the command D SMS,SG(storgrp),LISTVOL
Other utilities such as FDREPORT can also list the volumes. |
|
Back to top |
|
|
|