Error in using a variable in filter condition in an Interface

Hi All,
I am using a variable in my interface in a filter condition. I have an EMP table of scott schema and want to pull all the records wiht hiredate date lying between 2 dates, incremental pull.For this I have created 2 variables and using them in the filter condition. I am getting an error inthe interface when I run in a package after declaring and refresing the variables.
com.sunopsis.sql.SnpsMissingParametersException: Missing parameter
     at com.sunopsis.sql.SnpsQuery.completeHostVariable(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.g.y(g.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Unknown Source)
Regards,
Krishna

Hi Krishna,
What is the datatype of the Variable lastupdate ?
In my case
Variable
Name : LastUpdateDate
Datatype : Alphanumeric
Action : Historize
Query : select to_char(to_date(sysdate,'DD-MON-YY'),'DD-MON-YY') from sys.dual
Then in filter I used
EMP.HIREDATE>to_date('#LastUpdateDate','DD-MON-YY')
Thanks
Sutirtha

Similar Messages

  • Issue in using presentation variable as filter condition in the reports

    Hi,
    I have an issue in using presentation variable as filter condition in my reports the details are as follows:
    Details :
    We want to implement the Max and Min variables through Presentation variables only.we do not want to implement it through session variables in this case.
    We have two variables MIN and MAX to be used as Presentation Variables,for a column of the report (which is a quantity),so that the user wants to see the data for this column within a particular range.i.e the Min and the Max.This part has been implemented well . The issue is when the user wants to see the full data.In that case we will not pass any values to these two Presentation Variable or in other words we are not restricting the report data so we are not passing any value to the variables,this is when the report is throwing the error. we want to leave this variables blank in that case.but this is giving error.
    Please suggest how can I overcome this issue.
    Thanks in Advance.
    Regards,
    Praveen

    i think you have to use guided navigation for this. create two reports first is the one you are having currently and second is the one in which remove the presentation variable from the column formula. i.e. the same report with no aggregation applied.
    Now create a dummy report and make it return value only when the presentation variable value is not equal to max or min. guide the report to navigate between the first and second report based on the result of the dummy report.

  • How to use OMB to change filter conditions in OWB maps

    Hi,
    I want to know how we can use OMB to change filter conditions in an OWB map.
    As per my scenario i have a filter operator FLTR_1 in my maps and i have to change its filter condition from
    INOUTGRP1.ID IN (1,2)
    AND
    INOUTGRP1.VALUE > CONST_0_MAX_VAL
    to
    INOUTGRP1.ID IN (1,2)
    AND
    INOUTGRP1.VALUE > CONST_6_MAX_VAL
    Just for everybody's information we are migrating from OWB 9.2 to OWB 10.2 and we have called procedures in constants and used their values in filter conditions.OWB 10.2 generates the values for constants in a different way than OWB 9.2 thats why this change is required.I wish to automate the act of changing constant names so we can save time in changing the maps.
    Thx

    Carsten,
    I created a map in OWB 10.2 and ran the following command
    The filter operator name in this map is FILTER
    Carsten Herbe wrote:
    OMBALTER MAPPING 'TEST_MAP' MODIFY OPEARTOR 'FILTER' SET PROPERTIES (FILTER_CONDITION) VALUES ('INOUTGRP1.ID IN (1,2) AND INOUTGRP1.VALUE > CONST_6_MAX_VAL ')
    I got this error:
    OMB02933: Error getting child object of type OPEARTOR with name FILTER: MMM1034:
    Property OPEARTOR does not exist.
    Could you pls help on this.
    Thx

  • Archive Viewer not showing project variables in filter conditions

    Hi !
    This is a strange issue. We have a full archive database. The viewer displays all the process we have deployed. We can see the contents of the archive without problems. We have also defined like 15 project variables. If we take a look at the filter conditions combo box, we only see predefined conditions for filtering. The first option of this condition is empty. If we look at the html source of this jsp page thru the browser (look for the "updateAddFAT" javascript function), we see that there is indeed java code mentioning one of our project variables in the combo box, and it its the one with no label (or blank one). So, if we choose this blank condition and complete the right value in the value text box, then the filter returns all the instances that apply to that condition using the project variables.
    The problem is: we don't get all the project variables in the filter combo box. This makes the archive viewer very useless, because business users need to search archived instances filtering by project/business variables.
    Anyone experienced this? Anyone is seeing correctly the project/business variables in the condition combo of the archive viewer? if you do, please share the version and patch you are using.
    Thank you !
    Regards,
    Matias.

    What I verified somehow, that if I add let's say 3 or 4 variables, it keeps showing always the same. If I remove the one that is currently loading into the combo box, then the next one in the list is displayed, but I don't understand which filter or sort criteria is using. I went deeper in the code (jsp and jar files), but still cannot indentify the root cause, because the SQL query the jar is sending to the archive database seems to be ok (it appears in the log), at least it returns all project variables in the archive database (table VARIABLE), but somehow, some internal array or list is not filled correctly.
    Let's wait and if not, I will create a service request.
    Thanks.
    Regards,
    Matias.

  • Error in using System Variable

    Dear all,
             I want to use System Variable 225 ( VAT percent (per VAT code) ) which is used in one of document i.e. "VAT Only Invoice".
    When I used it in my Invoice document the following error occurs:
    Printing Error : Invalid Variable number (RPT -6300)(Field:F_XXX) Variable 'XXX'
    Please help me to use this System Variable in my Invoice.
    Note: I have already read "How To Use the PLD Variables File in Release 2007 A" .pdf file.
    can any one tell the meaning of folowing which is in the sheet "vars utilisation" of PLD_Vars_march2007 xls file
    " it means that this variable can be used only under certain repetitive area exclusive numbers (109, 126, 132, 135, 139, 148, 149, 309, 316, 427, 502, 509, 686)
    Regards,
    Ghazanfar
    Edited by: Ghazanfar Ahmed on Jun 18, 2009 12:16 PM

    Hi,
    It is a special variable available for the VAT summary part, not to be used in the rows but in a separate repetitive area.
    To display the respective VAT rates in each row, create a database field instead: Tax Definition - Rate%. It will populate the VAT percentage for you.
    Regards,
    Nat

  • Error when using the variable System::ErrorDescription

    HI All,
    When I try to use the variable System::ErrorDescription I get the following error:
    The element cannot be found in a collection. This error happens when you try to retrieve an element from a collection on a container during execution of the package and the element is not there.
    Do I need to declare it or it's a variable that always is available to get exceptions from the execution states?

    if this is in a Script Task then:
    - add the variable in the Script task property ReadOnlyVariables list
    - in the Script Code refer to it as
    string ErrorDesc = (string) Dts.Variables["System::ErrorDescription"].Value;
    Jan D'Hondt - SQL server BI development

  • Error while using the Geospatial Range FIlter

    Hello,
    When I try to use the Geospatial Range Filter I get the error:
    javax.portlet.PortletException: com.endeca.portal.data.DataSourceException: An error occurred while executing query: exception encountered while executing external function 'internal:navigation-query', caused by error endeca-err:MDEX0001 : Invalid input : Error in selection filter: "DISTANCE" is not a valid function on the types (mdex:geocode-set, mdex:geocode)
    Can anybody help me?
    Thanks!
    Marco

    Marco,
    you are dealing here with trying to use a function DISTANCE on mdex:geocode type and mdex:geocode-set, where:
    mdex:geocode Represents a latitude and longitude pair. Used for atomic values (from single-assign geocode attributes).
    mdex:geocode-set  Represents a latitude and longitude pair. Used for sets (from multi-assign geocode attributes).
    However, many functions and operators work on atomic data types and do not support sets.
    Quoting from the EQL Guide:
    Important: With three exceptions, all the functions and operators described in this chapter work only on atomic data types. That is, they are not supported with sets. The three exceptions are
    ARB,COUNT, and
    COUNTDISTINCT. For information on the set functions, see  Sets and Multi-assign Data.

  • Error while using the variable name "VARIABLE" in variable substitution

    Hi Experts,
      I am using variable substitution to have my output filename set as a payload field value. It is working fine when I am using the variable name as fname, subs etc but channel goes in error when I am using the variable name as "VARIABLE". This is probably a reserved word but i would like to know where i can find a detailed documentation on this. Say things to note / restrictions while using variable substitution.
    This is the error in the channel:
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error during variable substitution: java.text.ParseException: Variable 'variable' not found in variable substitution table: com.sap.aii.adapter.file.configuration.DynamicConfigurationException: Error during variable substitution: java.text.ParseException: Variable 'variable' not found in variable substitution table
    Thanks,
    Diya

    Hi Zevik,
    Thanks for the reply. The output file is created correctly by merely changing the variable name to something else and hence the doubt.
    Below is the configuration:
    Variable Substituition
    VARIABLE    payload:interface_dummy,1,Recordset,1,Header,1,field1,1
    Filename schema : TEST_%VARIABLE%.txt
    Output xml structure:
    <?xml version="1.0" encoding="utf-8" ?>
    - <ns:interface_dummy xmlns:ns="http://training.eu.unilever.com">
    - <ns:Recordset xmlns:ns="http://training.eu.unilever.com">
    - <Header>
      <identifier>HDR</identifier>
      <field1>001</field1>
      <field2>001</field2>
      <field3>R</field3>
      </Header>
    - <Detail>
      <identifier>A</identifier>
      <field1>000000002</field1>
      <field2 />
      <field3>Doretha.Walker</field3>
      </Detail>
    I thimk my configuration is correct as it is working correctly with the variable name change, However, maybe i missed something !

  • Build error on using  environment variable for  CS5 on Mac

    I have created a sample project using dollyx on Mac for CS5 . I have used an environment variable and defined it in Source tree of XCode preferences.
    I am using snow leapard  and my XCode version is 3.2.2 .
    I have defined variable as IDSDK7  for /idsdk7 (which is my SDK directory). I am creating project outside SDK . While creating project with DollyX  , I am giving  SDK's path as $(IDSDK7) which is absolute path and not relative with respect to the project .
    I am getting many build errors  -----
    /idsdk7/external/afl/includes/AErrors.h:31:0 /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    /idsdk7/source/public/includes/K2Debugging.h:53:0 /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    /idsdk7/source/public/includes/PMString.h:34:0 /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211:0 /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:120:0 /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196:0 /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/WideString.h:322:0 /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751:0 /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/IDFile.h:385:0 /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779:0 /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/InterfacePtr.h:506:0 /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/K2Vector.h:241:0 /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382:0 /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618:0 /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /CS5Test/Prj/../Source/CTActionComponent.cpp:0:0 /CS5Test/Prj/../Source/CTActionComponent.cpp: At global scope:
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than the type of its field 'CTActionComponent::<anonymous>'
    /CS5Test/Prj/../Source/CTActionComponent.cpp:43:0 /CS5Test/Prj/../Source/CTActionComponent.cpp:43: warning: 'CTActionComponent' declared with greater visibility than its base 'CActionComponent'
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o ../Source/CTNoStrip.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTNoStrip.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTNoStrip.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o ../Source/CTID.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj/../Source/CTID.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/CTID.o
    In file included from /idsdk7/external/afl/includes/AFile.h:30,
                     from /idsdk7/source/public/includes/IDFile.h:34,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/external/afl/includes/AErrors.h:31:19: error: Files.h: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:28,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Debugging.h:53:3: error: #error DEBUG and NDEBUG are out of sync!
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:35:26: error: adobe/move.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:34:30: error: adobe/typeinfo.hpp: No such file or directory
    In file included from /idsdk7/source/public/includes/PMString.h:31,
                     from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/UnicodeSavvyString.h:211: error: expected `)' before '<' token
    In file included from /idsdk7/source/public/includes/IDFile.h:36,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/PMString.h:120: error: expected `)' before '<' token
    /idsdk7/source/public/includes/PMString.h:1196: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/IDFile.h:37,
                     from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/WideString.h:322: error: expected `)' before '<' token
    /idsdk7/source/public/includes/WideString.h:751: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/interfaces/architecture/IDataBase.h:37,
                     from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/IDFile.h:385: error: expected constructor, destructor, or type conversion before '(' token
    cc1plus: warnings being treated as errors
    In file included from /idsdk7/source/public/includes/InterfacePtr.h:76,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::mainFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:488: warning: 'IDataBase::<anonymous struct>' declared with greater visibility than the type of its field 'IDataBase::<anonymous struct>::miniSaveFile'
    /idsdk7/source/public/interfaces/architecture/IDataBase.h:779: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:48,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/InterfacePtr.h:506: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/precomp/common/ShukHeaders.cp:51,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/K2Vector.h:241: error: expected constructor, destructor, or type conversion before '(' token
    In file included from /idsdk7/source/public/includes/SystemUtils.h:33,
                     from /idsdk7/source/public/includes/PMPoint.h:29,
                     from /idsdk7/source/public/includes/PMMatrix.h:33,
                     from /idsdk7/source/precomp/common/ShukHeaders.cp:53,
                     from /idsdk7/source/precomp/gcc/PluginPrefix.pch:30,
                     from <command-line>:0:
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void InvertSysRgn(OpaqueGrafPtr*, const __HIShape*)':
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h:382: warning: 'InvertRgn' is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/ QuickdrawAPI.h:1831)
    /idsdk7/source/public/includes/MSystemUtils.h: In function 'void SystemBeep()':
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    /idsdk7/source/public/includes/MSystemUtils.h:618: warning: 'SysBeep' is deprecated (declared at /System/Library/Frameworks/Carbon.framework/Frameworks/CarbonSound.framework/Headers/Soun d.h:1383)
    CompileC build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypoint.o /idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp normal i386 c++ com.apple.compilers.gcc.4_2
    cd /CS5Test/Prj
    setenv LANG en_US.US-ASCII
    /Developer/usr/bin/gcc-4.2 -x c++ -arch i386 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -Os -Werror -DMACINTOSH -DMACOSX_SDKVERSION= -fvisibility-inlines-hidden -gdwarf-2 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/CS5Test.hmap -F/CS5Test/Prj/../debug/sdk -F/idsdk7/build/mac/debug/packagefolder/contents/macos -F/idsdk7/build/mac/debug/packagefolder/contents/Frameworks -I/CS5Test/Prj/../debug/sdk/include -I/idsdk7/external/afl/includes -I/idsdk7/source/precomp/msvc -I/idsdk7/source/public/interfaces/xmedia -I/idsdk7/source/public/interfaces/preflight -I/idsdk7/source/public/interfaces/ui -I/idsdk7/source/public/interfaces/tables -I/idsdk7/source/public/interfaces/text -I/idsdk7/source/public/interfaces/graphics -I/idsdk7/source/public/libs/widgetbin/includes -I/idsdk7/source/public/interfaces/workgroup -I/idsdk7/source/public/interfaces/interactive -I/idsdk7/source/public/interfaces/interactive/ui -I/idsdk7/source/public/interfaces/colormgmt -I/idsdk7/source/public/interfaces/utils -I/idsdk7/source/public/interfaces/incopy -I/idsdk7/source/public/interfaces/layout -I/idsdk7/source/public/interfaces/architecture -I/idsdk7/source/public/interfaces/cjk -I/idsdk7/source/precomp/common -I/idsdk7/source/public/includes -I/idsdk7/source/public/libs/publiclib/plugins -I/idsdk7/source/public/libs/publiclib/files -I/idsdk7/source/public/libs/publiclib/objectmodel -I/idsdk7/external/asl/boost_libraries -I/idsdk7/source/sdksamples/common -I/idsdk7/external/afl/includes -I../Source -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources/i386 -I/CS5Test/Prj/build/CS5Test.build/Default/Debug.build/DerivedSources -include /idsdk7/source/precomp/gcc/PluginPrefix.pch -c /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp -o /CS5Test/Prj/build/CS5Test.build/Default/Debug.build/Objects-normal/i386/SDKPlugInEntrypo int.o
    i686-apple-darwin10-gcc-4.2.1: /CS5Test/Prj//idsdk7/source/sdksamples/common/SDKPlugInEntrypoint.cpp: No such file or directory
    i686-apple-darwin10-gcc-4.2.1: warning: '-x c++' after last input file has no effect
    i686-apple-darwin10-gcc-4.2.1: no input files
    Command /Developer/usr/bin/gcc-4.2 failed with exit code 1
    Without using environment variable everything works fine . (i.e when I give SDK's dir path like ../../  i.e relative to my project)

    There is workaround : http://stackoverflow.com/questions/12629395/weblogic-using-environment-variable-double-quotes-in-arguments-in-server
    Just posting here for reference. Let's see if we get a different answer from anyone else.

  • Using a variable in Spry conditional tests included in a Spry Tooltip

    I have the following code:
    <div spry:region="company" id="tooltip">
    <div spry:repeat="company" spry:choose="spry:choose">
    <div spry:when="'{name}'==memberName">
    <table>
    <tr>
    <td
    align="center"><h2>{name}</h2></td>
    </tr>
    <tr>
    <td align="center"><img src="{headshot}"
    alt="{name}" width="227" height="350" /></td>
    </tr>
    <tr>
    <td align="center">{description}</td>
    </tr>
    </table>
    </div>
    </div>
    </div>
    <script type="text/javascript">
    var tooltip_trigger_one = new
    Spry.Widget.Tooltip("tooltip","#trigger", {showDelay: 200,
    hideDelay: 200, offsetX: 250, offsetY: 200} );
    </script>
    where the variable "memberName" is set elsewhere to a value
    that matches one of the occurrences in the column "name" in the
    dataset "company". I can see, using debugging tools, that the
    variable is being set correctly. But.... when the tooltip is
    triggered, only a small few-pixel square box opens up.
    If, instead of using the variable "memberName" in:
    <div spry:when="'{name}'==memberName">
    I use a string, as in
    <div spry:when="'{name}'=='John Doe'">
    then the code works correctly and I get a large tootlip
    showing me the correct information for that member of the company.
    I have tried different tests (spry:if and spry:test for
    instance), tried various combinations of quotes and parenthesis and
    tried placing the code at various places both inside and outside of
    the <body> -- but always get the same results.
    Is it not possible to test against a variable or am I doing
    something else incorrectly?
    Thanks,
    Janet

    OK.... some progress to report.
    I was setting memberName onmouseover-- which is also the
    trigger for the tooltip-- thusly:
    <p><em onmouseover="memberName='John Doe'"
    id="trigger">John Doe</em></p>
    It seems that the variable is being set, but too late, as the
    trigger has already caused the div... id="tooltip"> to be
    evaluated with "memberName" not equal to any of the names in the
    dataset. I tried using a function call to set "memberName" and
    tried putting the onmouseover in the <p> tag and leaving the
    trigger id in the <em> tag. but neither of those appear to
    change the outcome. "memberName" still appears to be set to the
    value I initialized it to up the the <head> section at the
    time the tooltip <div> is evaluated. Although it is set
    correctly if I check it's value using Firebug after I have
    mouse-overed it.
    Incidentally, using a Firebug breakpoint just before the
    <div spry:when...> and checking the value of memberName was
    how I discovered that "memberName" still seemed to have a value of
    "initialized" which is what I set it to up in the <head>
    section.
    Having written all of this, I am wondering though, shouldn't
    the value of "memberName" be equal to "John Doe" the second time I
    mouseover it? Or, if there are more than one trigger "names" on the
    page, shouldn't "memberName" be equal to the name of the previous
    trigger that I moused-over? And with memberName having a legitimate
    value at that point, shouldn't the tooltip now show the correct
    display information rather than just that little few pixel square
    box that I am getting when I mouse-over the trigger name?
    Clearly there is something that I just am not understanding.
    Janet

  • How to use a presentation variable in filter conditions

    Hi,
    I have set a presentation variable "day" on my dashboard prompt containing a date column. I now need to use this presentation variable in the filter clause to restrict the dates between "day" and sysdate.
    So i apply the following SQL filter:
    where day between '{@variables.day}' and current_date
    But I end up in getting the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1861, message: ORA-01861: literal does not match format string at OCI call OCIStmtExecute. [nQSError: 17011] SQL statement execution failed. (HY000)
    I even tried casting the presentation variable to date, but to no avail. Can someone let me know how to specify the date format for the presentation variable.

    If you're a member of ODTUG (or even if not, you can sign up for an associate membership for free) you can download Glenn's presentation from 2009 Kaliedoscope "Little Used Features of Essbase (Like Data Mining and Triggers)" -- there is a section in that presentation on substitution variables -- he does a really good job in showing how this works.
    Go to: www.odtug.com, then Tech Resources, then Essbase/Hyperion, and search for Schwartzberg. Currently it's the ninth presentation on the list -- I think this changes based on popularity of downloads.
    Regards,
    Cameron Lackpour

  • Using Prsentation variable as filter error"None of the fact source are comp

    Hi
    I am capturing two date presentation variables SDATE and EDATE using calendar picker and i have a field for expected date which should be between the dates captured so the column formulas here are like
    "CASE WHEN CASE WHEN '@{SDATE}' IS NULL THEN CURRENT_DATE ELSE CAST('date'||' '|| CHAR(39)||RIGHT('@{SDATE}',4)||'-'||LEFT('@{SDATE}',LOCATE('/','@{SDATE}')-1)||'-'||SUBSTRING('@{SDATE}'FROM LOCATE('/','@{SDATE}')+1 FOR LOCATE('/','@{SDATE}',LOCATE('/','@{SDATE}')+1)-LOCATE('/','@{SDATE}')-1 )||CHAR(39) AS DATE) END<CAST("- Opportunity Custom Attributes".DATE_25 AS DATE) THEN 1 ELSE 0 END"
    "CASE WHEN CASE WHEN '@{EDATE}' IS NULL THEN CURRENT_DATE ELSE
    CAST('date'||' '|| CHAR(39)||RIGHT('@{EDATE}',4)||'-'||LEFT('@{EDATE}',LOCATE('/','@{EDATE}')-1)||'-'||SUBSTRING('@{EDATE}'FROM LOCATE('/','@{EDATE}')+1 FOR LOCATE('/','@{EDATE}',LOCATE('/','@{EDATE}')+1)-LOCATE('/','@{EDATE}')-1 )||CHAR(39) AS DATE) END >=CAST("- Opportunity Custom Attributes".DATE_25 AS DATE) THEN 1 ELSE 0 END"
    I am able to see the value 1 or 0 as per the formulas but now if i apply filter on these above columns say =1 or = 0 then as soon as i run dashboard it throws error as
    "ORA-01841: (full) year must be between -4713 and +9999, and not be 0 at OCI call OCIStmtExecute" as in when there is no value for presentation variable.
    If i pass some value in prompt then reports works fine.
    Any thoughts will be really helpful.

    Just add a default value into the prompt.
    If the default is really complicated then you might have to use SQL to get the default value you want. It's tricky but here's an example of one I've used that defaults the first day of the year:
    SELECT date from "Lead Analysis" where date = TIMESTAMPADD(SQL_TSI_MONTH,-MONTH(current_date)+1,TIMESTAMPADD(SQL_TSI_DAY,-DAY(current_date)+1,current_date))

  • Teradata database error when using a Universe-defined Date condition

    I have encountered an odd problem when connecting Crystal to a Universe.  There is a pre-defined Date condition built into the Universe that is defined as follows:
    @Select(Date\Week End Date)  >  @Select(Conditions\User Response Select Date week -28)  AND @Select(Date\Week End Date)  <=  @Select(Conditions\User Response Select Date)
    The filter is designed to retrieve a rolling 4 weeks of data.
    When I try and create and refresh a Crystal Report that includes this Date prompt, I get the following error:
    Failed to retrieve data from the database.
    Details: 22003:(ODBC Teradata Driver)(Teradata Database) A character string failed conversion to a numeric value.
    If I create the same query in a WebI report it works fine, but in Crystal the error is produced.  I have also tried constructing the same prompt and filter within Crystal rather than use the pre-built prompt but that did not work either.
    Does anyone have any experience or advice on this error?  I can't seem to find many related postings on this specific error.
    BO Enterprise XI 3.1 SP2 running on Windows 2008 Server R2
    Crystal Reports 2008 SP2 running on Windows XP SP3
    Universe is built on a Teradata 12 source
    Thanks!

    One item I found I had to do with Teradata was cast my date/time values to dates, otherwise I got weird errors like this. You say it's working in Web Intelligence, so this might not be the issue, but it is an easy thing to test.
    In the universe, change your end date definition to
    cast(table.end_date as date)
    and see if that helps.

  • Error in using a variable

    Hi All,
    I have got 2 packages, A & B. Package A includes package B and some variables.
    My question out here is that i am using assigning some values to variables in the package B, i want those values to be reflected and be usable in the package A.
    Can you please help.
    Thanks,
    Nithesh B

    Hi Nitesh,
    Please try the below steps and let me know still you face issue on this :-)
    You can ping me on [email protected]
    Steps :-
    Ist create a Gobal variable say GLOBTest (historise , to veiw the result)
    create a local variable say LocTest (historise , to veiw the result)
    Now in first pcakage say PKG1
    step 1 : drag and drop the GLOBTest Variable and select the mode as declare variable
    step 2: call the second package scenario (say PKG2)
    step 3: drag and drop the variable LocTest as assign variable :- and in assign tab put #Global.GLOBTest
    Now in pcakge 2 (PKG2)
    Drag and drop the global variable GLOBTest as assign mode and put the value as "This is a test case"
    generate the scenarios and start the package 1 (PKG1)
    once its executed without error , open the LocTest and check the historise tab , you can see the value of the global variable whcich you assigned from the child package.
    Regards,
    Rathish A M

  • FormulaCalc error when using variablesin variable files?

    I defined two variables RForce_ and IntLength_' in variables files:
    as following:
    IntLength_ : I <1700>
    RForce_ : R <1.4314>
    in vbs file,I have following:
    Call FormulaCalc("Ch('PSA_Kraft') := ('RForce_'-'RForce_'/'IntLength_'*'Gurtweg')")
    When I run the vbs file,diadem reports following error:
    The formula
    Ch('PSA_Kraft') := ('RForce_'-'RForce_'/'IntLength_'*'Gurtweg')
    contains an invalid mathematical operation .. ('RForce_'>-<'RForce_'/'IntLength_'*'G.. with text!
    When I don't use variables, as following:
    Call FormulaCalc("Ch('PSA_Kraft') := (1.4314-0.000842*'Gurtweg')")
    my vbs file can run correctly.
    Anything wrong with my code?

    Hi Junwei You,
    Yes, there is a problem with the formula calculator expression.  You need to use the ' character only when you are referencing existing data channels, not for VAS file variables.  Also, I strongly recommend that you always use the full Ch('ChannelName') construct when you reference an existing data channel.  Try this instead:
    Call FormulaCalc("Ch('PSA_Kraft') := RForce_ - RForce_/IntLength_*Ch('Gurtweg')")  Note that you may need to insert further parentheses to specify the exact order of the / and * operators.
    Regards,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

Maybe you are looking for