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
 

 

how to list the volumes that included in a storage group?

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

New User


Joined: 26 Sep 2005
Posts: 7

PostPosted: Sun Oct 09, 2005 2:23 pm    Post subject: how to list the volumes that included in a storage group?
Reply with quote

and then which command can browse the information of a volume?
thanks!
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Mon Oct 10, 2005 4:29 pm    Post subject: Re: how to list the volumes that included in a storage group
Reply with quote

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
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Mon Oct 10, 2005 4:38 pm    Post subject: Re: how to list the volumes that included in a storage group
Reply with quote

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

Code:
TSO QW


S - Request DASD Free Space Information

Code:
Seletc S


Give the vol name

Code:
Volser ==>  Temp*


It will give you the list of volume.

Hope This helps

Regards

Rupesh
Back to top
View user's profile Send private message
hclily

New User


Joined: 26 Sep 2005
Posts: 7

PostPosted: Wed Oct 12, 2005 12:24 pm    Post subject:
Reply with quote

I think that you misunderstand my question,but I have solved that problem yesterday,thanks anyway!
Back to top
View user's profile Send private message
hkb007

New User


Joined: 30 Dec 2005
Posts: 5

PostPosted: Sat Dec 31, 2005 5:26 pm    Post subject:
Reply with quote

Can you share your solution?

Thanks!
Back to top
View user's profile Send private message
Ravi gaur

New User


Joined: 12 Jul 2005
Posts: 38

PostPosted: Tue Jan 03, 2006 7:14 pm    Post subject: QW -Quick view
Reply with quote

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
View user's profile Send private message
philepeo

New User


Joined: 18 Nov 2005
Posts: 4

PostPosted: Sun Feb 05, 2006 7:43 am    Post subject: Re: how to list the volumes that included in a storage group
Reply with quote

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
View user's profile Send private message
Paul Hacker

New User


Joined: 02 Oct 2008
Posts: 15
Location: Tyler, texas

PostPosted: Sat Jun 13, 2009 12:33 am    Post subject: Re: how to list the volumes that included in a storage group
Reply with quote

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
View user's profile Send private message
ignich7

New User


Joined: 02 Nov 2005
Posts: 65

PostPosted: Mon May 06, 2013 8:13 pm    Post subject: Reply to: how to list the volumes that included in a storage
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8119
Location: East Dubuque, Illinois, USA

PostPosted: Mon May 06, 2013 8:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Thu May 16, 2013 12:55 pm    Post subject:
Reply with quote

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
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 member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts Need Help with : IFTHEN(WHEN=GROUP) Sumanta_89 DFSORT/ICETOOL 1 Wed Apr 19, 2017 5:23 pm
No new posts Group elements using ICETOOL Learncoholic DFSORT/ICETOOL 2 Fri Apr 14, 2017 11:01 am


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