How to determine current state of resource group?

Good morning!
I'm in the process of creating a monitoring policy which would alert if a specific resource group is in a state other than "online". Is there a command line executable available that I could utilize which would return the current status of a resource group? I know that the status is written to the /var/adm/messages file, but parsing that would be my last resort.
Thanks!

Check out:
man -M /usr/cluster/man scha_resourcegroup_get
in particular the options:
-O RG_STATE
and
-O RG_STATE_NODE
Tim
---

Similar Messages

  • How to determine current period start and end dates

    Hi All,
    If given previous period start date and end date, how to determine current period start date and end date?
    Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Can you please suggest an FM to determine the current period dates?
    Thanks & Regards
    Gowthami

    >
    gowthami karunya wrote:
    > If given previous period start date and end date, how to determine current period start date and end date?
    > Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Hello,
    I am assuming you have the Company Code with you & proposing this solution.
    TABLES: bkpf.
    PARAMETERS:
    p_bukrs TYPE bukrs.
    SELECT-OPTIONS:
    s_date FOR bkpf-budat.
    DATA :
    l_perio LIKE bkpf-monat,
    l_poper TYPE poper,
    l_year  LIKE bkpf-gjahr,
    l_spmon TYPE spmon,
    l_periv TYPE periv,
    l_date1 TYPE datum,
    l_date2 TYPE datum.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
      EXPORTING
        companycodeid = p_bukrs
        posting_date  = s_date-high
      IMPORTING
        fiscal_year   = l_year
        fiscal_period = l_perio.
    CONCATENATE l_year l_perio INTO l_spmon.
    * Get the next period
    IF l_perio < 12.
      l_perio = l_perio + 1.
    ELSE.
      l_perio = '01'.
      l_year = l_year + 1.
    ENDIF.
    MOVE l_perio TO l_poper.
    SELECT SINGLE periv INTO l_periv
    FROM t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc = 0.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date1
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date2
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      WRITE: / l_date1, l_date2.
    ENDIF.

  • 11i: How to determine current CU level?

    I'm new to 11i and would like to know how to determine if we are running 11.5.10 CU2?
    I was hoping to find a SQL statement or some configuration file somewhere that would provide definitive information about the installed "consolidated update".
    Thx.
    Don

    903322 wrote:
    I'm new to 11i and would like to know how to determine if we are running 11.5.10 CU2?
    I was hoping to find a SQL statement or some configuration file somewhere that would provide definitive information about the installed "consolidated update".SQL> select release_name
    from fnd_product_groups;
    https://forums.oracle.com/forums/search.jspa?threadID=&q=RELEASE_NAME+AND+fnd_product_groups&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    From the application: Help > About
    Thanks,
    Hussein

  • How to determine current ORACLE XE db has been used

    I installed the BPA Architect, and it seems all right.
    during stalling process, I've choiced using XE db, but can't find any schema throug XE admin tools.
    how to determine which db is been used in Architect?

    Hi,
    Lockservice.cfg file in your config folder contains the details of Database being used by your Business Process Repository.
    Regards
    ashish

  • How do you create a new resource group from the new portal?

    There's no option for new resource group when you click the "+" button. Am I missing something?

    Hi mticb,
    As far as I know, we couldn't create an empty resource group in azure preview portal, please vote this similar feedback at:
    http://feedback.azure.com/forums/223579-azure-preview-portal/suggestions/6182477-create-resource-groups, sorry for any inconvenience.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to get current statement?

    I have scheduled a job by "dbms_job.submit". The job is running, I check it by "select * from dba_jobs_running" and "select * from v$session". Can I find current statement of the running job?
    Because of v$session.sql_hash_value = 0, joining of tables v$session and v$sqltext does not work.

    select sql_id from v$session
    where sql_id = 'dzm19sb78d4fs'
    results
    =====
    dzm19sb78d4fs
    select sql_text from v$sqltext
    where sql_id = 'dzm19sb78d4fs'
    results
    =====
    SQL_TEXT
    ', 'CX_METRICRANGES', 'CX_CATEGORYS', 'CX_BASERULES')
    YPES', 'CX_SEVERITYS', 'CX_SETRULES', 'CX_RULESETS', 'CX_METRICS
    NAME IN ('CXXPERTRUN', 'CX_XPERTLINES', 'CX_XPERTITEMS', 'CX_T
    SELECT COUNT('x') FROM ALL_TABLES WHERE OWNER = 'TOAD' AND TABLE
    If your sql_id is null then it must have been expired..cant see any other reason why it should be null for an active session/sql.

  • How to determine which CDockablePane in a group is currently active in Visual Studio 2013

    I understand that to activate a pane, I can do the following:
    dockablePane->ShowPane(TRUE, FALSE, TRUE);
    But, in a group of panes, how can I tell which pane is currently active?
    For instance, let's say there are 3 groups of panes on the screen.  The first group contains three tabs captioned "A", "B", and "C".  The second group contains "D", "E", and "F" and the
    third group contains "G", "H", and "I".
    How would I determine the active pane within each group?  (As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...",
    "Resource Vi..." and "Team Explo..." are within the same group but not active.  In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active".  
    In the right group, I can see "MySource.cpp" while "MySource.h" is present but not active.  So, I need to know how to request from each pane whether they are the current tab within their container or not.
    Steve

    Hi Steve,
    Thanks for posting in MSDN forum.
    (As an example for reference, within Visual Studio in the left pane group, I can currently see the contents of "Solution Explorer" while "Class View", "Property M...", "Resource Vi..." and "Team Explo..."
    are within the same group but not active. In the bottom group, I can see the contents of "Output" while "Find Results 1" and "Find Results 2" are present but not active". In the right group, I can see "MySource.cpp"
    while "MySource.h" is present but not active. So, I need to know how to request from each pane whether they are the current tab within their container or not.
    This scenerio in your example, we don't need to know the current tab within which tab group. Actually I don't understand why do you need to know that? If you are using
    AFX_DOCK_TYPE::DT_SMART   model dock pane, the dock pane should be implemented in a internal MFC
    CSmartDockingManager
    class and it is not intended to be used directly from your code. . You could read the source code of this class at VS installed path-> VC->altmfc->src->mfc->afxsmartdockingmanage.cpp
    For the dock pane layout in VS interface, I remember there is a sample named Visual Studio Demo sample in Visual C++ 2008 Feature Pack. You can download it at here.
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/b4e6cb6e-e2a8-4e02-9c67-0dc431618157/visual-c-2008-feature-pack-samples-where-to-find?forum=vcgeneral
    And the dock pane control implements the core functionality that controls docking layout in a main frame window by CDockingManager class.
    https://msdn.microsoft.com/en-us/library/bb983791.aspx
    A greate article about using CDockablePane:
    http://www.codeproject.com/Articles/493218/Understanding-CDockablePane
    Please tell us more details about what you want to do.
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to determine current tax configuration owner (content_owner_id)

    I am attempting to query zx_rates_b to find a record where tax_rate_code = '6X' to find only the record for the current configuration owner. In 11i, we used the organziation id to identify the correct record.
    The following query returns too many records and need to be limited by content_owner_id.
    SELECT zrat.tax_rate_id, zrat.tax_rate_code --atco.tax_id, atco.tax_rate
    INTO v_tax_code_id, v_ap_tax_rate
    FROM --ap_tax_codes_all atco,
    po_vendor_sites_all pvsi, zx_rates_b zrat
    WHERE pvsi.vendor_site_id = r_ooli.execute_vendor_site_id
    --AND atco.name = pvsi.vat_code
    AND zrat.tax_rate_code = pvsi.vat_code
    --AND atco.org_id = r_ooli.debited_org_id
    --AND atco.enabled_flag = 'Y';
    AND zrat.active_flag = 'Y'
    AND trunc(sysdate) between zrat.effective_from and zrat.effective_to;
    How should I determine the content_owner_id?
    This code is executed during a concurrent request

    ZX_TAXES_B, ZX_STATUS_B and ZX_RATES_B tables contain content Owner Id column... you have to first find out the relevant content owner id from the complete list of options that are available, then hardcode the same to your SQl query to narrow down on unique record ...
    Regards,
    Ivruksha

  • How to determine current used ip address is from company wifi

    Hello guys, currently doing an attendance app (ios / android) for user to check in / out (will capture location coordinate, current used IP and etc, then send back to the server). Besides will use C# web as back-end reporting.
    At back-end reporting how do I determine or check the IP address being used is from company WiFi or not ?
    The purpose of this is because ensure the user check in / out within the office area. On the other hand, sometimes user will outstation at client side and check in / out by using the app (ios / android).
    Besides, any better ways to do this ?
    Thanks

    Hi loonloon,
    Based on your description, your case related to ios / android app. Both of them are third-patry mobile product. I am afraid this is out of our support. Thanks for your understanding and effort.
    Best regards,
    kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Graphics2D: How to determine current stroke width?

    I am trying to do something that sounds like it should be easy: I need to determine the current width of the stroke that is currently in effect in a Graphics2D. Graphics2D has a method called getStroke() which returns a Stroke. This in turn is an interface to BasicStroke which does have a getLineWidth() method.
    I don't seem to be able to conect the two. I don't know how to call a method in an object to which I only have an interface. Any advice on how to do this?

    Thanks Kaj. That is the right answer. I was screwing it up by having the cast nested inside a bigger expression. Made me doubt my own knowledge. All is OK now.

  • How to Use Switch Statement with Exclusion Group (radio buttons)?

    Wouldn't you know, just when I though I'd really be making progress, I've come across another problem I can't solve. In a homeowners insurance application I am building, there is an exclusion group that needs to set the value of several variables
    I have setup in the form properties/variables. These variables take on different values depending on the users choice.  For the exclusion group, in the object pallet, I have set the binding to normal, and have checked the "Specify Item Values" check box. Also the values for the choices have been assigned 1,2,3,4,5.
    Here is my code for the change event fir the exclusion group (This is exactly what I have tried). For now, the values for the variables to take on in the different cases, are completely arbitrary.
    switch (this.change.rawValue)              // I have tried so many things here
        case "1":                                        // I have tried the caption, single quotes in all combinations
            addLivingExp = "1";
            damageOthersProperty = "2";
            liabilityIncl = "3";
            maxCoverage = "4";
            minCoverage = "5";
            persProperty = "6";
            relatedPrivateStruct = "7";
            break;
        case "2":    
            addLivingExp = "10";
            damageOthersProperty = "20";
            liabilityIncl = "30";
            maxCoverage = "40";
            minCoverage = "50";
            persProperty = "60"
            relatedPrivateStruct = "70";
            break;
        case "3":    
            addLivingExp = "100";
            damageOthersProperty = "200";
            liabilityIncl = "300";
            maxCoverage = "400";
            minCoverage = "500";
            persProperty = "600"
            relatedPrivateStruct = "700";
            break;
        case "4":    
            addLivingExp = "1000";
            damageOthersProperty = "2000";
            liabilityIncl = "3000";
            maxCoverage = "4000";
            minCoverage = "5000";
            persProperty = "6000"
            relatedPrivateStruct = "7000";
            break;   
        case "5":    
            addLivingExp = "10000";
            damageOthersProperty = "20000";
            liabilityIncl = "30000";
            maxCoverage = "40000";
            minCoverage = "50000";
            persProperty = "60000"
            relatedPrivateStruct = "70000";
            break;   
        default:   
            minCoverage= 5;   
            break;
    There must be something obvious I am missing? Eternally grateful for advice on this.
    Stephen

    There are two issues in this script:
    1. You are not using the accessor 'value' to set form variables
    2. You are not correctly getting the value of the radio button list in the switch clause
    Please see the working script below.
    Ben Walsh
    www.avoka.com
    switch (this.rawValue) 
        case "1":                                       
            addLivingExp.value                  = "1";
            damageOthersProperty.value   = "2";
            liabilityIncl.value                      = "3";
            maxCoverage.value                 = "4";
            minCoverage.value                  = "5";
            persProperty.value                  = "6";
            relatedPrivateStruct.value        = "7";
            break;
        case "2":   
            addLivingExp.value                  = "10";
            damageOthersProperty.value   = "20";
            liabilityIncl.value                     = "30";
            maxCoverage.value                 = "40";
            minCoverage.value                  = "50";
            persProperty.value                  = "60"
            relatedPrivateStruct.value        = "70";
            break;
        case "3":   
            addLivingExp.value                 = "100";
            damageOthersProperty.value   = "200";
            liabilityIncl.value                     = "300";
            maxCoverage.value                 = "400";
            minCoverage.value                  = "500";
            persProperty.value                  = "600"
            relatedPrivateStruct.value        = "700";
            break;
        case "4":   
            addLivingExp.value                  = "1000";
            damageOthersProperty.value   = "2000";
            liabilityIncl.value                      = "3000";
            maxCoverage.value                 = "4000";
            minCoverage.value                  = "5000";
            persProperty.value                  = "6000"
            relatedPrivateStruct.value        = "7000";
            break; 
        case "5":   
            addLivingExp.value                  = "10000";
            damageOthersProperty.value   = "20000";
            liabilityIncl.value                      = "30000";
            maxCoverage.value                 = "40000";
            minCoverage.value                  = "50000";
            persProperty.value                  = "60000"
            relatedPrivateStruct.value        = "70000";
            break; 
        default:  
            minCoverage.value                 = 5;  
            break;

  • How to determine current SIMMs installed in 2801?

    Hi,
    I have a remote 2801 with 128MB DRAM installed, but need to know if it exists of 1 x 128MB SIMM or 2x 64MB SIMM. Is there any way to determine this remotely (like you can with the 3640 series)?
    If not, any one happen to know what is the default (1 or 2 banks) for the CISCO2801?
    Thanks,
    Leo

    Hi Leo
    Cisco 2801 routers have 128 MB of SDRAM soldered onto the system board.. You can install an additional DIMM in the DIMM connector to expand system memory to a maximum of 384 MB.
    For more info:
    http://www.cisco.com/en/US/products/ps5854/products_installation_guide_chapter09186a00802c5ad8.html#wp1026137
    HTH

  • ASR9K - Number of policy-map limit and how to check current stats?

    Hello,
    I need to add COS policy-map profiles for ethernet service on top of existing ones. we have quite a lot already and would like to know the maximum number the ASR supports, as well as the command to check the current number of policy-maps in the node. Any Cisco doc/link?
    the platform spec : ASR9010, A9K-RSP-8G, XR 4.2.3
    Thanks in advance.
    intopian
    Cisco networker

    From CCO, found two different conflicting information though for same release 3.7.2. confusing..
    http://www.cisco.com/en/US/docs/routers/asr9000/software/asr9k_r4.2/qos/command/reference/b_qos_cr42asr9k_chapter_011.html#wp966352593
    "The maximum number of policy maps supported is 2000."
    http://www.cisco.com/en/US/docs/routers/asr9000/software/asr9k_r4.0/qos/command/reference/qr40asr9k_chapter1.html#wp915159151
    "The maximum number of policy maps supported is 1000."
    Thanks for your reply!

  • Switching resource group in 2 node cluster fails

    hi,
    i configured a 2 node cluster to provide high availability for my oracle DB 9.2.0.7
    i have created a resource and named it oracleha-rg,
    and i crated later the following resources
    oraclelh-rs for logical hostname
    hastp-rs for the HA storage resource
    oracle-server-rs for oracle resource
    and listener-rs for listener
    whenever i try to switch the resource group between nodes is gives me the following in dmesg:
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <hafoip_stop> for resource <oraclelh-rs>, resource group <oracleha-rg>, node <DB1>, timeout <300> seconds+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 784560 daemon.notice] resource oraclelh-rs status on node DB1 change to R_FM_UNKNOWN+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 922363 daemon.notice] resource oraclelh-rs status msg on node DB1 change to <Stopping>+
    +Feb  6 16:17:49 DB1 ip: [ID 678092 kern.notice] TCP_IOC_ABORT_CONN: local = 010.050.033.009:0, remote = 000.000.000.000:0, start = -2, end = 6+
    +Feb  6 16:17:49 DB1 ip: [ID 302654 kern.notice] TCP_IOC_ABORT_CONN: aborted 0 connection+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 784560 daemon.notice] resource oraclelh-rs status on node DB1 change to R_FM_OFFLINE+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 922363 daemon.notice] resource oraclelh-rs status msg on node DB1 change to <LogicalHostname offline.>+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <hafoip_stop> completed successfully for resource <oraclelh-rs>, resource group <oracleha-rg>, node <DB1>, time used: 0% of timeout <300 seconds>+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 443746 daemon.notice] resource oraclelh-rs state on node DB1 change to R_OFFLINE+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <hastorageplus_postnet_stop> for resource <hastp-rs>, resource group <oracleha-rg>, node <DB1>, timeout <1800> seconds+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 784560 daemon.notice] resource hastp-rs status on node DB1 change to R_FM_UNKNOWN+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 922363 daemon.notice] resource hastp-rs status msg on node DB1 change to <Stopping>+
    +Feb  6 16:17:49 DB1 SC[,SUNW.HAStoragePlus:8,oracleha-rg,hastp-rs,hastorageplus_postnet_stop]: [ID 843127 daemon.warning] Extension properties FilesystemMountPoints and GlobalDevicePaths and Zpools are empty.+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <hastorageplus_postnet_stop> completed successfully for resource <hastp-rs>, resource group <oracleha-rg>, node <DB1>, time used: 0% of timeout <1800 seconds>+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 443746 daemon.notice] resource hastp-rs state on node DB1 change to R_OFFLINE+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 784560 daemon.notice] resource hastp-rs status on node DB1 change to R_FM_OFFLINE+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 922363 daemon.notice] resource hastp-rs status msg on node DB1 change to <>+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.error] resource group oracleha-rg state on node DB1 change to RG_OFFLINE_START_FAILED+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.notice] resource group oracleha-rg state on node DB1 change to RG_OFFLINE+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 447451 daemon.notice] Not attempting to start resource group <oracleha-rg> on node <DB1> because this resource group has already failed to start on this node 2 or more times in the past 3600 seconds+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 447451 daemon.notice] Not attempting to start resource group <oracleha-rg> on node <DB2> because this resource group has already failed to start on this node 2 or more times in the past 3600 seconds+
    +Feb  6 16:17:49 DB1 Cluster.RGM.global.rgmd: [ID 674214 daemon.notice] rebalance: no primary node is currently found for resource group <oracleha-rg>.+
    +Feb  6 16:19:08 DB1 Cluster.RGM.global.rgmd: [ID 603096 daemon.notice] resource hastp-rs disabled.+
    +Feb  6 16:19:17 DB1 Cluster.RGM.global.rgmd: [ID 603096 daemon.notice] resource oraclelh-rs disabled.+
    +Feb  6 16:19:22 DB1 Cluster.RGM.global.rgmd: [ID 603096 daemon.notice] resource oracle-rs disabled.+
    +Feb  6 16:19:27 DB1 Cluster.RGM.global.rgmd: [ID 603096 daemon.notice] resource listener-rs disabled.+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.notice] resource group oracleha-rg state on node DB1 change to RG_OFF_PENDING_METHODS+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.notice] resource group oracleha-rg state on node DB2 change to RG_OFF_PENDING_METHODS+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <bin/oracle_listener_fini> for resource <listener-rs>, resource group <oracleha-rg>, node <DB1>, timeout <30> seconds+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <bin/oracle_listener_fini> completed successfully for resource <listener-rs>, resource group <oracleha-rg>, node <DB1>, time used: 0% of timeout <30 seconds>+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.notice] resource group oracleha-rg state on node DB1 change to RG_OFFLINE+
    +Feb  6 16:19:51 DB1 Cluster.RGM.global.rgmd: [ID 529407 daemon.notice] resource group oracleha-rg state on node DB2 change to RG_OFFLINE+
    and the resource group fails to switch...
    any help please?

    Hi,
    this forum is for Oracle Clusterware, not Solaris Cluster. You probably should close this thread and open your question in the corresponding Solaris Cluster forum, to get help.
    Regards
    Sebastian

  • How to determine what the current group level is?

    Post Author: mavrick5
    CA Forum: Formula
    I hope someone can help me urgently.  I have a complex report which has multiple drill down levels.  I am printing values for sales and qty at each drill down level as well as a calculation for average selling price.  What I want to do is calculate the average for the totals, not calculate the average per detail line and then calculate the average of the average (if you understand what I mean).  I have the averages calculating correctly except the total line in each drill down. How can I determine in a formula what group total I am currently printing (eg. group footer 1, group footer 2, etc.).  If I can determine which group footer I am currently printing, then I can change my calculation based upon the drill down level and the group footer. Thanks in advance.

    Post Author: yangster
    CA Forum: Formula
    think you are looking for the functiondrilldowngroupleveljust pop that into a formula and drag it into your report you'll see it counts from 0 when no drilldown has been invokedi use drilldowngoruplevel a lot to display different page headers depending on drill down level

Maybe you are looking for