Using Variable within Filter expression will not parse.

IN ODI 11.1.1.3.0, I defined a Variable (SelectionDate) of type "Alphanumeric", Default Value = 01-JAN-1970 with the select query: select to_char( SYSDATE , 'DD-MON-YYYY') from dual.
I intend to use this variable as a scenario variable (parameter) that receives a value in the form of 'DD-MON-YYYY', from the execution environment.
I refreshed the variable and it received the value 16-JUN-2011 (today's date). So far so good.
I then defined an Interface and used the variable in a filter expression:
Active Filter: Checked
Implementation Tab:
SOURCE_VIEW.SELECTION_DATE BETWEEN TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') AND (TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') + 1)
Execute on :Source
When verifying the expression (click on the checkmark in the implementation tab) I always get: Expression is not valid for this DBMS. java.sql.SQLDataException: ORA-01858: a non-numeric character was found where a numeric was expected.
I cannot get the filter to parse. Thank you for your ideas of what might be wrong.
Jose.

Yes, it worked when placed in the package.
I think the expression editor is sending the string as it is written to the database in order to parse it, without replaceing the #variable for the actual value. Anyway thanks.
Jose

Similar Messages

  • Variable within Filter expression will not parse -Seems to be corrupted

    ODI 10.3.4.0
    I defined a Variable TTE_BU of type "Alphanumeric", Default Value = the select query:in (SELECT BUSINESS_UNIT FROM PS_S1_ODI_LEARNING)
    I use this variable as a package variable to filter table source data
    When I run the package The package errors out with the message:
    911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
    java.sql.SQLException: ORA-00911: invalid character
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
    If I create another variable with another name but with the same SQL query the package runs OK.
    Has anyone ever solved tthis king of error?

    Solved the problem by doing a delete in the ODI repository.
    DELETE FROM SNP_VAR_DATA WHERE VAR_NAME = 'TTE_BU'
    I would be thankful to anyone who can explain the purpose of this table.

  • How to use the date repository variable in filter expression

    Hi Gurus
    I am getting error in using the date repository variable in Filter expression. I am using the below formula
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = VALUEOF("month_start") )
    I am getting below error
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 22024] A comparison is being carried out between non-compatible types. (HY000)
    SQL Issued: SELECT filter( fact.Calls using "Dim Time"."Fiscal Month End Date" =VALUEOF("month_start")) FROM "Call Data"
    Then i tryed the below format i am getting still the error
    filter( Fact.calls USING  "Dim Time"."Fiscal Month End Date" = DATE'(VALUEOF("month_start"))' )
    Formula syntax is invalid.
    [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 46047] Datetime value (VALUEOF("month_start")) from (VALUEOF("month_start")) does not match the specified format. (HY000)
    SQL Issued: SELECT filter( Fact.Calls using "Dim Time"."Fiscal Month End Date" =DATE'(VALUEOF("month_start"))') FROM "Call Data"
    Please let me know what i am missing or what is the correct syntax for fitler using the date repository variable.
    Thanks in advance
    Regards
    @li

    Hi @li,
    Syntax-1 is fine it will work,What kind of Variable is it?
    Static or Dynamic
    Thanks,

  • It will not parse! Creating a new object in the universe

    Hi, we have a universe and BO reports. They work fine for our clients. We are on BO XI r3.1. Now, one client captures an additional piece of info. They would like to report against this and add it high up on our drilling heirarchy. "Sure, no problem". For the following I was logged in as administrator.
    The additional data field is a 3 character code.
    1) We added an additional column to the actual database table.
    2) In Universe Designer, I refreshed universe structure and could see the additional column
    3) Created an object 'Acode' that refers to db.new_field
    4) Exported universe
    Maybe worth mentioning that I can see this object and use it in reports fine in Infoview.
    Now, I need to create a new object that will be one of 2 strings based on the 3 character code (Acode) i.e. the 'Atype' can be X or Y.
    Here's my code and it just will not parse:
    CASE
    WHEN @Select(AFolder\Acode) = 'CEL'
    THEN 'X'
    ELSE u2018Yu2019
    END
    Error I get is:
    Parse failed:Eception:DBD ODBC SQL Server driverStatement could not be prepared.State 42000
    I'd appreciate any help, believe me I have searched the forums!
    Thanks, Eddie

    Look at following SAP NOtes.
    1373739
    1184304
    Regards,
    Bashir Awan

  • Illustrator CS4 - frequently generates corrupt EPS files that will not parse

    I have used many versions of Illustrator prior to and including the CS lines.  I am currently running CS4 and this is the first time I have experienced this issue.  Approximately half of my EPS formatted illustrator files will not parse.  I use Quark Xpress 7 for my layout (never liked any of the Indesign programs).  If I try to generate a PDF with my CS4 generated EPS files placed at least 60% of the time the placed file will corrupt the PDF export resulting in no PDF being generated. 
    Further to this PDF export issue, if I attempt to parse the same EPS file into Photoshop, Photoshop will give me the error message "Could not complete your request because Photoshop was unable to parse the PostScript" and it will abort the attempt to open the file.
    Anyone else having Illustrator EPS file issues?
    Background info (if needed) Dual 2.0 Ghz, PowerMac G5, 8 gb RAM, running Tiger 10.4.11
    I have attached a sample Illustrator file that will not Parse.  It will open in Illustrator but not parse into Photoshop or if placed in Quark will not parse and allow for a PDF to be exported.

    Thanks for taking the time to write Steve. 
    I understand that I can drag and drop between programs.  Ultimately, when attempting to parse an EPS in photoshop I am merely doing it to confirm that the EPS is indeed corrupt. 
    As mentioned previously, I predominately use Quark Xpress for my page layout program and until I installed CS4 I have had zero complications with using EPS files.  Now I quite commonly can not export PDFs due to corrupt EPS files. 
    My question to the public is I am alone in this glitch or do others experience the same issue.  My first thoughts are that CS4 has a glitch and I should be expecting an update in the near future.  But, if I am the only person suffering from this issue than maybe I should be looking at my own software.

  • Using variables within GETurl

    Having issues with getting a simple script working...
    I've created a 'flashvars' tag in my embed code (aid=test), which I simply wish to add to the end a GetUrl statement, contained in within a button (which is on the first level of the flash movie). This is the code I've added to the button...
    on (release) {
        getURL("http://www.platinumselect.com?id="+aid);
    But this doesnt seem to work!? Is there anything else I need to do?
    Thanks in advance! (p.s. using actionscript 2.0)

    Where are the 3 places?? I've got it in two at the minute.
    Date: Tue, 10 Nov 2009 07:53:55 -0700
    From: [email protected]
    To: [email protected]
    Subject: Using variables within GETurl
    in as2, there is no LoaderInfo class and you don't need to do anything in flash to parse the flashvars.
    but, as i mentioned in a duplicate post, you do need to define your flashvars in 3 places in your embedding html file.  failure to do that is the most common reason for a problem with flashvars.
    >

  • AirPort Express will not extend Wireless Network

    Hello.  My airport express will not extend my wireless network.  It was green for about the first 4 hours and then I've had a flashing yellow light since that time.  I've reset it a bunch of times and even have the AE in the same room as my AP Extreme.  I complete the setup and then it continues to flash yellow.  Can ayone give me a hand?

    In the cases where the AirPort base stations would be interconnected by Ethernet you want to configure then for a roaming network, NOT an extended network. Apple uses the term "extended" when the base stations use wireless connection. Regardless of naming convention the end results is pretty much the same.
    The link I provided should provide you with the necessary steps to set this type of network up.
    If you need additional help, please start a new post as the solution for you will be different than the OPs. Thx!

  • Airport Express Will Not Reset or Join WDS Network

    I have an Airport Extreme which is a WDS main. The Express will not join the network. I reset the Extreme, set up the network again, and did a hard reset of the Express. Airport Utility will not see the Express either from my iMac or MB Pro regardless of whether I connect directly through Ethernet, or wirelessly. The Express flashes amber. I've read the proposed solutions given to others with the same problems, but nothing works for me.
    I know I'm doing something incorrectly, but can't figure out what's going on. Any help would be greatly appreciated.
    Thanks

    A couple of suggestions:
    1. do a factory default reset of the Airport Express. Follow the instructions to the letter, which means don't let go of the reset button until you see the four green flashes in a row. This can take a bit longer than Apple's article suggests - up to 10-15 seconds.
    2. when setting up the WDS (and I suggest you do this all wirelessly) make sure the Mac, the Airport Extreme, and the Airport Express are all in the same room. I suggest you use the iMac - MacBook Pros seem to have their own share of wireless network problems.

  • My iPod Touvh 4th Generation won't turn on. It will not charge even after I used a few chargers and will not connect to a computer. The Home button is broken and I don't know if the Lock/Sleep button is now broken or stuck as well. What should I do?

    My iPod Touvh 4th Generation won't turn on. It will not charge even after I used a few chargers and will not connect to a computer. The Home button is broken and I don't know if the Lock/Sleep button is now broken or stuck as well. I believe there may be a problem with the battery or the backlight. I've had my screen replaced once by some stooges. What should I do?

    Try:
    - iOS: Not responding or does not turn on
    When it  says place the iPod in recoverymode use one of these programs.
    For PC
    RecBoot: Easy Way to Put iPhone into Recovery Mode
    If necessary:
    Download QTMLClient.dll & iTunesMobileDevice.dll for RecBoot
    and                                  
    RecBoot tip
    For MAC or PC       
    The Firmware Umbrella - TinyUmbrella
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • I just downloaded a few ITunes Apps to my PC using windows 8 and they will not work.  Suggestions?  Thank you.

    I just downloaded a few ITunes Apps to my PC using windows 8 and they will not work.  Suggestions?  Thank you.

    The apps can only be run on an iOS device.   They will not run on your PC.

  • Need Help...my wireless airport express will not work with my update of snow leopard

    after installing snow leopard on my macbook pro my airport express will not work...or will connect only for a minute at a time.

    If you mean by "airport express" the square airport router you plug in and has a usb port then run the Airport Utility located in your Utilities folder to set it up again. If AU doesn't see it you may need to do a re-set of the AE.

  • I have a Netgear NAS which uses  Stora software. Mavericsks will not let me install the software as it is not from an approved developer. Is there any way around this?

    I have a Netgear NAS which uses  Stora software. Mavericks will not let me install the software as it is not from an approved developer. Is there any way around this?

    There is, but why do you need the s/w installed? The NAS should have a web admin interface, accessible via ip address (http://<ip address>) which should allow all the needed configuration that is required for it to work with machines running os x.
    Try to install as little s/w as you need to do something in Mavericks or any OS as it is usually the cause of future issues or problems.
    If you're intent on installing the s/w, go to System Preferences > Security & Privacy > General and If you have tried to run it before, it should be listed there. You can then "un-block" it should you wish.

  • I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    I have a friend who is not very savvy with computers. He works on a PC. (There may be versions for pc OS versions) I use a Mac-your website will not show the PC pages to me. How can I find the proper URL to embed in a button?

    Try going to the following
    Tools->Web Developer-> Page Source.
    You can also access this by way of keyboard shortcut Ctrl + U
    The View Page Source option is also available via the right-click menu by just right-clicking inside the page window & it will be the penultimate menu item.

  • The Pages software used on my ipad 2 will not install on my iPad 1 using the latest software 5.1.1

    The Pages software used on my ipad 2 will not install on my iPad 1 using the latest software 5.1.1

    The latest version of Pages will not run on iOS 5.1.1, so you need to install a version that will run in iOS 5. Another member of the ASC, rbrylawski, posted this a little while back and I copied this for future use.
    On your computer in iTunes, download Pages from the App Store to your iTunes library.
    Then, on your iPad, in the App Store, click on Purchased.
    Look for Pages in the Cloud in the purchased tab (tap not on this iPad in order to find it)
    Tap on the Cloud and you'll be given an option to download a version that will run on iOS 5.1.1

  • I am trying to connect my old mac desktop and my mac book pro to my new mac desktop to use as monitor but it will not work??

    I am trying to connect my old mac desktop and my mac book pro to my new mac desktop to use as monitor but it will not work??

    Hi ashleydanc588,
    If you are interested in more information on using an iMac in Target Display Mode, including what machines are compatible, you may find the following article helpful:
    Target Display Mode: Frequently Asked Questions (FAQ)
    http://support.apple.com/kb/ht3924
    Regards,
    - Brenden

Maybe you are looking for

  • Does the Serial Number work for Mac and Windows?

    I Purchased Photoshop Elements 12 it came with a Windows and a Mac Disc.  My Son just got a Mac.  I was wondering if I can install Elements on his Computer using the serial number I received from the Redemption code that I used  for my Windows Laptop

  • BADi in QA32 and COR3

    Dear All I am searching for badi in QA32 and COR2 .IF any one have done this please do let me know. As well i serached for badi These are the BADI's:Check once. QPL1_SUBSCREEN_ADDON INSPECTIONLOT_UPDATE Check these Exits: QEVA0004 Exit for changing i

  • Cluster_resource not starting in oracle RAC 11gR2 after adding

    I am using a RAC of 2 nodes (rac1,rac2) on windows 2008 Server R2 with Oracle 11gr2 grid installed. I am trying to add a cluster resource using *> crsctl add resource check -type cluster_resource -attr "ACTION_SCRIPT=C:\app\agent.exe"* It is success

  • Where Load Balancing Takes Place

    Hi guys: I've seen a post by Todd Little. http://www.oracle.com/technetwork/middleware/tuxedo/overview/ld-balc-in-oracle-tux-atmi-apps-1721269.pdf In section "Where Load Balancing Takes Place" It said Whereas for /WS clients, the tpcall/tpacall/tpcon

  • How many mobile servers?

    Hi, Actually a client has 193 stores in every store has 16 terminals. Is it possible to install only a mobile server for all these clients? or it's better install a mobile server for each store? In adittion if they has an application, how can they di