Access the following value of DBSequence

Hi all

I have a database of sequence set upward at the DB level using a trigger, but it's my scenario:

I create transaction that needs to know the following this sequence value before validation of insertion. How can I access this value programmatically or otherwise?

Thank you

@https://forums.oracle.com/people/Cvele_new_account , it won't work, and you may find yourself pointing a bad master. Call on a sequence nextVal will give you the nine next sequence, but as his guarantee that each number is returned only once, at the point where you're and relaxation asking the next number, it will not be the one you got from the procedure call.

Even if you are using currVal and add 1 cannot you be sure that have the right number as there may be other undertakes at the same time.

@https://forums.oracle.com/people/jtyreman a better way to fix this is to the pk assigning directly in the OS using a groovy expression.  In this way, the sequence number is assigned and do not change. An example for this can be found here http://wp.me/pcBZk-6Y

Timo

Tags: Java

Similar Questions

  • Creation function Interior package Error (15,3): PLS-00103: encountered the symbol ";" when expecting one of the following values: back

    Hello

    I am trying to create a function inside the packaging.

    In the Package BODY I've defined the function, but in the definition of the package, it gives me syntax errors.

    • Error (15,3): PLS-00103: encountered the symbol ";" when expecting one of the following values: back
    • Error (39.1): PLS-00103: encountered the symbol "END" when waiting for one of the following values: start the function pragma procedure subtype type current cursor removal exist prior

    What can I do wrong here.

    Thank you

    Ken

    Inner package BODY:

    / * FUNCTION to form the query * /.

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    IN_SRC_CONDN VARCHAR2

    )

    RETURN VARCHAR2

    AS

    varSQLQuery VARCHAR2 (10000);

    BEGIN

    varSQLQuery: = "test query";

    RETURN varSQLQuery;

    DBMS_OUTPUT. Put_line (varSQLQuery);

    END UDF_FORMQUERY;

    Definition of package inside:

    create or replace PACKAGE BODY MY_SQUERY

    AS

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    VARCHAR2 IN_SRC_CONDN( )

    RETURN VARCHAR2

    AS varSQLQuery VARCHAR2 (10000);

    END MY_SQUERY;

    your package definition is incorrect, you have included the part of the declaration of the variables of the function in the package definition. It should be like

    FUNCTION UDF_FORMQUERY)

    IN_CASEID VARCHAR2,

    IN_SRCLYR VARCHAR2,

    IN_SRC_CONDN VARCHAR2)

    RETURN VARCHAR2;

  • PLS-00103: encountered the symbol "" when expecting one of the following values:

    Hello

    When running under pl/sql block get below error...

    Please advice me where I am wrong

    DECLARE
    T_DATE date: = sysdate-813;
    v_last_closing_book_bal_amt (19: 4) NUMBER: = NULL;
    v_txn_amt (19: 4) NUMBER: = NULL;
    v_max NUMBER (5): = 100;
    NUMBER (5) v_count: = 1;

    BEGIN

    FOR I IN 1.30
    LOOP

    WHILE (v_count < = v_max)
    LOOP
    Insert into AI_ODS_TXN (BANK_BRANCH_ID,ACCT_NO,ISO_CCY_CD,CR_DR_IND,BOOK_DT,VALUE_DT,TXN_KEY,TXN_TYP_DE,TXN_CAT_DE,TXN_CD,TXN_AMT,FUNDS_TYP_CD,RPT_REF_TXT,INSERTED_TS,UPDATED_TS,BANK_ABA_NO,BENE_PARTY_BANK_ID,BENE_PARTY_BANK_NM,BENE_PARTY_BANK_ADDR_LINE1_TXT,BENE_PARTY_BANK_ADDR_LINE2_TXT ,BENE_PARTY_BANK_ADDR_LINE3_TXT,BENE_BANK_ID,BENE_BANK_NM,BENE_BANK_ADDR_LINE1_TXT,BENE_BANK_ADDR_LINE2_TXT,BENE_BANK_ADDR_LINE3_TXT,DETAIL_LINE1_TXT,DETAIL_LINE2_TXT,DETAIL_LINE3_TXT,DETAIL_LINE4_TXT,DETAIL_LINE5_TXT,FED_CLEAR_TS_TXT,CR_DR_PARTY_NM,CR_DR_PARTY_ADDR_LINE1_TXT,CONTROL_NO,INTERMED_BANK_ID ,INTERMED_BANK_NM,INTERMED_BANK_ADDR_LINE1_TXT,INTERMED_BANK_ADDR_LINE2_TXT,INTERMED_BANK_ADDR_LINE3_TXT,ORG_BANK_NM,ORG_BANK_ADDR_LINE1_TXT,ORG_BANK_ADDR_LINE2_TXT,ORG_BANK_ADDR_LINE3_TXT,OGB_BANK_NM,OGB_BANK_ADDR_LINE1_TXT,OGB_BANK_ADDR_LINE2_TXT,OGB_BANK_ADDR_LINE3_TXT,INSTRUCT_BANK_NM,INSTRUCT_BANK_ADDR_LINE1_TXT ,UNCLEAR_DT,UNCLEAR_ITEM_IND,INSTRUCT_AMT,INSTRUCT_CCY_CD,SENDER_CHARGE_LINE1_TXT,SENDER_CHARGE_LINE2_TXT,SENDER_CHARGE_LINE3_TXT,SENDER_CHARGE_LINE4_TXT,REGULATORY_TXT,BANK_REF_TXT,EXT_REF_TXT,YOUR_REF_TXT,FED_DR_ACCT_NO,SWIFT_STMT_NO,NDC_CD,BAI_CD,SWIFT_CD,CNS_SEQ_NO,LOAD_NO,UPDATED_WORKFLOW_NM,EXCHANGE_RT,ORG_BANK_ID ,OGB_BANK_ID,INSTRUCT_BANK_ID,SRC_MSG_TYP,CLEAR_DT,JOURNAL_NO,SERIAL_NO,SWIFT_STMT_DT,CR_DR_TXT,SUPP_DETAIL_TXT,GVC_CD,BOOKING_TXT,ITEM_TYP_DE,ORG_BANK_ACCT_NO,RETURNED_DDT_TXT,DETAIL_LINE6_TXT,DETAIL_LINE7_TXT,DETAIL_LINE8_TXT,DETAIL_LINE9_TXT,DETAIL_LINE10_TXT,DETAIL_LINE11_TXT,DETAIL_LINE12_TXT,DETAIL_LINE13_TXT ,DETAIL_LINE14_TXT,EXTRA_BCS_DETAIL_IND,OGB_BANK_ACCT_NO,INTERMED_BANK_ACCT_NO,CR_FLOOR_LIMIT_AMT,DR_FLOOR_LIMIT_AMT,MT942_TOTAL_CR_AMT,MT942_TOTAL_CR_NO,MT942_TOTAL_DR_AMT,MT942_TOTAL_DR_NO,INTERIM_FINAL_TXN_IND) values ('DBBRUSSELS','825-0004665-47','EUR','C',to_timestamp(v_date,'DD-MON-RR HH.MI. SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), '2009102201521911232172' + v_count, "TRANSFER", "TRANSFER of FUNDS", "SWF", 100, "VT", "I000424906808216", to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), null, null, null, null, "AAAAA35AAHNLEITEN GMBH", null, null, null, null, null, null,'IHR KT 0000002056/200000044 ', 4 NR.5100000835 09.03.09/N','ETTOBTR. NR.510000', ' 0872 6.627,01 10.03.09/NETTOBTR. 4', 559, 21 NR.5100000891 11.03', null, null, null, null, null, null, null, null, null, "DUROPACK AG 1235 WIEN", "XXN33XXXXROHNLEITEN GMBH", null, null, null, null, null, null, null, null, null, ' n, null, null, null, null, null, null, null, ' PET326000108PAGE AND ', 'I000424906808216', 'I000424906808216', null,' 102/1 ', null, 195, 'TRF', null, 0, "w_MT940_PROC - Type: first STMT ', 0, '15150', null, null, '940', null , null, null, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) (SSXFF AM'), 'C', null, '051', ' GUTSCHRIFT ELEKTRON. ", '76VB', '501057590',"QQQ34DQQQROHNLEITEN GMBH ", 09/NETTOBTR. 5.093,33 NO.5 ',' 100000899/12.03.09/NETTOBT','R. 2.302,58 NR.5100000917 / 13.03.09/NETTOBTR «,» (831,37 no, 'R.5100001006 2', null, null, null, null, null, null,' n, null, null, null, null, null, null, 'F');
    COMMIT;

    v_count: = v_count + 1;

    END LOOP;





    Select nvl(last_closing_book_bal_amt,0) in the v_last_closing_book_bal_amt of ai_ods_acct_tbl
    WHERE ACCT_NO = 825-0004665-47' AND BANK_BRANCH_ID = 'DBBRUSSELS' AND ISO_CCY_CD = "EUR";

    Select nvl (sum (txn_amt), 0) in the v_txn_amt of ai_ods_txn
    WHERE ACCT_NO = 825-0004665-47' AND BANK_BRANCH_ID = 'DBBRUSSELS' AND ISO_CCY_CD = 'EUR' and book_dt = to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM');



    Insert into ai_ods_BOOK_dt_agg (BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, BOOK_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ('DBBRUSSELS', 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));
    Insert into ai_ods_value_dt_agg (BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, VALUE_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ('DBBRUSSELS', 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));
    Insert into ai_ods_CATEGORY_agg (TXN_CAT_DE, BANK_BRANCH_ID, ACCT_NO, ISO_CCY_CD, BOOK_DT, TOTAL_DR_ITEM_NO, TOTAL_DR_AMT, TOTAL_CR_ITEM_NO, TOTAL_CR_AMT, INSERTED_TS, UPDATED_TS) values ("TRANSFER of FUNDS", "DBBRUSSELS", 825-0004665-47', "EUR", to_timestamp (T_DATE,' DD-MON-RR HH.MI.)) SSXFF AM'), 0,0,4, v_txn_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'));

    Insert into ai_ods_acct_bal (BANK_BRANCH_ID,ACCT_NO,ISO_CCY_CD,BOOK_DT,INTERIM_FINAL_BAL_IND,LOAD_NO,BOOK_BAL_AMT,VALUE_BAL_AMT,COLLECTED_BAL_AMT,TOTAL_DR_AMT,TOTAL_CR_AMT,TOTAL_CHECK_CR_AMT,TOTAL_LBX_AMT,TOTAL_IMPREST_DR_AMT,TOTAL_IMPREST_CR_AMT,ONE_DAY_FLOAT_AMT,TWO_DAY_FLOAT_AMT,THREE_DAY_FLOAT_AMT ,FOUR_DAY_FLOAT_AMT,MTD_AVG_COLLECTED_BAL_AMT,YTD_AVG_COLLECTED_BAL_AMT,INSERTED_TS,UPDATED_TS,UPDATED_WORKFLOW_NM,OPEN_BOOK_BAL_AMT,SWIFT_STMT_DT,SWIFT_STMT_NO,MISSING_STMT_IND,SRC_MSG_TYP,TAG_60F_DT,TAG_60F_AMT,STMT_TYPE_IND) values ('DBBRUSSELS','825-0004665-47','EUR',to_timestamp(v_date,'DD-MON-RR HH.MI. SSXFF AM'), 'F', 0, v_last_closing_book_bal_amt + v_txn_amt,.
    v_last_closing_book_bal_amt + v_txn_amt, 0, 0, v_txn_amt, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), to_timestamp (T_DATE,' DD-MON-RR HH.MI.) SSXFF AM'), ' w_MT940_PROC - Type: first STMT ", v_last_closing_book_bal_amt, to_timestamp (T_DATE,' DD-MON-RR HH.MI.) (SSXFF AM'),' 102/1 ', ', '940', to_timestamp (17 April 09 ',' DD-MON-RR HH.MI.) SSXFF AM'), v_last_closing_book_bal_amt, '=');
    COMMIT;

    T_DATE: = sysdate-809;
    T_DATE: = T_DATE + I;
    v_count: = 1;

    END LOOP;
    END;
    /


    ERROR
    *=====*

    T_DATE date: = sysdate-813;
    ***
    ERROR on line 2:
    ORA-06550: line 2, column 7:
    PLS-00103: encountered the symbol "" when expecting one of the following values:
    constant exception < an ID >
    * < a double-quoted delimited identifiers > table double Fedya Ref *.
    char time timestamp interval date binary national character
    NCHAR

    Hello

    First of all, you said T_DATE as DATE data type

    v_date                                      date := sysdate -813;
    

    And then you try to use a timestamp like this

    to_timestamp(v_date,'DD-MON-RR HH.MI.SSXFF AM'),
    

    T_DATE's DATE, not VARCHAR2.

    You should try CAST to convert the TIMESTAMP DATE. Or. first convert the VARCHAR2 DATE, then by TIMESTAMP.

    Kind regards

  • To access the 'specified values' through script

    When you specify (on the link tab) point values for a drop-down list field, how to access a script specified values - as opposed to access the string value?

    I use the example of WindJack script (part 1 of the list of programming) to feed a combo, but he needs to complete the initial drop string value - chains I have are a little long and unweildy and if they change I need to update the scripts, etc.. Be able to access the value of the drop-down list would make things much simpler.

    var oReasons = 
        {
         "CHQ Returned Undeliverable Cheque": ["01: Unclaimed at Address","02: Unknown Address","03: Address Incomplete","04: No Such Post Office","05: No Such Address","06: Deceased","07: Moved, Address Unknown","08: Refused by Addressee","09: No Reason Given on Envelope","10: Returned Twice from Same Address","11: Additional Information Required - Re-Direct to Ministry","12: Refused - Duplicate Payment"],
            "CHQ Stop Payment - Cheque Attached": ["30: Cancelled - Payment Not Required","31: Stale Dated","32: Cancelled - Incorrect Payee Name","33: Damaged/Destroyed","36: Cancelled - Duplicate Payment","37: Cancelled - Incorrect Amount/Currency","38: Cancelled - Not Entitled","39: Cancelled - Deceased","40: Cancelled - Cannot Locate Payee","41: Wrong Currency","43: Cancelled - Change of Payee"],
            "CHQ Stop Payment - No Cheque Attached": ["20: Never Received/Lost in Delivery (BOI Required","21: Lost/Stolen After Receipt (BOI Required)","23: Not Entitled - Duplicate Payment","24: Not Entitled - Deceased","25: Lost in Clearing (BOI must be signed by negotiating FI)","26: Damaged/Destroyed","27: Not Entitled","28: Stale Dated","29: Not Entitled - Incorrect Payee Name","44: Not Entitled - Payment Not Required","45: Not Entitled - Incorrect Amount","46: Not Entitled - Cannot Locate Payee","47: Not Entitled - Wrong Currency"],
            "Restricted Codes": ["34: Forged Endorsement","35: Material Alteration"]
        };
    
    // the long values above (before the colons) 
    
    // are what I'd like to access by specified value
    
    function SetReasonEntries()
    {
       ReasonList.clearItems();
       ReasonList.rawValue = null;
    
       var aReasons = oReasons[xfa.event.change];
       if(aReasons && aReasons.length)
       {
          for(var i=0;i<aReasons.length;i++)
            ReasonList.addItem(aReasons[i].toString());
       }
    }
    

    Hi Jono,

    You can specify a value as the second parameter to the addItem method and then access this value using the method boundItem as when the values are entered in the designer.

    So in your case, you can load your values

    ReasonList.addItem (aReasons [i] m:System.NET.SocketAddress.ToString (), aReasons [i] m:System.NET.SocketAddress.ToString () .substring (0.2));

    In the click event (or both) then you can use;

    this.boundItem (xfa.event.change)

    to return the value which was adopted as the second parameter of the addItem.

    In your case, you can get out with the help of the .substring (0.2) to get the value, but an alternative would be to have an array of objects.

    'QHC returned the returned cheque': [{id: 1, text: "01: unclaimed at the address"}, {id: 2, text: "02: unknown address"}, {id: 3, text: "03: incomplete address"}, {id: 4, text: "04: No Such Post Office"}, {id: 5, text: "05: No Such address"}, {id: 6, text: "06: d."}, {id: 7, text: "07: moved, address unknown"}, {id: 8, text: "08: refused by the addressee"}, {id] [{: 9, text: ' 09: no reason given on the envelope "}, {id: 10, text:}" 10: returned twice to the same address "}, {id: 11, text:}" 11: additional information required - re - direct to the Department "}, {id: 12, text:}" 12: declined - duplicate payment "}]
    ,......

    Then, you might have;

    ReasonList.addItem (aReasons [i] .text, aReasons [i].id.toString ());

    ... Just in case they come with a 100th reason for not producing the cheque.

    Bruce

  • I'm trying to access the selected value of a group of radiobutton Error #1006

    I'm trying to access the selected value of a radiobutton group, but when I do it like this:

    Debug.Text = radiogroup1.selectedValue (m:System.NET.SocketAddress.ToString ());

    I get an error like actionscript:

    TypeError: Error #1006: value is not a function.
    hand / debug1 () [Z:\mysite.co.uk\Staff\src\main.mxml:47]
    hand / ___main_Button2_click ([Z:\mysite.co.uk\Staff\src\main.mxml:372])

    No help from friendly people? ;-)

    Debug.Text = radiogroup1.selectedValue.toString ();

  • Access the text value of the dropdownlist control

    I have a dropdown list with the selected value to access a method. I used this.getIstdcddl () .getValue (), but it returns the index number of the drop-down list and not the real value of it. I'd be happy if someone could answer this problem.

    Published by: 849110 on April 1st, 2011 03:28

    As createValueBinding() is a depricated method, you can use the following.

    Here's the code...

    DCBindingContainer = dcBindings
    (DCBindingContainer) BindingContext.getCurrent () .getCurrentBindingsEntry ();
    DCIteratorBinding = iterBind
    (DCIteratorBinding) dcBindings.get ("MyView1Iterator");
    If (this.reasonDropDown.getValue ()! = null) {}
    int rowIndex =
    Integer.parseInt (this.reasonDropDown.getValue () m:System.NET.SocketAddress.ToString ());
    Rw = iterBind.getRowAtRangeIndex (rowIndex) line;
    If (rw! = null) {}
    Used = rw.getAttribute("AttributeName").toString (.trim ());
    }

    I hope this helps...

    ~ Abhijit

    Published by: Abhijit Dutta, April 1, 2011 16:46

  • Cannot access the process value of the variable in the DXFA file

    Hello

    I use request-Assembly solution accelerator to sting the forms. I'm trying to access a process inside the dxfa file variable.

    It's the syntax I used: < var items = c:forEach = "${requestScope.paramsMap.templateList"templateItem"}" > the templateList value is not read. The same code works fine if I hard code elements.

    paramsMap is defined as the variable map of parameters in the function invokeODADocument.

    Any suggestions on what I might be missing here?

    Thank you.

    Kind regards

    Vidya

    Vidya Kesavan

    Just a shot in the water here, but I think you have a typo in on "requestScropt.paramsMap.templateList" where "paramsMap" should be "paramsmap" in the context of the CSC model. This could be the cause, it is impossible for ODA find the variable you are referencing. (I think it's "paramsmap" within the SCC regardless of what name you have the parameter map process variable.)

    Stefan

    Adobe Systems

  • Firefox for android mobile phone said app can access the following on your phone... take pictures and videos? Is there a work around? If not have to uninstall.

    I have Firefox for my laptop and wanted to use it on my phone Android mobile phone. When I saw under permissions that the application can access photos and videos and can take photos and videos that seemed very odd. Does anyone know of a work around to keep the app to take photos and videos without my permission? I do not want to uninstall but can allow the intrusion of privacy.

    We have a help article about why this permission is here: how Firefox for Android uses the requested permissions?

    Specifically, some sites may give you the option to attach or embed an image directly from the camera instead of going through a folder of pictures already taken. In order to support this feature, Firefox requires permissions to access the camera. However, according to this article, Firefox will ask your permission before leaving the site to use the camera. I don't think I have ever seen this in action.

  • How can I fix this error message, the address has not been understood Firefox doesn't know how to open this address, because one of the following values for protocols (connectag

    We have a new computer and I can't get my watch running from garmin for synchronization with mozilla. The error message I get is "address not was heard.

    Firefox doesn't know how to open this address, because one of the following protocols (connectagent) is not associated with any program or is not allowed in this context.

       You might need to install other software to open this address."
    

    Help please

    Hi grranchgirl, if you have an "Always enable" and "never activate?

    I don't know if the terms 'modern' and 'classic' mean anything to you, but there is a thread on the Garmin forums that might be useful - it is very long and I didn't read it all.

    https://forums.Garmin.com/showthread.php?79956-modern-Garmin-connect-mostly-doesn-t-work-in-both-Firefox-and-chrome & p = 330634 #post330634

  • How can timestamp in LVM file - I access the ms value?

    Hi all,

    I have a file measurament and when I explain it, I need timestamp with millisecond precision, but I can't read in labview!
    sample file:
      
    Channels 4
    Samples of 5000 5000 5000 5000
    Date 23/04/2010-2010/04/2010 to 23/04/2010 to 23/04/23
    Time 12:40:59.828125 12:40:59.828125 12:40:59.828125 12:40:59.828125
    X_Dimension time time time time
    X 0 3.3548640598213959E, 9 3.3548640598213959E, 9 + 9 + 9 3.3548640598213959E 3.3548640598213959E
    Delta_X 2.000000E - 7 2.000000E - 7 2.000000E - 7 2.000000E - 7
    End_of_Header *.

    in labview I can read up to the second value either! Why?


  • Search for the string in the string table and see the following value in the line

    Hi, I'm new I have LV and I do a Vi that read worksheet values and generates 2d channels of the same spreadsheet table. For the moment everything I need is a function that find specyfic string in this table and show the next value in a line. As:

    Table:

    a; b
    c; d
    f; g

    example: find the 'c '.

    VI shoud show "d".

    Concerning

    Not a bad homework problem.  Do it with pencil and paper.  Write your table and pretend you're the computer.  What you want to do (step by step)?  What questions do you have?

    Now that the translation a bit to computers.  You mentioned that the data is in an array of strings.  What structures (LabVIEW) work with tables?  [Do you know how to work with tables?  [Otherwise, review some of LabVIEW Tutorial material - see top right of the first page of the Forum].  What do you know about channels?  What questions you need to ask questions on the channels?  What do you know about string functions?

    Watch these things in some LabVIEW code, 'feed' some data and see what he does.  If it seems to do things "unexplained", you can try to look at the block diagram to run by turning the performance highlight (and if you don't know what that means, use the help of LabVIEW and see the tutorials).

    Bob Schor

  • To access the JMX values via JRockit Mission Control

    Hello

    We try to solve certain problems of JDBC that we have with 10.3 and I thought we could access the mbeans of JRockit Mission control to trigger alerts but I can't seem to find the WebLogic server mbeans in the console. Am I missing something?

    Any help would be greatly appreciated.

    -Brett

    Well, have you tried this JVM option as described in the message?
    -Djavax.management.builder.initial = weblogic.management.jmx.mbeanserver.WLSMBeanServerBuilder

    If you have an Oracle support contract, I would file a case of pension at this point. You are very close, just need someone to help you at the finish line. Good luck.

  • Not able to access the constant value of package in oracle reports

    Hello

    I created the package with the constant variables in the database

    CREATE or REPLACE PACKAGE cls_vars AS

    -Constants

    const_yes CONSTANT VARCHAR2 (1): = 'Y ';

    const_no CONSTANT VARCHAR2 (1): = 'n';

    const_active CONSTANT VARCHAR2 (1): = 'A ';

    const_inactive CONSTANT VARCHAR2 (1): = 'I ';

    end;

    I created the function of oracle reports, please see the code below

    function CF_CONSTINACTIVEFormula returns the Char type is

    L_const_inactive VARCHAR2 (10);

    Start

    RETURN cls_vars .const_inactive;

    EXCEPTION

    WHILE OTHERS THEN

    RETURNS A NULL VALUE.

    end;

    When I compile this code in the oracle reports, I get this error "cannot directly access remote variable or cursor.

    We can not directly get/set a variable (or constant) in a package to database forms and reports module.

    We must use the procedures/functions to get/set accessor. For example:

    CREATE or REPLACE PACKAGE cls_vars AS

    -Constants

    const_yes CONSTANT VARCHAR2 (1): = 'Y ';

    const_no CONSTANT VARCHAR2 (1): = 'n';

    const_active CONSTANT VARCHAR2 (1): = 'A ';

    const_inactive CONSTANT VARCHAR2 (1): = 'I ';

    FUNCTION get_const_yes RETURN VARCHAR2;

    ...

    END;

    /

    CREATE or REPLACE PACKAGE BODY cls_vars AS

    FUNCTION get_const_yes RETURN VARCHAR2 IS

    BEGIN

    RETURN const_yes;

    END;

    ...

    END;

    /

    Kind regards

    Zlatko

  • How to access the channel values?

    I'm new to scripting language DIAdem.  I TDMS has a group and several channels with String type all.   How to read the first 4 characters of each string values and store into the new channel?  Example of data file attached.

    I tried for the statement in the Script window

    Ch("[1]/result") = Ch("[1]/Frame")

    or

    Ch("[1]/result") = Right (Ch ("[1] / framework", 3))

    All gave me error...

    Hi NiCoder,

    It's the way you read and write individual channel values, but what to do value-by-value is much slower that make them all with a single call to ChnCalculate():

    Set Group = Data.Root.ChannelGroups (1)
    Define FrameChannel = Group.Channels ("Frame")
    Set ResultChannel = Group.Channels.Add ("Result", DataTypeString)
    iMax = FrameChannel.Size
    FOR i = 1 TO iMax
    ResultChannel (i) = Right (FrameChannel (i), 3)
    NEXT ' I

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • The following value is not valid for the guest of execution:

    Hello world

    I get the error when I try to select a member for calls on a BR. below the Member that I select is for accounts Dimension.

    Also at the prompt to run when I go on the Member picker, I see only limited members in the Dimension of account for running applications.

    How can I add this new Member on run-time prompt.

    Thank you

    You can change your RTP in calc Manager.

    Open Calc Manager, open the Variable Designer, then select your RTP variable and change the boundaries to include the new Member.

Maybe you are looking for