How to add mixed case selections to a Rule in the Advanced Variable Dependencies (ASV) panel in MainView AutoOPERATOR

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    MainView AutoOPERATOR


    APPLIES TO:

    MainView AutoOPERATOR



    QUESTION:

    MainView AutoOPERATOR 7.3
    MainView AutoOPERATOR 7.2
    MainView AutoOPERATOR 7.1

    I would like to create a rule with an ASV selection in mixed case. But when I hit enter in the ASV panel, my lower-case text gets translated to upper case.

    This is an example of the Rule I am trying to create: 

    INIT(STATUS(E) ID('MQS1') AUTHOR('USERID') +
    DESC('CREATE/DELETE QUEUE') CODE('MQ') +
    MUSER('UUUUUU') MDATE('14/01/20') MTIME('08:54'))+
    SELECT(TEXTID('*') NAME(*) TYPE('M') ORIGIN('MQS') +
    TDQNAME('SYSTEM.ADMIN.CONFIG.EVENT') +
    ASV('(LEFT(&IMFQ_EVENT_QNAME,12) =+
    ''AA.Rrrrrrrr.C'' ) +
    AND (&IMFQ_EVENT_TYPE+
    = ''CONFIG_DELETE_OBJECT'' +
    +
    OR &IMFQ_EVENT_TYPE = ''CONFIG_CREATE_OBJECT'')') )+
    ACTION(DISPLAY(N))


    I have edited the ruleset in the PDS via ISPF to get the value into mixed case. But if the rule is edited via the ASV panel, it will switch back to upper case. Mixed case queue names is something quite normal in WebSphere MQ.

    How can I achieve this?


    ANSWER:

     

    Legacy ID:KA408556

      

    The translation to upper case occurs because of the default ways that data is loaded, to allow for ease of entering data. 
    But we do support lowercase values. You have to use the LC() function selectively on that part of the value that is lower case.
    Here is an example of doing the same thing using the LC() function.

    BMC Software ------ Advanced Variable Dependencies - JRNL ------- AutoOPERATOR .
    COMMAND ===> TGT --- JO73 .
    .
    Rule-set === AAORULJO Rule-id === MQS1 .
    .
    Enter equation(s) and/or comparison(s) below (512 character maximum) .
    (LEFT(&IMFQ_EVENT_QNAME,12) = 'AA.R'||LC(rrrrrr)||'.C' )______________________ .
    AND (&IMFQ_EVENT_TYPE = 'CONFIG_DELETE_OBJECT'________________________________ .
    OR &IMFQ_EVENT_TYPE = 'CONFIG_CREATE_OBJECT')_______________________________ .
    ______________________________________________________________________________ .
    ______________________________________________________________________________ .
    ______________________________________________________________________________ .
    ____________________________________________ .

      
    Related Products:  
       
    1. MainView AutoOPERATOR

     


    Article Number:

    000025268


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles