ODI variables not recognized in filename

Hi,
Do you know how to force ODI to recognize the varieble in the filename ?
The file name is :
123#VARIABLE456.xsv
and the variable #VARIABLE is not recognized by ODI 11g
If I put the variable at the end of the filename ( eg 123456#VARIABLE.csv ), variable is recognized but this is not exactly that I want.
Thanks!

Try to give PROJECT_CODE.VARIABLE name i think it will work
or try put a Underscore and place your variable and test it, is it working or not.

Similar Messages

  • User Variable not recognized  in Calculation Manager in V11.1.2

    I am using user variables in a script using a calculation manager in V11.1.2
    When I am using the user variable within a Fix statement I don't have any problems but when I am using it out of the Fix statement it does not work. I have already added the variables in the variable manager
    The error I am getting is the member is not recognized (user variable). I am having problem with only one of the many variables.
    Any suggestions on why I am getting this issue.
    Thanks in Advance.

    Thanks for your input, I have assigned the default values but it still did not work. Then I restarted all the services and it is working fine.

  • Variable not getting the filename

    Hello Experts
    I am new to ODI.
    when i am using variable for filename its not working.
    Please suggest.
    Thank you

    Hi
    after giving the filename just hit ENTER in your key board.(I think after pesting the filename you are directly clicking ok)
    Then click OK.
    It will work.
    Thanks

  • Object input stream variable not recognized

    this is the code:
    try
    ObjectInputStream inp = new ObjectInputStream(new FileInputStream (file1));
    catch(IOException e)
    e.printStackTrace();
    //reading an object into a string.
    while ((contact = (String) inp.readObject()) != null)
    the error is that the symbol inp can not be resolved.
    Also I have another question? what will read object read from a file.
    will one line in the file = 1 object/

    That's because "inp" only has scope within the try-catch block. Use this:
    try
        ObjectInputStream inp = new ObjectInputStream(new FileInputStream(file1));
        //reading an object into a string.
        while ((contact = (String) inp.readObject()) != null)
    catch(IOException e)
        e.printStackTrace();
    }Or you can move the declaration of "inp" before the try-catch block.

  • Not able to get the value of ODI Variable when i pass thru Option

    Hi,
    I have ODI variable called prev_etl_run_date which will hold the last successful etl run date. I want to use the value of this variable in one of my KM step.
    But i don’t want to use directly in my KM. So I passed the variable name thru KM Option.
    I intend to use the variable’s value in the KM step, as shown below:
    <%=odiRef.getOption("MY_OPTION_1")%>
    Here I am expecting the value of the variable, but here I am only getting the variable name only.
    Is there any substitution method available in ODI KM , please help me to solve this issue.
    Thanks
    nidhi

    ODI options are not intended for run time parameters. They are like design choices or debugging flags or parameters that can be specified in code template. Previous ETL run time stamp is hardly a design choice.
    On the other hand, it is really a bad practice to put a variable inside KM directly. That creates a dependency that you can easily avoid by putting a filter using that variable in the interface.

  • Trouble making path work for 'javac' is not recognized as an intern...

    Hi -
    I am trying to compile my HelloApp.java program and I get this message: 'javac' is not recognized as an internal or external command, operable program or batch file
    I know to go into the system and change my Environment Variable, but I'm not sure what to change it to. Right now I have it as: ...ger\;C:\foo\bar\> C:\java\samples\bin\javac Filename.java
    I've just installed java_app_platform_sdk-5_01-windows.
    Will you please give me step-by-step instructions to make my compiler work?
    Thank you.

    Its already solved: i installed with de windows installer (jdk-1_5_0_10-windows-i586-p.exe) jdk and jre in the same folder. With another installer (jdk-6-rc-windows-i586), in separate folders: no problem. Thank you.

  • Error while passing ODI variable in JNDI Url for JMS Queue XML

    Hi,
    Facing a weird problem while passing ODI variable in JNDI Url for JMS Queue XML.
    Below is the JNDI Url configured under ODI Topology:
    JNDI Url: t3://<host_location>?d=#TEST.SCHEMA_FILE&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    where,
    #TEST.SCHEMA_FILE --> ODI variable storing xsd name and location
    Issue Description:
    If we restart ODI server then for the first run of any ODI interface using JMS Queue XML, it is unable to get the value for ODI variable present in JNDI Url (d=#TEST.SCHEMA_FILE).
    It throws error message saying: No XSD found
    Temporary Resolution:
    As a temporary fix if we hard-code and pass the value in that ODI variable as shown below, it will successfully go through.
    eg: JNDI Url: t3://<host_location>?d=C:\XSD\test.xsd&s=<schema_name>&JMS_DESTINATION=jms/<queue_name>
    Reverting it back to variable later will have no issues and subsequent run will succeed.
    But again anytime later if server is restarted then first run will have this issue.
    Want to have permanent fix for it.
    Any one having idea on it please share. Appreciate your help!

    What ODI version are you using? It could be related to the bug in the older version as described in support note Doc ID 1290326.1

  • Get the file name into a Odi variable

    Hi,
    I need to get the file name into odi variable like ..A/ETC/file.txt
    For eg.the filename file.txt should get store in a variable.
    Then i want to compare the file name stored in the variable with some other value.
    Please suggest.
    Thanks.

    in package,
    declare the variable, then evaluate it with another variable, generally using # syntax
    if the variable is date type, suggest to use : syntax, because # will treat the variable value as text value
    in loadplan
    use case when syntax,

  • Problem: Use an ODI variable in a Java Procedure

    Hi and thanks in advance,
    i need to use a project variable in a java procedure i've written. In particular i should read a file (and manage it...), but its name is stored in avariable called #fileName that i refresh each time.
    writing something like:
    <% FileInputStream fis = new FileInputStream(C:\\"+"#filename");
    etc.
    etc.
    %>
    doesn't work...
    How can i use the value of my ODI variable inside the Java code?
    Please, help me if you can...
    Thank you very much.

    Any Idea? Please, this question is blocking me...

  • How to store the File Name from a Unix Directory into a ODI variable?

    Hi,
    I have built a ODI package with the following steps:
    1. ODI is polling for a flat file in a Unix directory. I have used OdiFileWait tool for this purpose. Here the file name is not fixed, so I am using wild character (*) to poll for file. Example: DF*ABC1*.DAT where the first wild character denotes 1 letter and the second wild character denotes 2 digits.
    2. In the second step, if the file is found, I am moving the file to ODI file server path (../oracledi/demo/file). Here I have used ODIFileMove tool.
    3. Then I am using an ODI Interface to Load the file data into a Oracle database table.
    4. I am using a Process log table to keep the log for each step I am executing in ODI that is ODIFileWait, ODIFileMove, Interface etc. for each file. In this table a row needs to be inserted after ODIFileWait tool gets the file, with the File Name and File Date. Later on this row will be updated as the consequent steps are executed.
    Here is my concern, I need to get the exact File Name of the file after ODIFileWait gets the file and I need to insert that in the Process Log table after the ODIFileWait step gets a file. So if I can store the File Name in a ODI Variable, I can insert it into the Process log table at this point. This I am not able to do.
    The files are coming in a different directory (not in ODI file server path), So after getting the file it is moved to ODI file server path (../oracledi/demo/file)
    The Files which I am processing are fixed length format. Also, the File name and File Date is stored in the 1st Record(Header record) of the files.
    Kindly provide me suggestions to implement this in my code.
    Thanks and Regards,
    Anik
    Edited by: 809820 on Nov 10, 2010 11:36 PM

    Look at this link -http://odiexperts.com/getting-one-or-several-unknown-files-from-a-directory
    change the command to fetch the ls command and write into File and then using either java or jython break the data and fetch the file name and date and insert into log table.
    (or)
    you can use the os.system command and get the complete ls command into string and then process and insert it.
    Let us know if you need any other help.

  • Is it possible to use a ODI variable in a procedure

    I am trying to call an external java program from the operating system (MS-DOS) using a procedure. This is possible using the os.system("<command>") syntax - declaring a procedure to use Jython. However, I want to be able to pass two ODI variables to the java program. I do not seem able to do this, is it possible ?
    I also tried calling the OS command from within a package - but again cannot get the OS command to pass the variables.
    I would appreciate any help on this.

    Thanks for your response.
    I am still unable to do this.
    Problem is the procedure is "Jython" and it does not know what the ODI variables are.
    I basically have two variables source and target which need to be passed to a java procedure.
    So I created two VARIABLES in ODI - source and target.
    I then have a procedure with the command;
    import os
    import sys
    cmd = "java ConvFile"
    rc = os.system(cmd)
    when this runs it does not pass the variables.
    if you have
    import os
    import sys
    cmd = "java ConvFile"+#Tax_Updates.SourceFile+#Tax_Updates.TargetFile
    rc = os.system(cmd)
    then it does not know what #Tax_Updates.SourceFile and #Tax_Updates.TargetFile are and so just passes them as strings.
    If you still think it is possible or anyone esle knows can you elaborate a little on the solution.
    Thanks
    Nick

  • ProEngineer files are not recognized by Acrobat 9 Pro Ext.

    It seems that Acrobat has problems with the numbers at the end of Pro Engineer Files.
    When you save a file in Pro E the file get a number at the end which marks the version of the file. So the name of a Pro E file is:
    "Filename.prt.1"
    save it again in Pro E generates a file named
    "Filename.prt.2"
    When I open Acrobat and choose "File/Create PDF/From File" and went to a folder with Pro E files, I can't see anything. Under File type there is "All known fileformats" set. I can set it to "Pro/Engineer" but that doesn't change anything.
    Only when I delete the number at the end of the ProE file I can choose it in Acrobat.
    When I edit an existing pdf-document and want to insert a 3d file from ProE I mark an area with the 3D-Tool and choose a file. In this fact I can see also files with numbers at the end. But when I choose this file and press OK Acrobat tell me that the file is not supported. Only a file with no number at the end works.
    Is there a patch the make Acrobat recognizing ProE files with numbers at the end? Or some other help?

    With the second one the problem was not not to inactivate the object.
    When I have two objects on different sites and I want to show it to our customers I will navigate in the first site to a specila view. Then I change to the other site and navigate also to a specila view. Now I will go back to the first site to compare the to objects. But the view has been inactivating. It should be still activated when I scroll across the document when I set the option "Deactivate when = clicking on it and choose deactivate" Because with this option you said that it could only be deactivated when you explicit click on the object and choose deactivate. Thats the way it worked in Acrobat83D.
    Thanks for the workaround with "Show toolbar" Now I can set the toolbar to "not shown" Thats excellent at presentation for customers beacuse there the toolbar is distracting.
    b Now we have a bug list with four items:
    *Open menu that does not recognize some filename extension
    *Create object with 3D-Tool creates an error when choose ProE file with version number.
    *Setting the option for 3D-object after creating it. (toolbar hide)
    *Set the "deactivate when" option to "deactivate only when you click on it and choose deactivate" makes the object deactivating also when you navigate to other sites. It should still be activate.

  • Variables Not Appearing Correctly

    I am using RoboHelp 8 and FrameMaker 9. In RoboHelp, I have linked to a FrameMaker book. I have encountered a problem that I cannot seem to resolve. All of my FrameMaker variables have imported correctly. However, in a few instances the following code has been added:
    <span class="FM_variable" style="font-family: 'Times New Roman'; font-weight: normal;">&#160;<?rh-udv_start name="AcmeWidgets" ?>Acme Widgets<?rh-udv_end ?></span>
    Ideally, the variable should appear as:
    <?rh-udv_start name="AcmeWidgets" ?>AcmeWidgets<?rh-udv_end ?>
    The additional code is causing the variable to display incorrectly. I can remove the additional code, but it is added again each time I update the topics. This is only happening in one or two instances – the rest of the variables appear correctly. Can anyone help solve this dilemma?

    You can start by running a variable report in Robohelp. Tools > Reports > Variables.
    Make sure all your variables are accounted for in the Robohelp project. If not, reimport the files and let Robohelp rebuild everything.
    Assuming that your variables are recognized by Robohelp, then in FrameMaker you can try this. Select the heading in question, and then click Heading 1 in your paragraph catalog. Next, while the heading is still highlighted, click Default Font in your character catalog. This should remove any additional character formatting on the variable itself.
    Make sure you've mapped styles for paragraphs and character formats in Robohelp. Right-click the referenced FrameMaker book in Robohelp. Click Properties, and then select the Style Settings tab. Click Edit in the Style Mappings area. Select Character Styles in the Style Mapping Type box. You'll want to make sure you've get every FrameMaker style mapped to an acceptable Robohelp style.
    That's all I can think of off the top of my head. Hope it helps point you in the right direction.
    Jason

  • Text Variables Not Appearing Correctly in InCopy

    In working on a project I have discovered that the text variables do not properly appear in some of my InCopy assignments. I have tried deleting the assignments and recreating them, synchronizing the variables in the whole book, and checking in and out the assignments in InDesign. None of the approaches I have tried have resolved the issue. Hoping someone in the community may have run across this issue before and knows what I'm missing.
    Correct Dates in InDesign                                                                                                                  Incorrect Dates in InCopy

    You can start by running a variable report in Robohelp. Tools > Reports > Variables.
    Make sure all your variables are accounted for in the Robohelp project. If not, reimport the files and let Robohelp rebuild everything.
    Assuming that your variables are recognized by Robohelp, then in FrameMaker you can try this. Select the heading in question, and then click Heading 1 in your paragraph catalog. Next, while the heading is still highlighted, click Default Font in your character catalog. This should remove any additional character formatting on the variable itself.
    Make sure you've mapped styles for paragraphs and character formats in Robohelp. Right-click the referenced FrameMaker book in Robohelp. Click Properties, and then select the Style Settings tab. Click Edit in the Style Mappings area. Select Character Styles in the Style Mapping Type box. You'll want to make sure you've get every FrameMaker style mapped to an acceptable Robohelp style.
    That's all I can think of off the top of my head. Hope it helps point you in the right direction.
    Jason

  • Variable not found in repository - Done

    Hi,
    I have an ODI procedure for Oracle SP which needs an input param . Syntax
    begin
    Proc(sessionId);
    end;
    Generated a scenario out of this procedure. I want to use this scenario in some package.
    Steps:
    1)Created a variable; dragged that as a first step in the package
    2)Interface
    3)ODI Procedure Scenario ( used the additional variable field) : Command generated for Scenario --
    OdiStartScen "-SCEN_NAME=BATCHREPORT" "-SCEN_VERSION=003" "-INVOICEPROCCESSING.sessionId=#sessionId"
    I tried using the additional variable filed in the scenario , when dragged into a package; while executing the package an error occurs.
    java.lang.Exception: Specified variable not found in the Repository : INVOICEPROCCESSING.sessionId
    Thanks,
    Is
    Done!
    Edited by: Is916 on Sep 2, 2009 1:57 AM

    Hi,
    Are you creating temp tables in our code, if yes
    if we have a same temp table name as that of the variable it will not work for that connection.
    try it with a different variable name.
    Regards,
    Naveen

Maybe you are looking for

  • Cisco Webex Connect Jabber 7.2.2 History Missing

    Running Cisco Webex Connect 7.2.2 on W7 x64. Anyone run into chat history missing or only showing 1 day of chat when you know that you shoud have weeks and weeks with certain persons?  Default is 9999 days.  Had someone ask me to start CWC as adminis

  • JMS SBL-EAI-05010

    Hi expert, I'm trying to configure my Siebel JMS component. I've this error in wf log SO: Windows 2003 Siebel 8.1.1.1 I've just checked if these files exists: DLL = C:\Program Files\Java\jre\bin\client\jvm.dll CLASSPATH = "C:\siebel\sba81\siebsrvr\CL

  • "no content selected" error on nokia 5310

    So i bought a pretty little 5310, and am loving it so far. have hit a few speed bumps when trying to upload with my mac, but have got alomst all of them fixed. almost. the last time i updated my music library, i noticed my dedicated shortcut keys on

  • Regular Expression Search in Forms Builder

    Hi everyone, can anyone help me out? I'm working on a legacy forms migration project (3 to 10g) where item references often do not include the block name. eg. :stock_level := :default_level; instead of :stk.stock_level := :ctrl.default_level; There a

  • BW System copy from PRD to DEV - Reduce database size

    Hi All We are in the process of copying our existing Production BW system (3.5) to become a new Development & test system. We want to reduce the database size significantly from 1.4 Tb to about 150 - 200 Gb. We have deleted all cube and ODS data as w