In Procedure command, source query results not passed to target as # variables - why not?

Hi all,
I'm using ODI 11.1.1.6.0.
Has anyone had issues with this version with this feature?
I've just upgraded from 10.1.3.4.5.6_02 and feature doesn't work at all (not even in new procedures!) in my repository.
I've even tried creating a brand new repository then creating a new data server, new physical schema, new logical schema, mapped physical schema to the logical schema, and created a new procedure that does:-
Source tab (Oracle):          SELECT scen_name FROM snp_scen
Target tab (ODI Tools):     OdiStartScen -SCEN_NAME=DUMMY -SESSION_NAME=#scen_name
The session that's created has the name "#scen_name" and not the name from the result of the source query.
The DUMMY scenario is just generated from another procedure that has a single OdiSleep command.
Any ideas chaps?

Yet another bug...
Fixed in 11.1.1.6.4.

Similar Messages

  • BEx Query results not getting updated

    Hi,
    I am using a BEx Query based on a multiprovider which is fetching data from a multiple remote cubes and multiple regular cubes.
    Now when data in the source system is getting changed the corresponding remote cubes are getting update but query result are not getting re-fresh for at least 2 hours.
    We have already tried doing logging out and and logging into the bex system.
    Is there some cache setting which is required?
    Default cache mode in query is  'Main memory cache without swapping'.
    Kindly advice.
    Regards
    Vivek

    Hi,
    Just generate your query once with program RSR_GEN_DIRECT_ALL_QUERIES.
    By selecting your multiprovider .
    Thanks,
    Ranjan

  • Query Results not coming for SELECT * in sql developer 3.1.07

    VERY FRUSTRATING to use sql developer.
    In SQL DEVELOPER 3.1.07:
    WHAT WORKS: select sequence# from v$archived_log
    WHAT DOESN'T WORK : select * from v$archived_log
    You've got to be kidding me.
    I wish I can show a screenshot, but can't in this forum. Here's my description:
    When I run the query, in the bottom frame for Query Results, it just says: Executing: select * from v$archived_log in 0 seconds.
    Then there's no result grid.
    WOw

    >
    This was when connected to a standby db that's in mount state
    >
    Is this a 'manual' standby db? Are you using Data Guard?
    Post the results for what Gary ask of running the queries in sql*plus. If those queries give the same result then this is NOT a sql developer issue.
    Review the following thread and post back with what information in it applies to your use case.
    Re: V$ARCHIVED_LOG returns no rows on manual standby
    If you are using Data Guard you may want to cross-post in that forum.

  • SQL*Developer 'Query Results' Not Displaying

    I have just recently installed SQL*Developer v3.2.2 and after I run a SQL query the tab 'Query Result' tab is not displayed. I have tried to show this tab and to use the arrow keys at the bottom of the screen to display this screen but I cannot view the query results. I have used v1.5.1 in the past and know that it should display when after running a query and can be resized if required but I cannot seem to show it is v3.2.2

    Hi,
    Yes, I did install to a clean directory. I have even deleted all contents of the directory and re downloaded
    the software again to the same directory but this did not work either it still remembered the original settings.Keep in mind there are two locations that an installation updates:
    1. The SQL Developer installation directory (which you deleted).
    2. The User-Related Information (in your "user home" directory), which is updated by the settings migration
    Perhaps Jim meant you should also remove the user settings for the last SQL Developer version installed and possibly even avoid migrating the old 1.5.x settings when you first start SQL Developer after that. See the following forum thread, probably unrelated to your situation, but containing where to find the location of user-related information in the Help:
    Re: IDE issue - Query Result grid is not selectable or scrollable
    Hope this helps,
    Gary
    SQL Developer Team

  • MultiProvider Query results not shown

    Hello Experts,
    I have a Multiprovider defined over a InfoCube and a ODS, the InfoCube contains transactional data of Purchasing such as PO number, material number etc. and the ODS just contains data related to Material its material number, Unit of measure and Standard Price.
    When I create a query to show the material number and PO number in rows
    and the standard Price (of material coming from ODS) in columns, the result shows me the Standard price of the material next to a not assigned(#) record of the PO number and the remaining PO numbers do not show any value under the Standard Price column. We are expected to have the Standard Price to be shown against all the records where the material is used.
    Please suggest how to acheive this goal.
    Thanks and regards,
    Sonu.

    Hi Ajay,
    Thank you for your reply and the information. As per the given example in the blog I created a new constant selection on the Key figure Standard Price with 0material set to constant value. The result is giving me some unrelated large value.
    Regards,
    SONU

  • Bug: '--' in source query results in ORA-01008

    All,
    I got bit by a rather odd little bug this weekend. Apparently, APEX doesn't like it if you try to select a string containing two dashes (the SQL comment delimeter --) as the source of a page item, but only if your query includes a binding to another page item. I put a demonstration up at http://apex.oracle.com/pls/apex/f?p=16631:1. The value chosen in the select list doesn't matter; it's just there to be referenced in the queries used on pages 2 and 3.
    Took me a while to realize what was going on. So, if you need to include two dashes as part of your selected values, use '-'||'-' (or some similar work-around). You'll save yourself some confusion.
    -David

    Arie,
    Then both documents are seriously misleading. :-) From the document you linked:
    <b>Tip:</b>
    This section is current as of the writing of this document. To view the most current listing of known issues, go to the Known Issues page available off the Downloads page. See:
    http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html
    And from the latest version of the known issues linked on that page (which I linked to above):
    Application Express 4.0.2 was released on November 19, 2010. It addressed most of the known issues with 4.0.1. Below are the remaining known issues and any new issues discovered.Combining those two statements leads to the clearly erroneous expectation that the four known issues on the 4.0.2 page are the only open ones.
    -David

  • Query result not displaying

    hai experts,
    I am working on BI7.0. I am facing a problem in getting the query output, it is giving following message,
    "Exception when calling IWB_HTML_HELP_URL_GET occured"
    i am unable to resolve this. please help me in this matter as it is very urgent.
    relevant answers will be rewarded with good points.
    thanks in advance
    Bheema

    hai,
    Thanks for ur reply, but still i am facing same problem, is it some application software problem like some hotfix patches for MS-Excel, I m working on Windows XP, Any one please help me in this matter.
    thks
    bheema

  • How can I get Numbers to return the first row in a group of VLOOKUP query results instead of last one?

    I'm trying to query from one table (call it Table1) a batch of rows in another table (Table2) using VLOOKUP on a date specified in the first table (Table1). My problem is it's returning the last incident in Table2 of the requested date instead of the first incident. This really breaks the OFFSET scheme I'd like to use to collect the rest of the items for that date. Is there some way to compel VLOOKUP to return the first row of query results, not the last?
    NOTE: I see I've asked this before, but forgot to go back and look at responses given. It's been a while and I've limped along until now with the way things were. I'm actually trying to delete this questions, so if you see it, ignore it. I suppose if someone can tell me real quick how to delete a stupid question, that might be helpful.

    you cannot delete a post yourself.  You can flag the post an request a moderator remove.

  • Adding query results

    Hi,
    I'm new to SQL, reading and learning a lot, but I have the following question:
    There is the following query:
    select something test1
    , something test2
    from dual
    I would like to add the query results test1 and test2 into another variable like: test3 = test1+test2
    How do I accomplish this?
    I'm searching throug the SQL reference guide, but >1600 pages takes lots of time to find the needle in the haystack.
    Thanx in advance
    Cees

    Hello
    If you want to do this in SQL you can just do
    SELECT
         something test1,
         something_else test2,
         something + something_else test3
    FROM
         dual;Or you could do:
    SELECT
              test1+test2
    FROM
         (SELECT
              something test1,
              something test2
         FROM
              dual
         );If you want to do this in PL/SQL you can do something like:
    set serveroutput on
    DECLARE
         ln_Result     NUMBER;
    BEGIN
         SELECT
              1 + 10
         INTO
              ln_Result
         FROM
              dual;
         dbms_output.put_line('Value of ln_result: '||TO_CHAR(ln_result));
    END;HTH
    David

  • Can I use an OLE DB Command Task to call a parameterized stored procedure, perform some data editing and pass variables back to the SSIS for handling?

    I am using a Data Flow and an OLE DB Source to read my staged 3rd party external data. I need to do various Lookups to try and determine if I can find the external person in our database...by SSN...By Name and DOB...etc...
    Now I need to do some more data verification based on the Lookup that is successful. Can I do those data edits against our SQL server application database by utilizing an OLE DB Command? Using a Stored Procedure or can I sue straight SQL to perform my edit
    against every staging row by using a parameter driven query? I'm thinking a Stored Procedure is the way to go here since I have multiple edits against the database. Can I pass back the result of those edits via a variable and then continue my SSIS Data Flow
    by analyzing the result of my Stored Procedure? And how would I do that.
    I am new to the SSIS game here so please be kind and as explicit as possible. If you know of any good web sites that walk through how to perform SQL server database edits against external data in SSIS or even a YouTube, please let me know.
    Thanks!

    Thanks for that...but can I do multiple edits in my Stored Procedure Vaibhav and pass back something that I can then utilize in my SSIS? For example...
    One and Only one Member Span...so I'd be doing a SELECT COUNT(*) based on my match criteria or handle the count accordingly in my Stored Procedure and passing something back via the OLE DB Command and handling it appropriately in SSIS
    Are there "Diabetes" claims...again probably by analyzing a SELECT COUNT(*)
    Am I expecting too much from the SSIS...should I be doing all of this in a Stored Procedure? I was hoping to use the SSIS GUI for everything but maybe that's just not possible. Rather use the Stored Procedure to analyze my stged data, edit accordingly, do
    data stores accordingly...especially the data anomalies...and then use the SSIS to control navigation
    Your thoughts........
    Could you maybe clarify the difference between an OLE DB Command on the Data Flow and the Execute SQL Task on the Control Flow...
    You can get return values from oledb comand if you want to pipeline.
    see this link for more details
    http://josef-richberg.squarespace.com/journal/2011/6/30/ssis-oledb-command-and-procedure-output-params.html
    The procedure should have an output parameter defined for that
    I belive if you've flexibility of using stored procedure you may be better off doing this in execute sql task in control flow. Calling sp in data flow will cause it to execute sp once for each row in dataset whereas in controlflow it will go for set based
    processing
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Getting query results from a PL/SQL procedure

    Hi! So, I’m a little stumped and I can’t seem to find the answer to what I believe is probably a simple question…
    So, here goes… I have a big ol’ union query that I use to create a report on a page, it’s about 25k – not over the 32k limit, but fails to be able to compile every time (I always get a 400 – Bad Request error). I’m not sure why this is happening, but I can remove a union statement and it compiles just fine – so it has something to do with the size of the query. ANYWAY – I’ve resolved that I should put this bad boy into the database as a stored procedure and just call it from Apex, my problem is I can’t figure out quite how to do this with variables, etc.…
    Instead of giving you my whole big query, I’ll use the emp table as the concept is the same:
    Say we have a query that creates a report on a page:
    select empno, ename, job, mgr, hiredate, sal, comm, deptno
    from emp
    where job = :P_JOB
    and hiredate >= :P_HIREDATE;
    How would I take this query, create it as a stored procedure on the db, pass the variables from Apex and return the query result set from the stored proc as a report?
    I really appreciate any help on this!
    Best,
    Gilcrest

    Hi Gilcrest,
    You should create the query as a View and use the view name and the WHERE clause in the report's sql source.
    Andy

  • 3.1EA1: Query results do not display

    The results of any query I run in 3.1EA1 do not show in the Query Result tab. When I run sqldeveloper.exe from the command prompt, there are no errors. Sqldeveloper 3.0 is fine.
    Oracle Database: 10.2.0.4.0
    Java version: 1.6.0_26
    Operation System: Windows XP Prod sp3

    Hi Raghu,
    Yes, you are correct. It seems to be related to SQLHistory. This is what I did.
    -- Deleted everything in the SQLHistory folder as suggested.
    -- Started SQLDeveloper and ran query from worksheet
    -- Got results fine, but then immediately got a dialog box saying Migrating SQL history.
    -- This produced an error
    source: o.d.worksheet.sqlhistory
    message: sun.nio.cs.StreamDecoder.forInputStreamReader (StreamDecoder.java:52)
    -- After it finished, sql history was filled again with all the files.
    -- Restarted SQLDeveloper and the problem was back.
    -- Discovered in the SQLDeveloper directory (at same level as the SQLHistory folder) another file called SQLHistory.xml (presumably from a previous version which was the one being migrated)
    -- Renamed the previous sqlhistory.xml file and the issue seems to have gone away since only my new SQL in the history folder now.
    However, I assume that over time, the problem will come back when history gets to a certain size ? I did have about 1200 entries in my folder before deleting.
    Will there be a fix for this, as I use sql history quite often ?
    Hope this helps track down the problem.
    Thanks,
    Mark

  • How to execute a procedure depending on the result of a query?

    Hello, I'm new in ODI.
    I want to execute a procedure depending on the result of a query Oracle table.
    We have a Oracle Table whit a column that contains two possibles values.
    I want read the table, row by row, and depending on this value, execute a Procedure or execute another.
    How can i do?

    what you need to do is
    1. create a variable which "new_var2" which has the count of the number of rows you want to process. must be data type numeric.
    2. copy "new_var2" to the package screen.
    3. duplicate the "new_var2" on the package screen and evaluate the variable and test for "> 0" zero, call it "new_var2_E"
    3. create a new odi variable "new_var1" with a refresh of "select field1 fom (select field1,rownum as rownumber from tablex) where rownumber = #new_var2" in the relevant schema and technology.
    4. copy "new_var1" into your package (some where in the flow)
    5. right click the "new_var1" variable in you package screen and you should get the option duplicate step (click on that)
    6. select the the duplicate "new_var1" on the package screen and correct the the name to something meaning full to you "new_var1_E", also change the "type" to "evaluate variable" then you should see a "value" box. enter one of the values you want to test in the box (remember do not put in quotes ' )
    7. now back on the package screen join the "new_var1" to the "new_var1_E" with an OK line
    8 you now join "new_var2" to "new_var2_E" with OK
    9 you join "new_var2_E" to "new_var1"
    10. you then join the "new_var1_E" with an OK or a KO line to the relevant procedure.
    12. you need to duplicate "new_var2" in the package screen one more time this time and call it "new_var2_D" set the type to evaluate and then select the increment of -1
    13. the relevant procedure to "new_var2_D" with an OK
    14. join the "new_var2_D" to the "new_var2_E" with an OK
    15. this should close off the loop now the exit point is "new_var2_E" with a KO line to the next part of your process....
    Basically you should end up with a loop on new_var2 decementing, and it is used to get a specific next record row from your table.
    Hope this helps, sorry it is a little long winded..
    Edited by: DavidGD on Feb 8, 2009 3:29 PM

  • Passing Source Query Variables to Target query in RRI

    Hello,
    I Creating Jump Queries.
    In the source query user is entering some variable(Dates), based on these varaibles I am creating formula variable in the source query.
    I wanted pass the same varible values(which are entered by user) to target values(RRI) and use the same formula varaible in the target query.
    Please advise me how can I do this.
    Thanks
    Venkat

    Hello Venkat,
    Please refer to note 1053310 for complete details about RRI and application rules.
    The variables are passed implicity but you can explicity defined the rules for varaibles as well.  You can define assignment details as required. I hope this will help.
    Thanks and Regards,
    Asit G Ramteke

  • Compounded source system shows in query results

    Hi All,
    I have characteristics compounded with 0soursystem.  In query results it shows P1/SA01, for example.  I want to truncate so it will only show SA01 and NOT the source system id P1.  How do you do this?
    Cheers,
    Mike

    Dear Mike,
    I would like to do exactly the same thing, but untill now without success. The 0SOURSYSTEM is displayed in query as part of key of characteristic to which it is compounded.
    Could you describe in detail what you have done and context?
    Thanks in advance,
    Josko.

Maybe you are looking for

  • [Solved] Evince Doesn't Remember Previous Session

    Hi, I recently did a complete reinstall and noticed when I open a pdf file and reopen it later, it fails to remember the page I'm on and other settings such as maximized, % zoom, etc.  Before the re installation it would always remember my previous s

  • Wifi issues after 3.1.2 upgrade

    Just upgraded my iphone 3g to the laest software and since then, whilst the phone connects to the network (no chnages to the neywork have been made) it loses connectivity randomly, and when acessing an app that uses the wifi, it just drops out to 3G

  • Which one to use - Customer Interface or TCA APIs? And why?

    Hi, Please let me know the answer for the following questions. I have a legacy system in 11.0.3 (which does not have the TCA architecture) and the customers have to be moved to R12. I could get the details in different flat files for the import from

  • Where to create index for a big partitioned table?

    Hello all. I can't make a decision. We are going to create an index for a big partitioned table (600 GB). Where to create it ? 1. In the same tablespace where the table resides 2. In a new tablespace created for this index on the same filesystem. Ple

  • Trial to membership, language reference reset English to German in account after subscription

    Buying the product could´t started worst then this! I decide is time to subscribe your membership, everything was good until i got email confirmation in German! Even in my language reference have not selected Germany as language at all. Second proble