ODI-17511: no value to the variable

I have a variable in cooling (togetfilename) mode interface
After going through the loop (processed all files) then this drive is getting the following error

I used this link to make this loop condition
http://www.odigurus.com/2011/05/multiple-files-single-target-table.html


How to stop this stop error smoothly and get the package run (I use e-mail that the judgment, but the operator said error on this step)
ODI-1226: Step GetTheFileName fails after 1 attempt(s).
ODI-1236: Error while refreshing variable ACTIVITIES.FILE_NAME.
Caused By: java.lang.Exception: ODI-17511: No value to be set to variable 'ACTIVITIES.FILE_NAME'.
     at oracle.odi.runtime.agent.execution.sql.RefreshVariableExecutor.execute(RefreshVariableExecutor.java:70)
     at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
     at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:410)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1889)
     at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
     at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
     at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
     at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1066)
     at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
     at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
     at java.lang.Thread.run(Thread.java:662)
Any help would be greatly appreciated.

Thank you

Hello

You can add an additional variable with the number of lines and validation against 0 i.e. If count (X) > 0 then loop and reduce the number of 1 for each iteration.
Or you can add the KB of this variable path to your odisendemail

concerning
Anthony

Tags: Business Intelligence

Similar Questions

  • Gettting ODI-17511: no value to the variable. ?

    Hi all

    I am facing an error when executing a Package to load all dishes unique to Oracle DB folder files.

    The thing is that I am able to load data but it's operator error display "no value to the variable ' MULTI_DEMO." "File_name'"

    Details of my project are:

    PROJECT_NAME: MULTI_DEMO

    Name of the interface: MULTI_TEST

    Have 5 text files in my folder of the source code. and the target is created as the same schema as the source

    variables: filename, County, Files_Count

    statement = file_name

    DataType: alphanumeric

    Keep history: last value

    Request used:

    SELECT FILE_NAME FROM (SELECT FILE_NAME, SRC_FILE_DETAILS RN ROWNUM)

    WHERE RN =' #MULTI_DEMO.count '

    statement = count

    Data type: digital

    Keep a history: last value

    Request used: nothing

    statement = Files_Count

    Data type: digital

    Keep a history: last value

    Request used: select count (*) in SRC_FILE_DETAILS

    I have clearly chosen patterns appropriate for the two variables with queries.

    in the Package diagram:

    step 1: count = 1 assign (type: set variable) {-> File_Name and failure success: END}

    step 2: filename (type: Refresh variable) {-> multi_test success and failure: END}

    step 3: multi_test (type: flow (interface)) {success-> count and failure: END}

    step 4: count increment = 1 (type: set variable) {success-> Files_Count and failure: END}

    step 5: Files_Count (type: Refresh variable) {success-> count and failure: END}

    step 6: County (type: evaluate the variable) is operator " > = " value is "MULTI_DEMO.count" {success-> File_Name and failure: END}


    Please find below the picture for flow diagram

    loop.png

    I have changed the stage names, hope you find my reviews.


    Please help me to sort out this error.

    I use OBIEE 11.1.1.9


    The error is in short:


    java.lang.Exception: ODI-17511: no value to the variable ' MULTI_DEMO. File_name'.

    at oracle.odi.runtime.agent.execution.sql.RefreshVariableExecutor.execute(RefreshVariableExecutor.java:70)

    at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)

    at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.processTask(SnpSessTaskSqlV.java:410)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2637)

    at com.sunopsis.dwg.dbobj.SnpSessTaskSqlV.treatTask(SnpSessTaskSqlV.java:240)

    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

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

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

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

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

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

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

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

    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:133)

    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:84)

    at java.lang.Thread.run(Thread.java:662)

    I repeat, "I am able to load data but always error in the last step.

    Thanks a mllion.

    Shakur

  • ODI 11 g | Passing the value of the variable ODI option procedure

    Hi Experts,

    I need to pass the value of the global variable / project to an option of the procedure and in the application of the procedure to retrieve. Procedure will be implemented in jython.

    How can I pass the value of the variable option procedure ODI & then retrieve it in the jython script?

    Model data source is the flat file based & I want to retrieve the location of the source directory using jython/java (must implement an on file preprocessing step before calling the interface to load). Is there an ODI API to retrieve the location of the source directory?

    Thank you
    Ashish

    The reason OdiGetOption won't work because odigetoption running will search for the name of the variable where like everything using the execution variable will look at the value of the variable.
    In order to manage your situation i belive, we can establish by using the combination of getoption and global variable using the if condition

    You can write code something like that
    If odigetoption == 'dat ':
    ctrlfileExt = #v_CtrlFileExt
    If odigetoption == "txt":
    ctrlfileExt = #v_CtrlFileExtTxt

    This way, when you call the procedure, you can supply the value of the extension and procedure will use the right variable and the value.

    I hope this helps.

  • Pass the value of the variable during execution

    Hello

    I have a package with a set of interfaces and three other variables.

    I want to pass the value of the variable at runtime, based on the value passed I want to decide which interface to run then. How can I do this? I got a set variable but I want to asssign the value during execution.

    Any help is greatly appreciated.


    Thank you
    San

    You have many options to achieve this goal.

    1. keep the run settings in the database, extract the Variables in a time of refreshment and use these variables in your Interfaces to get values of execution.

    2. change the value to the variables on the outside. You can declare a variable in a package as a step of the statement, and then use the variable in your interface in a successive step in your package. Then, create a scenario of your package and creating the scenario, it will prompt you to include the variables that you want to include as a startup parameter. Choose the one (s) concerned. Citing this scenario using Java or an OdiStartScen command or by using Webservices ODI externally, you can provide values of the runtime as a result.

    I hope this helps.

    Concerning
    A

    Published by: 922636 on August 29, 2012 23:53

  • TestStand 2012 keeps the value of the variable

    I have a problem with TestStand 2012 that preserves the value of the variable. I have a step and its parameters in the string variable. I use the expression step as Step.Settings += "00". I run the sequence under sequential model and the problem is that Step.Settings is equal to "00" on the first run, '0000' on the second throw, '000000' on the third race and so forth, but it must rest '00' on each race. I can't find the root cause. Anyone has the same problem and can advice how to solve?

    Try to uncheck the properties of the sequence > optimize reentrant calls to this sequence to the sequence that contains the step.

  • Get the current value of the variable when reaching CNVCreateSubscriber

    I use CNVCreateSubscriber () to create a subscription read to a network Variable: whenever the value of the variable changes, the DataCallback is called and I'm able to get the new value of the variable.

    But how to get the value of the variable when a subscription is created?

    I read in the help CNVCreateBufferedSubscriber () returns this information, but I wonder if using CNVGetDataFromBuffer () in a polling loop has the same performance as the approach to DataCallback of CNVCreateSubscriber ().

    In addition, the dataStatus (CNVGetDataFromBuffer) parameter is different for different Subscribers? (that is if I have multiple subscribers, CNVStaleData is related to the specific Subscriber or is a global property of the variable)?

    CNVData data;

    CNVGetConnectionAttribute (customer, CNVMostRecentDataAttribute, &data);)

  • Save the value of the variable on rising

    Hello

    My setup is quite complicated (and does not work properly yet)... anyway, I give all of the code.

    What interests me now is to learn how to save for later use the value of the variable 'Bias' on a rising "min. . found.

    The 1st idea coming is to create another case of event for changes "min. Found" , where to save in a registry change, but the problem is "min. Found" changes fires on the edges and falling .

    Thanks in advance

    Pavel

    Pavel_47 wrote: but the problem is "min. Found" changes fires on the edges and falling .

    It's actually worse than that.  Change value Min found fires with all writing, regardless if the value has changed or not.  It's one of the dangers of the use of the Value property (signs).

    Do a Boolean search PtByPt crossing.  It's a useful for this situation VI.  It will display a TRUE with the edge that you tell him.  After that, just use a case structure and make any desired calculations in it.

  • change in value of the variable periodically

    Hi all

    I want to change the value of the variable periodically such as on the front panel, initial, final and incremental value must be defined by the user and the variable value changes automatically after every 5 seconds. and I want also the time interval should be set by the user on the front panel. How is that possible?

    Any help will be greatly appreciated

    Take a look at the attached simple project.  You can change all the values on the fly.  Change the initial value or the value of interval timer are asynchronous to the timer (the changes are made as soon as the user changes the value in the user interface).  The other values are updated only when the timer clicks.  The difference is that I have added reminders to the initial value and the interval timer value.  Given that these other values are used that when the timer clicks, they didn't need reminders.  Their values are used in the callback of the timer.

    I added a callback for the timer interval allow an operator to correct an error.  For example, if they wanted to wait for 10 seconds, but they came in 100, with the reminder, they do not need to wait 100 seconds before the timer is updated with correction.

  • How to display the value of the variable for bottom of pl/sql

    How to display the value of the variable for bottom of pl/sql

    declare

    V_1 number: = 10;

    V_2 number: = 20;

    V_3 number: = 30;

    v_4 number: = 40;

    v_5 number: = 50;

    test varchar2 (100);

    Start

    I'm in 1.5

    loop

    test: = "v_" | I have;

    dbms_output.put_line(i||) e > ' | test);

    end loop;

    end;

    /

    How to get below output:

    1 > v_1

    2 > v_2

    3 > v_3

    4 > v_4

    5 > v_5

    But I want to output of

    1 > 10

    2 > 20

    3 > 30

    4 > 40

    5 > 50

    Hello

    You cannot reference variables as you did and get the value of the variable. Use pretty collection.

    set serveroutput on size 2000
    declare
      type      number_table is table of number;
      numbers   number_table := number_table(10, 20, 30, 40, 50);
    begin
      for i in numbers.first .. numbers.last
      loop
        dbms_output.put_line(i || '->' || numbers(i));
      end loop;
    end;
    /
    
    anonymous block completed
    1->10
    2->20
    3->30
    4->40
    5->50
    

    See the Collections of PL/SQL and Records http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/composites.htm#LNPLS005

  • Reg exp to divide the values of the variables

    Hello all, I use Oracle 11.2 of SOE, the value of the variable C is: numberA:numberB for example, C: = ' 1 B: 5 A: 12 has: B: 43 3A ", I have divided than the values of two Variables A and B with the letters of withdrawal and replacement of: for the comma. Namely, the value of each would be: is: 5,12,43 B is: 1.3 someone could help to come up with the correct Exp Reg for this task. Thanks in advance.

    Here's a way (like SQL or PL/SQL):

    with t (Spercu))
    Select "1 B: 5 A: 12 A: B: 43 3A ' double
    )
    Select Spercu
    , regexp_replace (regexp_replace (regexp_replace(strC||':','\d+B:'),' A:$ '), ':', ',') as strA
    , regexp_replace (regexp_replace (regexp_replace(strC||':','\d+A:'),' B:$ '), 'B:', ',') as strB
    ;

    SPERCU STRA, STRB
    ---------------- -------- ------
    1 B: 5 A: 12 A: B: 43 3A 1.3 5,12,43

    or

    declare
    varA varchar2 (30);
    varB varchar2 (30);
    varC varchar2 (30): = ' 1 B: 5 A: 12 A: B: 43 3A;
    Start
    varA: = regexp_replace (regexp_replace (regexp_replace(varC||':','\d+B:'),' A:$ '), ':', ',');
    varB: = regexp_replace (regexp_replace (regexp_replace(varC||':','\d+A:'),' B:$ '), 'B:', ',');
    dbms_output.put_line (Vara);
    dbms_output.put_line (varB);
    end;
    anonymous block filled
    5,12,43
    1, 3

    Replace it after you add a trailing colon varC, Interior removes all the ' nB: "Vara and all the" nA: "from varB. The Middle replace deletes the pair of colon final letter, and replace external converts the other pairs of commas leter-colon.

    Kind regards
    Bob

  • PLSQL do not replace the value of the variable

    Here is the small procedure that I write...

    m_t_database_links: this table contains the names of database links in the column link_name

    PLSQL not replaces the "BOLD" part with the value of the variable. I know I'm missing something. Can someone please?

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

    DECLARE
    m_v_var1 varchar2 (10);

    BEGIN
    FOR m_c_link_name IN (SELECT m_t_database_links FROM link_name)
    LOOP
    Select first_name into the emp @m_c_link_name.link_namem_v_var1;
    dbms_output.put_line (m_v_var1);

    END LOOP;
    END;
    /

    I think that you will need to use dynamic SQL here because you can use variables for table names unless it's the dynamic SQL code.

  • Get the value of the Variable text

    Hi all

    How to get the value of the Variable text. I want to check the value of variable text title in each page.

    Thank you and best regards,

    Robert S

    myText.textVariableInstances.everyItem (.resultText) would do it.

    The representation of a TextVariable on the page is a TextVariableInstance. They are objects of 'text' (parent may be: cell phone, change, note, Note, history, TextFrame, XmlStory). The "resultText" property is the string that the variable instance currently shows. See Adobe InDesign CS5 (7,0) object model JS: TextVariableInstance

  • Creating a variable that contains the value of the variable system (Long) Date of change

    Can someone tell me how to write a script to create a variable named DocDate, which contains the value of the variable of system (Long) Date of change? Or write a script that creates a variable named DocDate, which contains the current date? I can't find a lot of documentation on scripting ExtendScript.

    Hi Julee, when you create a user variable in the interface, you cannot include the building blocks of time in the definition. They can only be used in system like the System Date of Modification (Long) variable variables. So the question is, why not just use the variable Date of change (Long) system in your document? What is the purpose of the variable user DocDate? Let me know what you think here, and I can try to help you.

    Here are some ExtendScript resources:

    My blog: FrameAutomation.com | FrameMaker, faster and more effective to

    Debra Herman blog: Extension of FrameMaker

    The large samples of Russ Ward: FrameMaker ExtendScript samples - West Street Consulting

    -Rick

  • Getting the value of the variable defined in the component cfg file in the Service Manager.

    Hello
    I have a component custome and I need to set a variable in the cfg of the component file and I need to access this variable in my personal (using java) service manager.
    Can someone tell me how to get the value of the variable in the Manager.

    The link should load now.

    The Basic code is:
    String value = SharedObjects.getEnvironmentValue ("variableName");

    Jonathan
    http://jonathanhult.com

  • Display image based on the value of the variable of the choice by the user

    Hi all, I hope someone can help with what I think is a simple request. Ive only been using Captivate 7 for a few days and still feeling my way around things.

    I installed a question multiple choice quiz that has 4 possible answers (correct 1: incorrect 3.)

    It works fine out of the box, and when a user presses the button send the response box appears showing if the user responded to this correctly or not.

    What I want to do, that is forward a bit, and if the user gets the answer wrong I would a small image of a check mark appears next to the correct answer.

    I have included my image on the stage, he gave an alpha of 0 to hide effectively.

    In interactions in advance, I created a variable called showImage with an initial value of 0

    What I am struggling with now is how to increase the value of the variable to 1 when a user selects a wrong answer and change the alpha of 0 to 100 for show the image illustrating the choice of the correct answer.

    I know that what I have described, is essentially what is happening at the end of the quiz, if a user has access to review their answers but I would like to be able to do as they progress through the questions.

    Thanks a lot for your help

    D

    Hi D,

    What you need to do is rather than make his alpha 0. It completely hide the scene until the user gives the correct answer.

    So, I want you.

    (1) insert a picture

    2) go to image and all properties panel up - untick 'Visible output.

    (3) open properties Quiz, select under Actions failure level 1/2/3

    (4) select 'Last attempt' as 'Show' and the image you you inserted

    This way the image will appear if the user selects an incorrect answer.

    I hope this helps.

    See you soon,.

    Anjaneai

Maybe you are looking for

  • El Capitan v10.11.5 - problems with the second user

    Just installed 10.11.5.  I am able to log in under the master user, but when I try to log on to the second user, she just the turning wheel under the name after entering the password.  Any ideas of what I should do?  I'm not trying to delete and star

  • Satellite M115-s3094 - can't burn anything on disks

    Hello Can someone please help? I have a toshiba Satellite M115-s3094.The problem I have is that it does not burn anything. I put a white inside and then it starts to burn and it fails, other times it says full.When I take the cd it looks like its bee

  • EliteBook 8560w: 8560w bios settings

    What are the best settings of the bios, do I have to activate UEFI, I have a clean install of win 10 on a 128 GB SSD drive, it starts up very quickly, but thought I would check. Thank you

  • I need to not enter the pc, but I'm no match for HP PROTECTSMART :(

    OK, so I need to get little ram out and put more in, but I can't get through this thing called HP ProtectSmart :/ Any help? TKS, that's also a: HP Pavilion dv6-6c35dx notebook PC

  • Display driver stopped responding and recovered the error message.

    My computer says that I have the current driver.  I'm running Vista 64-bit, ATI Radeon 3100.  The screen turns off and turns back on.  It only happens when I am connected to the projector to the Church.  Help.