Gadi,
Since you are executing this using REXX, it makes your request very simple and utilizes one of Hennie's prior suggestions.
When building the SYSVIEW command string to be executed by REXX, build the following:
ADDRESS 'SYSVIEWE'
string = 'SMSVOLS ; SELECT Group EQ' groupname
'COMMAND('string')'
Another simple solution would be to create a SYSVIEW user command
Add the following to the parmlib member USERCMDS in the SYSVIEW.SITE.parmlib
DEFINE SMSVOLG
MINlen 8
DESCription 'SMSVOLS for Group'
CMDstring SMSVOLS;SELECT GROUP EQ &P1
After adding the above user command definition, issue the following commands to reload the new definitions to your session:
LISTUCMDS
RELOAD
You can now issue the following command to obtains what you desire. It can be issued from any SYSVIEW session including REXX.
SMSVOLG group
group can be specified as a specific group or generically.
Todd
------------------------------
Todd J. Gagle
Architect of Software Engineering, Team SYSVIEW
Broadcom
------------------------------
Original Message:
Sent: 06-29-2020 03:47 AM
From: Hennie Hermans
Subject: SMSVOLS command enhancement request
Hi Gadi,
Currently the SMSVOLS command doesnt accept parameters.
So, it's indeed an enhancement.. Enhancements however called Ideas now..
At the top of this screen you see the Ideation area link. Please us that link to enter your Idea (Enhancement).
Thanks...
Best regards
Hennie Hermans
------------------------------
Principal Support Engineer
CA Technologies, A Broadcom Company
Original Message:
Sent: 06-29-2020 03:33 AM
From: GADI BEN-AVI
Subject: SMSVOLS command enhancement request
Hi Hennie,
Thanks for your reply.
The problem is that I'm issuing the command from REXX, and the storage group name changes between runs.
It would make my program simpler if I could just provide the storage group name as a parameter.
Is this the correct place to ask for an enhancment?
If not, how whould I do it?
Gadi
------------------------------
Gadi Ben-Avi
Jerusalem, Israel
Original Message:
Sent: 06-29-2020 03:25 AM
From: Hennie Hermans
Subject: SMSVOLS command enhancement request
Good morning Gadi,
For the SMSVOLS you can display only a specific group of volumes.
You can use the SELECT GROUP EQ xxxxxx, where xxxxxx is a group name...
You also can set a default..
To do this, enter FORMAT at the SMSVOLS display and you get several options..
One of them is the DEFAULT SELECT.. Enter the GROUP EQ xxxxxxx in the parm field and then enter an S in the cmd field to select this format..
The next time you enter SMSVOLS you will get only this GROUP displayed. See a sample of the FORMAT screen below
SYSVIEW 16.0 IPO1 ------------ FORMATS, Formats ------------- 06/29/20 03:18:2
Command ====> Scroll *===> PAG
-------------------------------------------------- Lvl 2 Row 1-5/5 Col 1-79/11
Command SMSVOLS Screen SMSVOLS
------------------------------------------------------------------------------
Cmd Command Screen Format Type Parm
SMSVOLS SMSVOLS DEFAULT ADD ?Add
. . DEFAULT FORMAT DEFAULT
. . DEFAULT DESCR SMS volumes
. . DEFAULT SELECT group eq adgvols
. . DEFAULT SORT
********************************* End of Data ********************************
Best regards
Hennie Hermans
------------------------------
Principal Support Engineer
CA Technologies, A Broadcom Company
Original Message:
Sent: 06-29-2020 02:40 AM
From: GADI BEN-AVI
Subject: SMSVOLS command enhancement request
HI,
I've been using the SMSVOLS command a lot recently.
Would it be possible to enhance it to only show the volumes for a specified storage group?
------------------------------
Gadi Ben-Avi
Jerusalem, Israel
------------------------------