DECODE using in OWB 9i

Hi,
I want to use a Decode function inside the SELECT clause. How to do it from OWB. In the list of functions in Oracle Library its not present. I get the function in the Joining Operator or Filter i.e. that will come in the WHERE part.
Then for DECODE in the SELECT part, shall I have to write a function myself to include Oracle's Decode function? Any help will be highly welcome.
regards

Hi,
I download the sample code. But I found the MDL file will only works for OWB9.0.3.33.0, I am using OWB9.0.2.66.0. I don't want to update to OWB9.0.3.33.0 right now. Do you have some suggestions that I can import the MDL file into my OWB?
Thanks
Xuewei
There's a little help I think in the Sample Code section on TechNet - http://otn.oracle.com/sample_code/products/warehouse/content.html
In the case.zip file you'll find a pdf document describing the use of CASE stmts. Check out Method 3 where CASE is used inside a SELECT on a view.
Regards,
mamstrup

Similar Messages

  • HOW TO USE JAVA OWB API

    I'm sorry for my English.
    I try to use java owb api to execute process flow of my owb project from my web application. I use oracle 11g.
    I have found only this thread about use of owb api (https://kr.forums.oracle.com/forums/thread.jspa?threadID=248256&tstart=0).
    I can establish a connection, obtain the project, process flow or mapping object but i can't understand how to run it.
    Help me please
    Stefano

    > JMX and instrumentation are quite different things.
    Not that I know a great deal about either, but this is from the API:
    "Provides services that allow Java programming language agents to instrument programs running on the JVM."
    And this is from the overview I linked:
    "The Java virtual machine (JVM) is instrumented for monitoring and management, providing built-in ("out-of-the-box") management capabilities for for both remote and local access."
    That sounds at least superficially similar to me. I'll do more research when I have the time/need. Thanks for pointing it out, though.
    ~

  • Update the TCL-version used by OWB Scripting OMB Plus

    While implementing scripts under OMB Plus, I need to use/import some already existing TCL-libraries. This libraries need a TCL-version 8.2 or higher. But the TCL-version installed with the OracleWarehouseBuilder is 8.0.
    How can I update the TCL-version used by OWB Scripting (OMB Plus)?
    thanks

    Hi
    I would also like to know how to do this as on certain platforms some basic TCL commands don't work when run in scripts so upgrading the TCL version should hopefully fix this.
    Thanks In Advance
    Ian

  • Is it possible to use the OWB in a cloud environment?

    We are examining the possibility to move a DW into a cloud environment. We are using OWB for our ETL process. Is there anyone who has experience of running a data warehouse in a cloud environment?

    Corey Kozarski wrote:
    I figured that it would be near impossible, but I figured I would ask smarties on here first. I will look into the iMic and see if it allows a second audio out channel. Thanks for the prompt reply!
    There might be a way, but I would guess that it would involve using some sort of third-party software. It would get a bit difficult if you would need to define primary and secondary audio - especially if you need to switch. In addition, I'm not sure what kind of playback software you would be using.
    If there's some way to define primary and secondary audio, you might be able to use something as simple as a USB or Bluetooth headset/headphones. There are some nicer Bluetooth headphones on the market.
    Maybe have a read of this:
    http://developer.apple.com/documentation/DeviceDrivers/Conceptual/WritingAudioDr ivers/AudioOnMacOSX/AudioOnMacOSX.html

  • Decode using bind variable in SQL

    I have decode statement in my SQL query which is used to define the VO object. I want to select a column depending on the value entered for the bind variable :1. dont know how to implement this in OAF - any pointers will be appreciated.
    decode(:1,'XO2C_CUST_SERV_REP',XO2C_CUST_SERV_REP,'XO2C_ACCOUNT_MGR',XO2C_ACCOUNT_MGR,'XO2C_CTS_ENGINEER',XO2C_CTS_ENGINEER ) "contact names"
    Thanks!!

    I have decode statement in my sql for the VO and the VO is executed when the user clicks the GO button(user initiated search and over-riding the default Go button).
    When I click the Go button , I am calling a method called Uneditable in my AM which appends the decode variable using the whereclause append but it is failing with an exception "java.sql.SQLException: Missing IN or OUT parameter at index:: 1". Can someone let me know if I am doing anything indifferently which is causing the program/sql query to fail.
    Binding style of the VO is "Oracle Named" - is this causing the problem?
    ProcessFormRequest:
    =============
    if ("ClickGo".equals(pageContext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    System.out.println("Go Button pressed>> "+am);
    OATableBean table = (OATableBean) webBean.findChildRecursive("USSContactMainVO1");
    System.out.println("before QueryData");
    //table.queryData(pageContext,false);
    System.out.println("before Boolean executeQry");
    Boolean executeQuery = BooleanUtils.getBoolean(false);
    System.out.println("Get PartyName");
    String v_PartyName = pageContext.getParameter("xxPartyName");
    System.out.println("Get SalesContactQry");
    String v_SalesContact = pageContext.getParameter("SalesContact_qry");
    System.out.println("Party Name :" + v_PartyName + " Sales contact:" + v_SalesContact);
    Serializable[] parameters = {v_PartyName, v_SalesContact,executeQuery };
    Class[] paramTypes = { String.class, String.class, Boolean.class };
    am.invokeMethod("uneditable",parameters,paramTypes);
    Uneditable(AM)
    =========
    public void uneditable(String v_PartyName, String v_SalesContact,
    Boolean executeQuery){
    System.out.println("Im in uneditable..to call VO");
    USSContactMainVOImpl vo1= getUSSContactMainVO1();
    String Voqry =vo1.getQuery();
    //System.out.println("Query is :"+ Voqry);
    StringBuffer whereClause = new StringBuffer(100);
    Vector parameters = new Vector(3);
    int clauseCount = 0;
    int bindCount = 0;
    System.out.println("debug1");
    vo1.setWhereClauseParams(null); // Always reset
    System.out.println("check the params");
    if ((v_SalesContact != null) && (!("".equals(v_SalesContact.trim()))))
    System.out.println("Sales:"+v_SalesContact);
    whereClause.append(v_SalesContact);
    System.out.println("bindcount");
    whereClause.append(++bindCount);
    clauseCount++;
    System.out.println("setWhereclas");
    vo1.setWhereClause(whereClause.toString());
    System.out.println("setWhereclasParam");
    vo1.setWhereClauseParams(null);
    System.out.println("setWhereclasParam-2");
    vo1.setWhereClauseParam(0,v_SalesContact);
    if ((v_PartyName != null) && (!("".equals(v_PartyName.trim()))))
    whereClause.append(" Party_Name like :");
    whereClause.append(++bindCount);
    clauseCount++;
    vo1.setWhereClause(whereClause.toString());
    vo1.setWhereClauseParams(null);
    //vo1.setWhereClauseParam(0,v_PartyName);
    vo1.setWhereClauseParam(1,v_PartyName);
    System.out.println("Query is :" + vo1.getQuery()); //prints this debug msg but fails while executnig the vo
    vo1.executeQuery();
    Row[] rows1=vo1.getAllRowsInRange();
    USSContactMainVORowImpl row = null;
    for (int i = 0; i < rows1.length; i++)
    System.out.println(" Rows Found "+i);
    row = (USSContactMainVORowImpl)rows1;
    row.setAttribute("CTSEngineer_TR",Boolean.FALSE);
    //end of uneditable
    It appends the 2nd parameter and prints System.out.println("Query is :" + vo1.getQuery()) without any issues but think fails when trying to execute the VO.
    Error Stack :
    =======
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hp.party_name,hp.party_number registry_id, hps.party_site_number Site_Number, hca.account_number,
    hca.account_name acc_desc,
    hl.address1
    || ''
    || hl.city
    || ''
    || hl.postal_code
    || ''
    || hl.state "Address",
    xagv.xo2c_entering_unit "Entering_Unit",
    DECODE(hou.Short_code,'USS CA OU','CA','USS USA OU','US') "Operating_Unit",DECODE('.',null,null) "CTS", DECODE(:1,'Customer Service Rep',XO2C_CUST_SERV_REP,'Account Manager',XO2C_ACCOUNT_MGR,'CTS Engineer',XO2C_CTS_ENGINEER ) "Contact Names" FROM hz_parties hp,
    hz_party_sites hps,
    hz_cust_accounts hca,
    hz_cust_acct_sites_all hcs,
    hz_locations hl,
    xo2c_ship_to_sales_o_agv xagv,
    hr_operating_units hou
    WHERE 1 = 1
    AND hp.party_id = hps.party_id
    AND hp.party_id = hca.party_id
    AND hcs.party_site_id = hps.party_site_id
    AND hca.cust_account_id = hcs.cust_account_id
    AND hps.location_id = hl.location_id
    AND hcs.status = 'A'
    AND xagv.party_site_id = hps.party_site_id
    AND xagv.party_site_id = hcs.party_site_id
    AND hou.ORGANIZATION_ID=hcs.ORG_ID) QRSLT WHERE (CTS Engineer1 Party_Name like :2)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(Unknown Source)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuss.oracle.apps.xo2c.contactmaintenance.webui.USSContactMainCO.processFormRequest(USSContactMainCO.java:105)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2996)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:857)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
         at xxuss.oracle.apps.xo2c.contactmaintenance.server.USSContactMainAMImpl.uneditable(USSContactMainAMImpl.java:244)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuss.oracle.apps.xo2c.contactmaintenance.webui.USSContactMainCO.processFormRequest(USSContactMainCO.java:105)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: Missing IN or OUT parameter at index:: 1
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:175)
         at oracle.jdbc.driver.OraclePreparedStatement.processCompletedBindRow(OraclePreparedStatement.java:1566)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2996)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3043)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:857)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMasters(ViewRowSetImpl.java:891)
         at oracle.jbo.server.ViewRowSetImpl.executeQueryForMode(ViewRowSetImpl.java:805)
         at oracle.jbo.server.ViewRowSetImpl.executeQuery(ViewRowSetImpl.java:799)
         at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3575)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(Unknown Source)
         at xxuss.oracle.apps.xo2c.contactmaintenance.server.USSContactMainAMImpl.uneditable(USSContactMainAMImpl.java:244)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(Unknown Source)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(Unknown Source)
         at xxuss.oracle.apps.xo2c.contactmaintenance.webui.USSContactMainCO.processFormRequest(USSContactMainCO.java:105)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Edited by: MyOAF on Jan 14, 2010 11:03 PM

  • [Urgent!!] How to do quadrature decoding using DAQCard 6062E??

    Hi,
    I am Xiaofei, a beginner of LabVIEW. Now i am dealing with a project involving quadrature decoding by using DAQ Card 6062E and breakout board CB68LP. We need to use 2 optical encoders simutaneously, and for each encoder, we need to use 3 digital channels (A,B and Index), therefore there will be totally 6 digital channels in use. For this reason, is it still good to use the counter channel? or we'd better use 6 DIO?
    I'm not sure if there is any existing VI that can help us with decoding, if there is,  could you please let me know how we can find it?
    If we will need to make the decoding code by ourselves, could you please give me some hint so that we can start it?
    I heard that there should be an example called "How to Count.vi" that shows how to decode, however i failed to find it by using example finder, so does anyone know how to find it?
    This is kinda urgent, i have to figure it out by tonight in order to keep my project rolling. So if you have any idea about it, pleeeeeeeeeease let me know!  Thanks a million!!!
    Regards,
    Xiaofei

    Duplicate post.
    Please do not generate a new message thread with the same question.
    Keep your messages to the original post.

  • Can i use any OWB mapping operator when i generate ABAP

    it seems like in OWB mappings, if i have a SAP table as data source and i want to perform some operations (eg. JOIN, input parameters, expressions) i am limited to generating PLSQL code.
    all i can get if i want ABAP generated code is a simple table (all records) column to column mappings ! is this true or am i missing some important steps ?
    eg. how can i specify a date as input parameter to be used as a filter value on a SAP table before storing the results in a staging table ? keep in mind that i am expecting the extraction code to be in ABAP ...

    You need to specify the join condition to generate ABAP code. Start by specfying a foreign key based on the join condition. In table 1, create a unique key. In table 2, create a foreign key based on the unique key of table 1.
    There should not be any problem with the filter condition generating ABAP code. If you would like more specific assistance, log a technical assistance request (TAR) on MetaLink and Support can review your map.

  • Why use/sell OWB 9.0.4

    Can somebody tell me how I can convince customers to use OWB 9.0.4 when this tool isn't capable to create a simple data warehouse similar to the example that comes with the Oracle 9i database (SH schema).
    To test the 9.0.4 version of OWB I have tried to import the data warehouse example into OWB, but the only objects I got were tables without the dimension information. Even the partition and tablespace information of the tables got lost.
    So I tried to recreate the exact same dimensions as the example but OWB failed again. After 3 years listening to every promise made by Oracle, I had great hopes that OWB 9.0.4 finally would be capable to create dimensions that are physically stored in multiple tables. I was quite dissapointed to find out that the dimension modeller in OWB 9.0.4 hasn't changed a bit. Even primary and unique key constraints still can't be assigned to a specific index tablespace. So why should I use dimensions in OWB if Oracle still believes that every dimension is always one table? Even their own example proves otherwise.
    It would be a lot easier when all the target objects are listed as tables and that you can use the dimension and cube objects to add some specific characteristics to these tables. Maybe that the OWB development team can take a look at how Oracle Enterprise Manager defines dimension objects. That is why I prefer to use Oracle Designer and if neccessary Oracle Enterprise Manager to create the physical database structure and only use OWB or a third party ETL tool to create the mappings and process flows.
    My opinion after seeing OWB 9.0.4 still is that if the mapping builder, a decent dimension modeller and other OWB functionality had been added to Oracle Designer three years ago, Oracle would now have a far better data warehouse development tool than OWB will ever be. Even the GUI will be better off and more easy to use.
    With kind regards,
    Rob Nijland
    Intelligence in Information BV
    The Netherlands

    Rob,
    Let me address some of the issues below.
    You state:
    "Much to my regret I must say that I have already heard these kind of promises for the last three years."
    Warehouse Builder's first release 2 became available in February 2000. I.e. the product exists 3 years now. I cannot comment about promises that have been made in the past, but we are definitely working on the feature to implement snow-flake modeling. I understand your frustration about the fact that it is not available today, but if you read Kimball he does state: unless you have a very good reason to create a snowflake implementation you should never do so.
    Page 95 of Kimballs 'Data Warehousing toolkit' starts with: 'Resisting the Urge to Snowflake'. Page 97 states: 'Do not snowflake your dimensions, even if they are large. If you do snowflake your dimensions, be prepared to live with poor browsing performance.'
    Irrespective of what Kimball states, I hope you can agree that OWB has moved forward in the last 3 years. OWB development has a limited number of resources and we can only address so many areas of the product in so much time. Please do understand that we do our utmost to create a product that suits our users' needs.
    You state: "I have tried to import a converted OWB 9.0.2 project into OWB 9.0.4. The import went well, but the problems started when I tried to validate and generate the mappings. I received a lot of warnings that parameters of custom as well as pre-defined functions were invalid. I reconciled the functions but as soon as you try to reconcile a pre-defined function the link to the target object is gone. This means that I have to walk through 40 or more mappings, reconcile everything and partially have to rebuild the mappings."
    When links between objects and implementations in a mapping used to exist but get removed upon migration you are hitting a serious bug. Please do submit your case to metalink or work with me directly ([email protected]) to get these problems resolved.
    You state: "Furthermore in the mappings all table aliasses have been replaced. For example I have used aliasses, such as 'CUSTOMERS_NEW_VERSION' and 'CUSTOMERS_OLD_VERSION' after a split object to quickly identify what happens during a slowly changing dimension type 2 build. Now the aliases have been renamed to 'CUSTOMERS' and 'CUSTOMERS_1'. The only option is to open the splitter to find out what is happening and to rename the aliases again to keep the documentation valid."
    Again, if a rename takes place upon migration then you are hitting a bug.
    You state: "After validation I also got some warnings that I should not set the schema name. But this means that the only option I have is to create an connection between locations (eq. database link), even if my source and target are on the same database but in different schemas."
    In the 9.0.4 release we introduce new concepts locations and connectors that we recommend you use. The concepts introduce benefits that you may not see in the first place. Please take a look at a Runtime update whitepaper that has been posted to OTN.
    With respect to set-based updates using OWB: our experts state that bulk row-based updates in general are quicker than comparable set-based updates. If you disagree for your business case(s) then I would like to understand your requirements better so that we can work on these. Please contact me directly.
    Thanks.
    Mark.

  • How to do quadrature decoding using DAQCard6062E?

    Hi,
    My name is Xiaofei, a beginner of LabVIEW. Now i am dealing with a project involving quadrature decoding by using DAQ Card 6062E and breakout board CB68LP. We need to use 2 optical encoders simutaneously, and for each encoder, we need to use 3 digital channels (A,B and Index), therefore there will be totally 6 digital channels in use. For this reason, is it still good to use the counter channel? or we'd better use 6 DIO?
    I'm not sure if there is any existing VI that can help us with decoding, if there is,  could you please let me know how we can find it?
    If we will need to make the decoding code by ourselves, could you please give me some hint so that we can start it?
    I heard that there should be an example called "How to Count.vi" that shows how to decode, however i failed to find it by using example finder, so does anyone know how to find it?
    Thanks a million!!!
    Regards,
    Xiaofei

    Hi Xiaofei,
    Our 6062E DAQ cards can be used with either our DAQmx drivers or our older
    Traditional DAQ (Legacy) drivers.  The example that I've provide below is
    for use with our DAQmx driver set.  If you’re using Traditional DAQ
    drivers I would recommend upgrading to our newest DAQmx drivers.  You can
    click here
    for help determining what version of DAQmx works with your version of LabVIEW.
    To do hardware timed quadrature encoder applications you will want to use the
    counters on your 6062E DAQ card.  Click here for a guide to
    using quadrature encoders on E-series DAQ cards.  Unfortunately, our
    E-Series cards do not support Z-indexing as described in the following
    developer zone tutorial: Quadrature
    Encoder / Position Measurement.  However, you should be able to use
    your encoders without using  Z-indexing.  Each of your encoders will
    use one counter source and one digital line for your A and B inputs.  The
    counters will count the edges of the A input while the digital line determines
    the direction (Up or Down).  A good example can be in the example finder
    under the following location: (Help » Find Examples » Hardware Input and Ouput
    » DAQmx » Counter Measurements » Count Digital Events » Count Digital Events.vi). 
    This example should give you a good start for use with encoder.  You will
    just want to replicate the code for your additional encoder.
    I hope this helps,
    Paul C.

  • Decode using like

    I am trying to do a count using decode but I need to use like %? The following is my code but it doesn't work. What am I doing wrong?
    Select count(decode(referral_status, like 'ADMIN CLOSURE%', 1)) / count(decode(referral_status, 'APPOINT TO MTF', 1))*100
    from referral_tracking
    Where (referral_gen_dt between (:begin_dt) and (:end_dt) or referral_gen_dt is null)

    I think in this case it should be sum and not count even if you are implement that either in decode or case - i guess ->
    Select sum(decode(instr(referral_status,'ADMIN CLOSURE'),0,0,1)) / sum(decode(referral_status, 'APPOINT TO MTF', 1, 0))*100
    from referral_tracking
    Where (referral_gen_dt between (:begin_dt) and (:end_dt) or referral_gen_dt is null)N.B.: Not Tested...
    Regards.
    Satyaki De.

  • PEM to DER decoding using JCE API

    Hi,
    I need to convert PEM files to DER format within my
    Java code (each PEM file is coming in as a String object).
    Does anyone know of a way to do this using the Sun JCE
    (or IBM provider)?
    Thanks much

    I figured out how to do this. In case someone else runs into
    this problem in the future, here's one solution.
    1. Strip the delimiters , i.e "-----BEGIN PRIVATE KEY-----"
    and "-----END PRIVATE KEY-----" from the PEM file. You
    will be left with the Base64 encode text.
    2. Use a Base64 decoder class (e.g com.ibm.misc.BASE64Decoder)
    to decode the Base64 back to the original DER bytes.
    For example:
    //privateKeyStr String contains the PEM data
    int pemStartIndex = privateKeyStr.indexOf("\n") + 1;
    int pemEndIndex = privateKeyStr.indexOf("-----END");
    String pemStr = privateKeyStr.substring(pemStartIndex, pemEndIndex);
    byte[] keyData = null;
    com.ibm.misc.BASE64Decoder base64 = new com.ibm.misc.BASE64Decoder();
    keyData = base64.decodeBuffer(pemStr); //keyData now contains DER data
    That's it.

  • Could not use 11g OWB with 10.2 database repository

    Hi all,
    I am using 10.2 database and 10g R2 OWB and in the forums I read that 10g R2 have problem (no materialized view created when pre-aggregating ROLAP cube .
    So i downloaded the 11g OWB standalone, but I could not login into the sqlplus of 11g OWB, as mentioned in (http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_extend_knowledge/less1_setting_up/less1_setting_up.html)
    I have tried to login with password that i have for 10g database and also one i mentioned in configuring WF (both were same) ,also change_on_install and oracle .
    Could anyone please suggest me how to login.
    Please also suggest if that bug as mentioned above exist or if there is any workaround/patch so I can use 10g r2 OWB itself.

    Thanks for the response, Greg
    I understand ur point completely, I might have sounded confusing when i said repository. I actually meant 10.2g database.
    As u mentioned I followed that step: But when i did steps mentioned below i could not login inside:
    Note: The method by which you invoke SQL Plus is important. Do not invoke SQL Plus from Start > Programs > Oracle database home folder or Warehouse Builder folder! Instead, invoke SQL Plus from Start > Run > cmd.exe. Type the Path command and press Enter. You want to check that Warehouse Builder is near the front of the path statement, so that the SQL Plus session will invoke from the Warehouse Builder installation. If not, you may need to temporarily set the path, such as Path=<Warehouse Builder home>\bin. Then invoke SQL Plus as SYS with SYSDBA privileges. For example, at the command line you might type: sqlplus sys/<sys password> as sysdba.
    what password for sys should i use ?
    I used following paswords but none worked: pasword for sys account while installing 10g database, oracle, change_on_install.
    At installation of OWB 11g it doest not ask for any password also.
    Best regards,
    Deepank

  • Oracle Apps(Financial) Used For OWB

    Hi Folks,
    Oracle finacial has different module and lot of tables.
    Anybody built dimension or star schema based on oracle finacial source table.
    If it's pls give me some sample of requirement,source table ,dimension and star schma.
    If possible email the document to my email id [email protected] Pls help me.
    Thanks,Kannan.K

    Pls reply to this

  • Importing XML using OWB

    We are developing a new application using Oracle 10g R2. This is a hybrid warehouse/on-line system. Some users will need access to current information (less than 24 hours old) while others will need to access data up to 12 months old.
    The system will receive data from another system via advanced queues (AQ), the data being pushed by the source system in small batches. The data will be in XML format and needs to be loaded into several tables. We also need to do some complex transformations on some of the data (e.g. concatenating child records into a summary text field in the poarent record) and populate a couple of summary type tables.
    I have been asked to look at implementing this using PL/SQL stored procedures.
    I am currently investigating the use of OWB to generate the PL/SQL.
    Is this a viable approach? Are there any good examples of how to do this kind of thing?
    Although I have been developing with PL/SQL for many years, I am new to OWB and AQ and my XML experience is limited.
    Thanks in advance.

    Nevermind - here's the code for anyone interested:
    Normally with URLLoader you'd do this:
    // new instance of URLLoader class
    var myXMLloader:URLLoader = new URLLoader();
    myXMLloader.load( new URLRequest( 'common_upload_files/XML_files/120_display_list.xml' ));  ...wherever the XML file is relative to the project swf
    // add event listener to instance to issue event when finished loading xml
    myXMLloader.addEventListener( Event.COMPLETE, onXMLLoaded_120 );
    ...where onXMLLoaded_120 would deal with parsing the xml data.
    To do the same in AIR:
    var loadXMLfile:File = File.documentsDirectory.resolvePath("PlugTV Media Files/120_display_list.xml");   ...the XML file is in the user's 'Documents' directory (works on Win, Mac, Linux)
    // Pass the file.url property to the URLRequest constructor
    var myXMLloader:URLLoader = new URLLoader(new URLRequest(loadXMLfile.url));
    myXMLloader.addEventListener(Event.COMPLETE, onXMLLoaded_120)   
    ...where onXMLLoaded_120 would deal with parsing the xml data.

  • Issue using a distant client to set a project on owb server

    Hi,
    I'm new to OWB, and I'm facing a problem using a client - server installation.
    I've designed a project on a computer (win2k), tested it and so on, following the online course to help me. Once the test phase succesfull, I wanted to deploy the project to the prod server (Linux), based in an other town. I've exported the project, logged to the distant OWB server with the client installed on my machine, imported the project and set the locations to the prod's database. Here's my problem. All my sources are flat files, and when I try to edit the flat file location into the project imported on the distant sevrer, I can only choose a path on the win2k machine (where the client is installed), whereas my flat files will be put on the linux server.
    I think the solution is to use the owb client installed on the linux server, but the vpn's rate doesn't allow me to use an X11 client ..
    Is there a way to avoid the trip to the server's location ?
    (sry for spelling / grammar errors, english isn't my mother language).
    Thanks,
    shz

    Hi
    There is a metadata location and a data location. The data location will be used at runtime for actual data movement. The metadata location is the location which is used during the design phase - flat file sampling, metadata import from db etc.. So for a location that is going to be used for a data location you can just type the expected remote path name. I take it you hit the browse button or something and seen the location directory system, if so just type the path to the remote system.
    Cheers
    David

Maybe you are looking for

  • How to set two colored text in one textarea

    hello friends, i am busy preparing chat frame which shows messages in textarea, it shows two things, one the name of chatter , the other is the message, i want the two things of different color, you can change the text color of textarea by setForegro

  • I am trying to download the new CS6 Design Suite - not able to get past the previous version.

    I am trying to downloat the new CS6 Design Suite and am not able to get past the previous version menu. Getting the message "This serial number is not for a qualifying product. Please try another." How do I get past this?

  • How to receive and send V/A signal in one host?

    The sample code VideoTransmit.java,sames only can send the V/A signal over network,but the sending host cannot receive the signal. I hope receive and send signal in one host,what should I do? s.

  • Default reset problem

    My wrt120n router will not reset or if it dose the pw:admin is not valid. I held down the reset botton for 5 sec., 10 sec., 30 sec., 1 min., & 2 min. and powered down for same amount of time, still not able to use pw:admin with username blank. So I'm

  • Problem: CheckBox component into DataGrid

    Hello, this is my first post on this forum. This is my problem: First, i select a checkbox included into the DataGrid (populated with DataSet--->XMLConnector), but when i rollover the mouse on the check component, the checkbox turn off (deselected) a