How to get schema name and assign it to a column in the table target

Hi team,

I am getting the error while getting the schema name that you assign to a column target

Implementation of the column:

< % = odiRef.getSchemaName ("W") % >

ERROR:

===========

ODI-1217: Session TEMP (342001) fails with return code 904.

ODI-1226: step TEMP fails after 1 attempt.

ODI-1240: Flow TEMP fails during an operation of integration. This flow of charge target TEMP table.

ODI-1228: failure of the TEMP (integration) task on the target of ORACLE ORACLE_MSR_SRC connection.

Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "USERINROW": invalid identifier

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)

at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)

at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)

at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)

at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)

at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)

=============

Implementation of the column:

< % = odiRef.getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W") % >

com.sunopsis.tools.core.exception.SnpsSimpleMessageException: ODI-17517: error in the interpretation of the task.

Task: 4

java.lang.Exception: the application script threw an exception: com.sunopsis.tools.core.exception.SnpsSimpleMessageException: Exception getSchemaName ("ORACLE_MSR_SRC", "DEVELOPMENT", "W"): SnpLSchema.getLSchemaByName (): SnpLschema is no information OSB: insert new lines to the line: column 0: columnNo

at com.sunopsis.dwg.codeinterpretor.SnpCodeInterpretor.transform(SnpCodeInterpretor.java:489)

at com.sunopsis.dwg.dbobj.SnpSessStep.createTaskLogs(SnpSessStep.java:737)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:465)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)

Plz help me how can I get the user name ie... diagram for this target and the insertion in the table.

Thanks in advance... Suggestions or advice much appreciated.

Kind regards

Khaled

Use the Subtstitution method getInfo() Odi

<%=odiRef.getInfo("pPropertyName")%>

pPropertyName can be

SRC_SCHEMA name of the schema of the data in the source environment
SRC_WORK_SCHEMA name of the schema in the environment of the source
DEST_SCHEMA name of the schema of data in environment target
DEST_WORK_SCHEMA name of the schema in the environment target

Kind regards

Samir Bishwamilan

Tags: Business Intelligence

Similar Questions

  • How to get 'Print', 'Download' and 'Back' link when navigate using go the URL

    I have a report R2, there a chart based on PivotTable. This report is called from another report R1 using the feature to the URL. Report R2 does not 'Print', 'Download' and 'back' link when it is called R1. But if I run R2 as it shows the report asandalone 'Print' and 'Download' links.

    can you pls suggest how I can get 'Print', 'Download' and 'back' links when R2 is called from R1 using the feature to the URL.

    You will usually use GO Url to integrate with external portal, so there is no value 'return' for the parameter 'Options '.

    The possible values for the link Options are:
    m change request
    f print version
    d - download to Excel
    r - refresh results

    If you need to view back, you can add another parameter called Done like below and provide the explicit path to where you want to go. For example, in the example below, I would go back to answers to myreport

    http://prakashj:7777/Analytics/saw.dll?go&path=/users/administrator/myreport2&options=rmfd&done=answers%26path=/users/administrator/MyReport

    HTH,
    Prakash

    Published by: prakah on August 17, 2009 08:51

    Published by: prakah on August 17, 2009 09:03

  • Is it possible to get clip names and additional descriptions (and other metadata) in a report? The number, .xls or some other document available?

    I have about 12 tablespoons of images recorded on several projects. Each clip has a description added to it. I'm trying to find a way to search for a specific content easier. Since so much information was laboriously on slot form of description of metadata, it would be great to be able to use it. Which brings me to the question -

    Is it possible to get clip names and additional descriptions (and other metadata) in a report? The number, .xls or some other document available?

    Thank you!

    Karim.

    one way is to highlight all the media/bins in the project Panel and from the menu, export the batch list. This will create a .csv text file.

    There is also this option in another post, but do not know how it works. First Pro CC - how can I export metadata custom in Excel?

  • How to get only latest date and other columns in the table

    Hello
    Table
     
       id          name        date
      123        a             2/3/2010
      124        b            15/2/2010
      125        c             1/1/2010
      123        a             12/4/2010
      125        c             17/2/2010
    
     
    It's a table, id, name, date here is the composite key.
    I want to select id, name, and date so that date (e.g., 123 date 04/12/2010 be selected for the id) is selected for each id and each id and name should be selected once.
    So, what will be its application?
    Thank you
    select
       id,
       name,
       date
    from
    (
       select
          id,
          name,
          date,
          max(date) over (partition by id, name) as max_date
       from your_table
    )
    where date = max_date;
    

    Would do assuming you do not have duplicates (all 3 columns) in the table.

  • I need a name and address to which I can send the letter of complaint

    I need a name and address to which I can send the letter of complaint.  I tried to deal with the customer service and with the case manager and case number assigned.  Logen and manulipated.  When I asked to speak to the supervisor, I was told that this was not the procedure and could only speak to the case manager.  Please provide me with the name and address of the customer service department manager - about the USA sales/service for printers.  Thank you

    Hi FrustratedbyHP,

    Sorry to hear that you had also a hard time getting a service. I'm sorry, I can't provide the information you request, but I would like to help you get the issues resolved.

    What printer do you have?

    What is the problem you are having?

    What is the operating system on the computer?

  • tried for three days trying to get this working and I've already tried some of the suggestions forum and it's just to try... so happy I don't have pais nothing yet. I get out the signed loop no matter what I try

    tried for three days trying to get this working and I've already tried some of the suggestions forum and it's just to try... so happy I don't have pais nothing yet. I get out the signed loop no matter what I try

    While in have you really tried? It's the standard solution, and it works in all cases that I have heard (including mine). Just rename the file, and a new one is created on the next launch.

  • How to remove columns from the table on the master 1-0?

    I have an array of 96 columns with strings. I also have the array of int 96-elemets (mask) with 1 and 0.

    What I want to do is to is to remove (or hide - but I read that it is not possible) all the columns with index corresponding to 0 in the mask table.

    example:

    columns in the table

    1 2 3 4 5

    mask

    0 1 0 0 1

    I want to remove the columns 1, 3 and 4 and leave only 2 and 5 in my table.

    How can I do?

    If I create loop for with i as the index of the column, when I do DeleteTableColumns() columns number decreases, and I get an error of range out of

    Or do I have an option to hide the unnecessary columns (not set their width to 1, it's very ugly-looking)?

    Please help me (())

    Hello rovnyart!

    1. removal of columns in the table:

    I suspect that the reason why you get the out-of-range error is due to fact that in your loop, you delete the columns in the table, you'll eventually end up by referring to a column that no longer exists, because the other columns before it have been deleted. While you remove each column of your table in the loop for example, the column index number will move, because you deleted the other columns in front of her.

    To resolve this, even if you delete a column in your loop, make sure that you take also into account that the index of the column is moved because of the removed columns.

    2 hide columns in table:

    You can use the ATTR_COLUMN_VISIBLE attribute to hide columns in the table:

    http://forums.NI.com/T5/LabWindows-CVI-idea-exchange/add-attr-column-visible-attribute-for-table-Col...

    http://zone.NI.com/reference/en-XX/help/370051Y-01/CVI/uiref/cviattrcolumnvisible_column/

    3 alternatives:

    Note that another alternative would also use a tree instead, control as the tree control also supports the hidable columns:

    http://forums.NI.com/T5/LabWindows-CVI/table-hide-column/TD-p/569773

    Best regards!

    -Johannes

  • Get columns from the table shown in the iterator

    Hello...

    I have the table in a collection of standard panel.  So, I can show/hide certain columns in the table using the columns in the view menu.

    Then I'm trying to do is export to excel (using apache poi) by looping through the table iterator.  What I can't do is search if the column is not displayed.  I don't want all the columns that are exported without worrying.  How can I achieve this?

    My bean is similar to the following for loop through the iterator:

    BindingContext bindingContext = BindingContext.getCurrent ();

    BindingContainer bindingContainer = bindingContext.getCurrentBindingsEntry ();

    DCIteratorBinding dcIteratorBinding = (DCIteratorBinding) bindingContainer.get ("EmployeesIterator");

    lines [] oracle.jbo.Row = dcIteratorBinding.getAllRowsInRange ();

    for (oracle.jbo.Row line: lines) {}

    {for (String colName: {row.getAttributeNames ())}

    output to excel cell here using row.getAttribute (colName) m:System.NET.SocketAddress.ToString)

    }

    }

    Thank you.

    Hello

    It's like ask the engine in your car to what colors the seats have. The iterator doesn't know anything about the visible state of a column. If the displayed columns must be determined from the table instance (richeTableau)

    The following article solves exactly the requirement that you have: Oracle ADF: Build Your Own it comes with a sample that you can download here: http://www.oracle.com/technetwork/issue-archive/2013/13-jul/o43adf-1940728.zip

    Have a look at CustomPanelCollectionBean.java:

    The method and code that you want to look for is:

    private String getRowHtml (row rw) {}

    StringBuffer rowHtmlBuf = new StringBuffer();

    Read visible columns in the table of the table instance. This way the

    PanelCollection can be used to show/hide columns and exclude

    printing to HTML

    Table richeTableau = this.getRichTable ();

    the list of columns determine the print attributes

    The list of columns in = table.getChildren ();

    int attrCount = columns.size ();

    rowHtmlBuf.append (this.addRowStart ());

    for (int i = 0; i)< attrcount;="" i++)="">

    for all visible columns, add columns to print

    If (((RichColumn) columns.get (i)) .isVisible ()) {}

    If (rw.getAttribute (i) instanceof ViewRowSetImpl) {}

    ignore the collections of detail used for master/detail example

    constraints in British Colombia ADF

    } ElseIf (rw.getAttribute (i) instanceof oracle.jbo.domain.Timestamp) {}

    shorten date to exclude the infromation times

    SimpleDateFormat sdf = new SimpleDateFormat("dd-MM-yyyy");

    String dateFormatString = sdf.format (((Timestamp) rw.getAttribute (i)) .getData ());

    rowHtmlBuf.append (this.addDataCell (dateFormatString));

    } else {}

    Prnt attribute values and if sure that null values don't raise a NPE. Add a white character to NULL

    attribute values

    rowHtmlBuf.append (this.addDataCell (rw.getAttribute (i)! = null? rw.getAttribute (i) m:System.NET.SocketAddress.ToString ():))

    " "));

    }

    }

    }

    rowHtmlBuf.append (this.addRowEnd ());

    Return rowHtmlBuf.toString ();

    }

    You need to access the Rich Table instance (for example using the JSF component binding) to then compare the attribute in the iterator with the visibility of the column

    Frank

  • How to find a value in any column of the table - essentially a search

    Hi guys,.

    Thanks in advance for your help.

    I'll try to find a value in any column of the table? How can I do?

    An example of value would be "FEDERAL."

    Using Oracle 11 g and SQL Developer.

    Thank you

    It's a question that is asked in the past several times (but not recently from what I remember).

    Michaels has provided in the past, solutions which are quite clever, just using SQL...

    10g of solution

    Michaels > var val varchar2 (5)

    Michaels > exec: val: = "Sub".
    PL/SQL procedure successfully completed.

    Michaels > select distinct substr (: val, 1, 11) "keyword."
    substr (table_name, 1, 14) "table."
    substr (t.column_value.getstringval (), 1, 50) ' / value of the column.
    CLO.
    Table
    (xmlsequence
    (dbms_xmlgen.getxmltype ("select" | column_name))
    || 'from ' | table-name
    || ' where upper (')
    || column_name
    || ') as superior (' %' |: val)
    || '%'')'
    ) .extract (' LINES/rowset / * "")
    )
    ) t
    -where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'SERVICES')
    order of the "Table".

    11g upwards

    SQL > select table_name,.
    column_name,
    : search_string search_string.
    result
    from (select column_name,
    table_name,
    "ora: view("' ||) " table_name | "") / LINE /' | " column_name | "[ora:contains (text ()," %' |: search_string | ")]. (%») > 0]' str
    CLO
    where table_name in ('EMP', 'Department')),
    XMLTable (columns str result varchar2 (10) path '.')
    /

    TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
    ------------------------------ ------------------------------ -------------------------------- ----------
    DEPT                           DNAME                          es                               RESEARCH
    EMP                            ENAME                          es                               JAMES
    EMP                            JOB                            es                               SALESMAN
    EMP                            JOB                            es                               SALESMAN

    4 selected lines.

  • How to create a status column in the table

    Hello everyone

    I am trying to create a column of the table status in frontview Panel. I enclose a picture with her to say clearly what I say.plz tell me how to create the active status column in the table.

    I want to show green for safety stock and red for safety stock below.


  • How can I recover only odd or even number of records in the table?

    Hello

    How can I recover only odd or even number of records in the table?

    Thank you

    Hi IndiMinds,

    Alternatively, you can use in queries. :

    Odd:

    SELECT *.

    Of

    (SELECT rownum row_count, id, name FROM bigemp

    )

    WHERE mod (row_count, 2) = 1;

    Still:

    SELECT *.

    Of

    (SELECT rownum row_count, id, name FROM bigemp

    )

    WHERE mod (row_count, 2) = 0;

    Thank you

  • How to check the index, on the number of columns in the table is created

    How to check on the number of columns in the table the index has been created. ??

    OR

    How check index, on the number of columns in the table that it is been created?

    890306 wrote:
    How to check on the number of columns in the table the index has been created. ??

    >

    OR

    How check index, on the number of columns in the table that it is been created?

    query USER_IND_COLUMNS

    SQL> desc user_ind_columns
     Name                            Null?    Type
     ----------------------------------------- -------- ----------------------------
     INDEX_NAME                             VARCHAR2(30)
     TABLE_NAME                             VARCHAR2(30)
     COLUMN_NAME                             VARCHAR2(4000)
     COLUMN_POSITION                        NUMBER
     COLUMN_LENGTH                             NUMBER
     CHAR_LENGTH                             NUMBER
     DESCEND                             VARCHAR2(4)
    

    Handle: 890306
    Status level: Beginner
    Join date: October 8, 2011
    Messages total: 13
    Total Questions: 5 (5 open)

    Why all the question still pending?

    Published by: sb92075 on December 3, 2011 17:21

  • How to use &lt; C:when test... inside the column in the table of the ADF

    I use ADF table with two columns
    in the first column, I check the Type of document is doc type so I have to use commondlink to download this file, otherwise I need to display only text.

    to this I added
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    that does not work.

    Please let me know how to use < C:when test... inside the column in the table of the ADF

    < tr:column sortProperty = "favoriteName" sortable = "true".
    headerText = "#{res ['favorite.favoritename ']}" "
    width = "500" noWrap = "false" >
    < c: choose >
    * < c:when test = "{boolean ($favoriteType eq 'doc')}" > *.
    < tr:commandLink actionListener = "#{bindings.downloadFile.execute} '"
    Text = "#{row.favoriteName} '"
    Disabled = "#{!}" Bindings.downloadFile.Enabled}"/ >
    < / c:when >
    < c: otherwise >
    < af:outputText value = "#{row.favoriteName}" / >
    < / c: otherwise >
    < / c: choose >
    < / tr:column >
    < tr:column sortProperty = "favoriteType" sortable = "true".
    headerText = "#{res ['favorite.favoriteType ']} ' rendering ="true">"
    < af:outputText value = "#{row.favoriteType}" id = "favoriteType" / > "
    < / tr:column >

    Hello

    I do not see, you use a Table of the ADF, but I see that you use Apache Trinidad. JSTL is executed analysis of time then that JSF is to render time, that's why it does not work what you see. Trinidad is a part of tr:switcher, and you can try this. Note that it doesn't ' r allow to change components by rank.

    Frank

  • How to find the primary key columns in the tables in MS Access using SQL queries

    How to find the primary key columns in the tables in MS Access using SQL queries

    Hello

    This is the forum for Windows Vista programs related issues.

    For better assistance, please try instead the Forums in SQL Server .

    Thank you! Vincenzo Di Russo - Microsoft MVP Windows Internet Explorer, Windows Desktop Experience & security - since 2003. ~ ~ ~ My MVP profile: https://mvp.support.microsoft.com/profile/Vincenzo

  • Query took too much time when adding new column to the table and the index set on this

    I added a new column to the table that contains thousands of records. and created the composite index with three columns (those newly added + two existing column)

    for the specifics. TBL table there are two columns col1, col2

    I added the new column col3 to TBL and created composit index (col1, col2, col3).

    Now for all the records in col3 is NULL. When I choose on this table, it takes too long...

    Any idea what my I do bad., I have check the query plan, it is using the index

    It is solved using collection of statistics using the

    DBMS_STATS. GATHER_TABLE_STATS

    @Top.Gun thanks for your review...

Maybe you are looking for

  • Cannot adjust the brightness of the screen and the sleep will not work Satellite P750/P755

    On my P750/P755 Satellite I am unable to adjust the brightness of the screen.I can move the scale but nothing is happening on the screen. Also in the last two days not possible in mode "sleep" as it did before, even though I haven't changed anything.

  • Programaticaly inserting block block diagram.

    Hello to all 2! I wonder if there is a way to programaticaly insert a new block in an existing diagram. Take a look at the attached vi to see what I mean. So... When I click on an image of the corresponding function is inserted in the block diagram,

  • I have the same problem, error code 0 x 80070002

    MY question is what do I do? I don't have windows vista, I have windows Xp media center edition? What steps to follow to address this situation. My windows shows me I have updates, but it does not install updates

  • Windows update error code 66 a.

    I was updating the windows, but then I got an error code that I can't solve. Error code: 66 a windows update.

  • Computer does not read USB drives

    original title: USB keys Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: my new laptop does not read a USB