SYSVIEW Performance Management

 View Only
Expand all | Collapse all

SMSVOLS command enhancement request

  • 1.  SMSVOLS command enhancement request

    Posted Jun 29, 2020 02:40 AM
    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
    ------------------------------


  • 2.  RE: SMSVOLS command enhancement request

    Broadcom Employee
    Posted Jun 29, 2020 03:26 AM

    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
    ------------------------------



  • 3.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 03:34 AM
    ​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
    ------------------------------



  • 4.  RE: SMSVOLS command enhancement request

    Broadcom Employee
    Posted Jun 29, 2020 03:48 AM

    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
    ------------------------------



  • 5.  RE: SMSVOLS command enhancement request

    Broadcom Employee
    Posted Jun 29, 2020 06:53 AM
    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
    ------------------------------



  • 6.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 06:58 AM
    Hi Todd,
    Thanks for your suggestions.
    I'll see which works better for me.

    Gadi

    ------------------------------
    Gadi Ben-Avi
    Jerusalem, Israel
    ------------------------------



  • 7.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 07:05 AM
    Hi Todd,
    The command is LISTUCMD and not LISTUCMDS.

    Gadi

    ------------------------------
    Gadi Ben-Avi
    Jerusalem, Israel
    ------------------------------



  • 8.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 07:23 AM
    Hi Gadi,

    The suggestions from Todd and Hennie are great for getting your Rexx application up and running today, but the use of SELECT means that Sysview is collecting/formatting a lot of information for volumes in other SMS groups that will be discarded.

    I therefore encourage you to raise an Idea for the SMSVOLS (and SMSGROUP) commands to allow the group name to be passed directly as a parameter, to avoid the unnecessary SELECT overhead. I would certainly vote for that.

    Cheers,
    Owen


    ------------------------------
    Technical Consultant
    Dixons Carphone
    ------------------------------



  • 9.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 07:32 AM
    Thanks Owen

    I already did that.

    Gadi

    ------------------------------
    Gadi Ben-Avi
    Jerusalem, Israel
    ------------------------------



  • 10.  RE: SMSVOLS command enhancement request

    Broadcom Employee
    Posted Jun 29, 2020 07:37 AM
    Owen,

    Thanks for your input.
    To avoid the SELECT overhead that you describe, you can do the following.
    It is very useful when running via REXX or a command that is used very frequently or contains a very large amount of data.
    The overhead of issuing a SELECT command should not be considered high.

    Instead of issuing the SELECT command after the display command, you can insert it before.

    SET SELECTNEXT 'GROUP EQ parm' ; SMSVOLS

    If you look through the SYSVIEW parmlib member GSVXLCMD, you will see several examples of this method.

    ------------------------------
    Todd J. Gagle
    Architect of Software Engineering, Team SYSVIEW
    Broadcom
    ------------------------------



  • 11.  RE: SMSVOLS command enhancement request

    Posted Jun 29, 2020 08:04 AM
    Hi Todd,

    Thanks for the info re "SET SELECTNEXT". My testing reveals that method does help for some commands...
    ACTIVITY PCICS20                                - 2 seconds
    ACTIVITY;SELECT JOBNAME = PCICS20               - 4.1 seconds
    SET SELECTNEXT 'JOBNAME = PCICS20';ACTIVITY     - 2 seconds​
    ...but for others there is still significant overhead...
    DCDSETS 117                             -  0.4 seconds
    DCDSETS;SELECT DBID = 117               - 88.6 seconds
    SET SELECTNEXT 'DBID = 117';DCDSETS     - 44.6 seconds​

    So it seems the ability to provide parameters directly to commands is still more efficient. I have voted for Gadi's idea,

    Cheers.
    Owen



    ------------------------------
    Technical Consultant
    Dixons Carphone
    ------------------------------