ASO Procedural - Crossjoin Error or bug?

Hi,
This is based of BasicASO sample app by the way. I have a ASO Procedural calc working. However one thing I can't figure out if it's a bug or if it's normal behavior or most likely my syntax is wrong :) Here's my POV that works.
POV "
Crossjoin({[Jan]},
Crossjoin ( Descendants ([Product],[Product].Levels(0)),
Crossjoin ( Descendants ([Market],[Market].Levels(0)),
Crossjoin ( {[Sales],[Cost_of_Goods_Sold],[Marketing],[Payroll],[Miscellaneous],[AC_19950]},
{[Bud Var]}
What's weird is the first 5 accounts: Sales, Cost_of_Goods_Sold, Marketing, Payroll and Miscellaneous are all level zero members of 'Profit' in Accounts. None of them contain member formulas either. AC_19950 is an account I added as a sibling of 'Profit'. When I change the POV to below and run it (I can't figure out how to tie in AC_19950 to that yet, but still should run), I get the error below. Problem is Profit_% is not a level zero member of Profit, thus shouldn't it be skipping that anyways? Or is there a 'better' way to CrossJoin the level zero members of Profit? I want to avoid using UDA's as when I do this for real I need to do zero level members of Balance_Sheet, for instance.
ERROR - 1300049 - The argument [POV] cannot contain dynamic members, for example [Profit_%].
POV "
Crossjoin({[Jan]},
Crossjoin ( Descendants ([Product],[Product].Levels(0)),
Crossjoin ( Descendants ([Market],[Market].Levels(0)),
Crossjoin ( Descendants ([Accounts],[Profit].Levels(0)),
{[Bud Var]}
))))"

I think that is how it works.
http://docs.oracle.com/cd/E40248_01/epm.1112/essbase_tech_ref/maxl_excalc_as.html
>
Notes
The clauses following the with keyword can be entered in any order, each separated by white space.
Each clause can only be entered once.
The script_file, pov, and sourceregion clauses are mandatory; the others are optional.
You can specify only stored, level-0 members on the left side of the assignment statement in the custom calculation script; do not use upper-level members, attribute members, or dynamic calc members.
You can specify only stored, level-0 members in the following clauses: DebitMember, CreditMember, Target, and Offset.

Similar Messages

  • Is this possible in ASO Procedural MaxL or am I crazy to try?   11.1.2.2

    Hi,
    Just want to know if any of you experts think this is possible in ASO Procedural calcs? I have been trying for days and can't get it to work, however my syntax in code might be wrong. Appreciate all advice.
    IIF ( IS ( [Scenario].CurrentMember, [Actual] ) AND IS ( [Product].CurrentMember, [No_Product] ) AND IsUDA ( [Entity].CurrentMember, "Corporate" ) ,
    ( [EXPENSES] - ( [TOTAL ORIGINATION INCOME] * -1) + [45500] + [46000] - [TOTAL INTEREST EXPENSE] - [53635] - [53636] - [54005] -
    [54006] - [54007] - [54030] - [54060] ) / ( [Funded Units] , [CORPORATE COST CENTERS] , [Actual] ) ,
    IIF ( IS ( [Scenario].CurrentMember, [Actual] ) AND IS ( [Product].CurrentMember, [No_Product] ) AND IsUDA ( [Entity].CurrentMember, "CC9990Alloc" ) ,
    ( [EXPENSES] - ( [TOTAL ORIGINATION INCOME] * -1) + [45500] + [46000] - [TOTAL INTEREST EXPENSE] - [53635] - [53636] - [54005] -
    [54006] - [54007] - [54030] - [54060] - [51120] - [51135] - [51136] - [51137] - [51139] ) / ( [Funded Units] , [CORPORATE COST CENTERS] , [Actual] ) ,
    IIF ( IS ( [Scenario].CurrentMember, [Actual] ) AND IS ( [Product].CurrentMember, [No_Product] ) AND IsUDA ( [Entity].CurrentMember, "CC9999Alloc" ) ,
    ( ( (/* 41401 + 126260 +*/ [EXPENSES] - [TOTAL INTEREST EXPENSE] - [53635] - [53636] - [54005] - [54006] - [54007] - [54030] - [54060] - [54091] - [51150] - [51160] - [51170] - [51180] ) +
    ( ( [51150] + [51160] + [51170] + [51180] ) * .2 ) ) / ( [Funded Units] , [CORPORATE COST CENTERS] , [Actual] ) ) ,
    IIF ( IS ( [Scenario].CurrentMember, [Actual] ) AND IS ( [Product].CurrentMember, [No_Product] ) AND IsUDA ( [Entity].CurrentMember, "CC9014Alloc" ) ,
    ( [EXPENSES] - ( [TOTAL ORIGINATION INCOME] * -1) + [45500] + [46000] - [TOTAL INTEREST EXPENSE] - [53635] - [53636] - [54005] -
    [54006] - [54007] - [54030] - [54060] - [54080] ) / ( [Funded Units] , [CORPORATE COST CENTERS] , [Actual] ) ,
    IIF ( IS ( [Scenario].CurrentMember, [Actual] ) AND IS ( [Product].CurrentMember, [No_Product] ) AND IsUDA ( [Entity].CurrentMember, "CC9999Alloc2" ) ,
    ( ( ( [51150] , [9999] ) + ( [51160] , [9999] ) + ( [51170] , [9999] ) + ( [51180] , [9999] ) ) * .8 ) / ( [Funded Units] , [CORPORATE COST CENTERS] , [Actual] ) ,
    Missing ) ) ) ) )

    I tried this on the Demo Basic ASO application that I named 'z_aso' and same error. I moved the only upper level member to right side of equation here and it doesn't work. Maybe I misunderstood your post that upper level members are ok on right side of equation?
    ([Bud Var],[Jan],[Profit],[Stereo])
    := ([Actual],[Jan],[Stereo])
    / ([Budget],[Jan],[Profit],[Stereo]) ;
    D:\scripts\z_aso>essmsh BudVar.mxl >BudVar.log
    ERROR - 1300033 - Upper-level members, for example [Profit], are not allowed in argument [Script]. Select a level-0 member.
    ERROR - 1241190 - Custom Calculation terminated with Essbase error 1300033 in SCRIPT.

  • ASO procedural calc documentation?

    I finally have a good use case for an ASO procedural calc and I'm running into issues. Not seeing anything about it in the DBAG or TechRef for 11.1.2 - does anyone know where (or whether) ASO procedural calcs are documented?
    Thanks,
    Jon

    Tech Ref - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/maxl_excalc_as.html
    DBAG - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_dbag/aso_custcalc_alloc.html
    There were two or three presentations on the subject at Kaleidoscope 2011, which I think will become available on ODTUG.com at some point. Not sure if it's there yet.

  • Error: Internal/Bug( #609) Automation server can't create  object

    Hi Friends,
    I am new to Oracle BPEL.
    I am getting the following error message when I click Flow,Audit and Debug tabs after deploying the process.
    Error: Internal/Bug( #609) Automation server can't create object
    Had anybody faced this problem and resolved it?

    IIRC this can be down to browser security setting. You may find you needs to turn some security options on (or at least set to 'prompt' under tools- > internet settings -> secuirty - > custom level... etc

  • Endless "Stream Overlap" Error Loop Bug Crashes Encore

    Endless "Stream Overlap" Error Loop Bug Crashes Encore.
    This is the 4 th time I have reproduced the bug.
    I burn a Disk image .. and upon completion the "Disk Info" resets to zero bytes under the Build Menu and when checking the Timelines Window the Dialog Box pops up with the "Stream Overlap" Error.
    Has anyone else had this issue?
    I have read other forum post .. and there is nothing relevant.
    I had to rebuild the project twice from scratch.
    I'm waiting for my Master Collection 5.5 .. maybe it is fixed in it.

    NOTE: There is a issue with Premiere Pro Dynamically Linking with After Effects with file corrupting I am experiencing as well.
    Someone offered a solution to rename my files to just words. ( No numbers or other characters )
    It still crashes .. and there is still file corruption ... but a "Linked Composition" can be found by "Edit Original" .. whereas it was not found before I changed the filename.
    This is a beginning to find the source of the nested bugs.
    I am wondering if this filesystem problem is core to the "Stream Overlap" problem noted here.
    I have have not reached tech support on the Encore side of this problems as of yet.
    This type of file system also has a terrible result for dated files:
    On the Mac ( Standard Finder ) :
    2011.1.1
    2011.1.2
    2011.1.9
    2011.1.10
    2011.1.11
    is treated in Adobe Encore as well as other Adobe Suite Master Collection Apps ( On the Mac Platform ) as:
    2011.1.1
    2011.1.10
    2011.1.11
    2011.1.2
    2011.1.9
    This make NO logical sense at all .. and must be some old DOS filesystem?
    Timecode
    Datestamp
    Numbered Outlines
    Are all very important ways to organize files / video.
    I am surprised that Adobe did not address this years ago.
    I have had two Adobe users mention a file system problem that has been known.
    Maybe it is the cause of my issues? ... Adobe is mixing two incompatible filesystems on a root level on the Mac platform only. ( Doesn't work with the Mac Finder? )

  • [svn:fx-trunk] 12294: * Fix for error reporting bug.

    Revision: 12294
    Revision: 12294
    Author:   [email protected]
    Date:     2009-11-30 13:25:28 -0800 (Mon, 30 Nov 2009)
    Log Message:
    Fix for error reporting bug.  The bug was caused by a warning being
      reported during one compilation and then an error being reported in
      a following compilation.  Due to the warning, the Source's logger
      was disconnected instead of being nulled out during the first
      compilation.  Then in the second compilation, we weren't reassigning
      the logger, so the disconnected logger was being left in place.  As
      a result, it was throwing off expected error counts and caused an
      assert to fire.
    QE notes: There is probably an easier way to reproduce the assertion
              that George hit without having to create multiple projects
              and without having to manually copy SWC's around.  I didn't
              realize this until I had a fix, though.  One key aspect that
              George didn't note and might not have realized, is that the
              variable needs to cause a warning, so leaving off a
              namespace works, but making it public, private, etc doesn't.
    Doc notes:
    Bugs: SDK-24314
    Reviewer: Corey
    Tests run: checkintests
    Is noteworthy for integration: fixes FB issue
    Code-level description of changes:
      Modified setLogger() to always reassign logger.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-24314
    Modified Paths:
        flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/Source.java

  • ASO Allocation Maxl error

    Syntax error in input mdx query on line 1 token ","
    Allocation terminated with essbase error 1260052 in POV
    execute allocation process on database ASOALLOC.ALLOCAT with
    pov "crossjoin([Year].[FY10],
    crossjoin([period].[Jan],
    crossjoin([account].[a111],
    ([Entity],[Entity].levels(0)))))"
    amount "([account].[a111]"
    target      ""
    range "{[Entity].[e222]}"
    spread;
    Edited by: mb021059 on Oct 13, 2010 5:13 AM
    Edited by: mb021059 on Oct 13, 2010 6:53 AM
    Edited by: mb021059 on Oct 13, 2010 7:00 AM

    I really don't understand what you are trying to do (may be because you are in 11 version{allocation in ASO cube sounds kool).
    but I can tell you the syntax error you are getting at first line.
    change it to:
    "crossjoin([Year].[FY10],crossjoin([period].[Jan],crossjoin([account].[a111],[Entity].levels(0))))"
    Thanks,
    Jeeth
    Edited by: Jithendra on Oct 14, 2010 5:20 PM

  • ASO Custom Calc -Error-1241109 :Unable to open file

    Hi,
    I am trying to implement ASO custom Calc in version 11.1.2.1 ,using following Version DataCopy script in Maxl Editor
    In POV i have included 1 set of base level member from each dimension just for testing purpose.
    TestScript.csc Content : [Final] := [Working_0] ;
    execute calculation on database 'EFXBASE'.'EFXBASE' with
    local script_file "/Oracle/Middleware/user_projects/achd1rka001/EssbaseServer/essbaseserver1/app/EFXBASE/EFXBASE/TestScript.csc"
    POV
    "Crossjoin({[FXEXP]},Crossjoin({[Jan]},Crossjoin({[FY06]},Crossjoin({[CH_None]},Crossjoin({[PJ_None]},Crossjoin({[PD_None]},Crossjoin({[CC_0300]},
    Crossjoin({[0004]},Crossjoin({[CurrFcst]},Crossjoin({[Local]},Crossjoin({[ICP_None]},{[LSTB]})))))))))))"
    SourceRegion
    "[Working_0]" ;
    I am getting following error on execution of above script
    Unable to open file ['/Oracle/Middleware/user_projects/achd1rka001/EssbaseServer/essbaseserver1/app/EFXBASE/EFXBASE/TestScript.csc']
    Custom Calculation terminated with Essbase error 1241109
    what could be the reason .. I have tried using '//' or '\' in file path but still getting same error.

    Can you post your script. (change " to ' in POV and SourceRegion section)
    Regards
    Celvin
    http://www.orahyplabs.com
    *Please mark the responses as helpful/correct if applicable*

  • Illegal restricted procedure Synchronize - error in webforms

    Hi All,
    When trying to open a webform (Oracle 9i/10g) with a field having synchronize built-in in the when-validate-item trigger, I am getting an error "Frm-40737:Illegal restricted procedure SYNCHRONIZE in WHEN-VALIDATE-ITEM trigger".
    Is Synchronize restricted procedure in webform (Oracle manual shows as unrestricted procedure)?
    This happens in some other forms while committing, but transaction is saved.
    Your suggestions on this will be highly appreciated.
    Gopalakrishnan.

    We had the same issue after converting from 6i to 10g. Sometimes 10g is blocking a SYNCHRONIZE in a WHEN-VALIDATE-ITEM as restricted. Forms 10g is wrong as SYNCHRONIZE is not (and has never been) a restricted built-in.
    I could never make it into a simple reproducable testcase to show to Oracle. In our case we could safely remove the SYNCHRONIZE built-ins from the code. Most of the times they were added in the past to workaround bugs in Forms 4.5 or 5.x.
    On MetaLink you can find a couple of bugs in Oracle Applications running into the same issue and they were also resolved by removing the call to SYNCHRONIZE. I also find bug 1577072 (open since 2001)
    If you need further assistance you'll probably have to log an iTAR at http://metalink.oracle.com

  • PL/SQL Procedure Compilation error

    Hi,
    <br><br>
    I have wrote a PL/SQL Stored Procedure to read a couple of table values and then output some data to a file, when I create the procedure on the database I get the following compilation error:
    <br><br>
    LINE/COL ERROR<br>
    -------- -----------------------------------------------------------------<br>
    25/7 PLS-00103: Encountered the symbol ")" when expecting one of the<br>
    following:<br>
    ( - + case mod new null <an identifier><br>
    <a double-quoted delimited-identifier> <a bind variable> avg<br>
    count current max min prior sql stddev sum variance execute<br>
    forall merge time timestamp interval date<br>
    <a string literal with character set specification>
    <a number> <a single-quoted SQL string> pipe<br>
    The symbol "null" was substituted for ")" to continue.<br>
    <br>
    The script is below: <br><br>
    CREATE OR REPLACE <br>
         PROCEDURE TDF_EXTRACT AS<br>
    v_file UTL_FILE.FILE_TYPE;<br>
    YEAR number(4);<br>
    Q1_VALUE NUMBER(7);<br><br>
    BEGIN<br><br>
    SELECT PERSON_VALUE<br>
    INTO     Q1_VALUE<br>
    FROM PERSON<br>
    WHERE ID = 79;<br><br>
    SELECT EXTRACT(YEAR FROM SYSDATE)<br>
    INTO YEAR <br>
    FROM DUAL;<br><br>
    v_file := UTL_FILE.FOPEN(location => '/tmp',<br>
    filename => 'extratced_values.txt',<br>
    open_mode => 'W',<br>
    max_linesize => 32767);<br><br>
    UTL_FILE.PUT_LINE(v_file,<br>
    'Q1'     ||     YEAR     ||     '23'     ||     Q1_VALUE || '\r\n' ||<br>
              );<br><br>
    UTL_FILE.FCLOSE(v_file);<br><br>
    END TDF_EXTRACT;

    'Q1' || YEAR || '23' || Q1_VALUE || '\r\n' ||
    );Syntax error during concatenation, maybe?
    C.
    Message was edited by:
    cd

  • PL/SQL Procedure Complilation Error

    Can any one advise on the following PL/SQL Compilation errors I am receiving:<br><br>
    LINE/COL ERROR<br>
    -------- -----------------------------------------------------------------<br>
    22/1 PL/SQL: SQL Statement ignored<br>
    24/51 PL/SQL: ORA-00942: table or view does not exist<br>
    32/1 PL/SQL: SQL Statement ignored<br>
    34/30 PL/SQL: ORA-00942: table or view does not exist<br>
    40/1 PL/SQL: SQL Statement ignored<br>
    42/6 PL/SQL: ORA-00942: table or view does not exist<br><br>
    I know the tables exists and if I run the SELECT statements through SQLPLUS (without the INTO statements) they return the values as expected.<br><br>
    Procedure as below:<br><br>
    SQL> CREATE OR REPLACE PROCEDURE BS_TDF_EXTRACT AS<br>
    2 <br>
    3 v_file UTL_FILE.FILE_TYPE;<br>
    4 <br>
    5 EXTRACT_YEAR number;<br>
    6 <br>
    7 --Indicator 23 autogeneration<br>
    8 Q1_VALUE_23 number;<br>
    9 Q1_VALUE_23_PASSED_TOTAL number;<br>
    10 Q1_VALUE_23_FAILED_TOTAL number;<br>
    11 Q1_VALUE_23_TOTAL_JOBS number;<br>
    12 <br>
    13 <br>
    14 BEGIN<br>
    15 <br>
    16 --Initialise current Extract Year<br>
    17 SELECT EXTRACT(YEAR FROM SYSDATE) <br>
    18 INTO EXTRACT_YEAR<br>
    19 FROM DUAL;<br>
    20 <br>
    21 --Initialise PASSED TOTAL<br>
    22 SELECT COUNT(*) <br>
    23 INTO Q1_VALUE_23_PASSED_TOTAL<br>
    24 FROM REP_POSTINSP_OUT_GU A1, REP_JOB_INVOICED A2, REP_JOB_INDICATORS A3<br>
    25 WHERE UPPER(A1.POSTINSP_SUCC_IND) = 'P' <br>
    26 AND A1.JOB_NUMBER = A2.JOB_NUMBER<br>
    27 AND A2.JOB_NUMBER = A3.JOB_NUMBER<br>
    28 AND A2.COMPLETION_DATE BETWEEN TO_DATE('01-APR-2006') AND TO_DATE('30-JUN-2006') <br>
    29 AND A3.POST_INSPECTION_NOT_DONE IS NULL;<br>
    30 <br>
    31 --Initialise FAILED TOTAL<br>
    32 SELECT COUNT(*) <br>
    33 INTO Q1_VALUE_23_FAILED_TOTAL<br>
    34 FROM REP_POSTINSP_OUT_GU A1, REP_JOB_INVOICED A2<br>
    35 WHERE UPPER(A1.POSTINSP_SUCC_IND) = 'F' <br>
    36 AND A1.JOB_NUMBER = A2.JOB_NUMBER <br>
    37 AND A2.COMPLETION_DATE BETWEEN TO_DATE('01-APR-2006') AND TO_DATE('30-JUN-2006');<br>
    38 <br>
    39 --Initialise TOTAL JOBS<br>
    40 SELECT COUNT(DISTINCT JOB_NUMBER)<br>
    41 INTO Q1_VALUE_23_TOTAL_JOBS<br>
    42 FROM REP_JOB_INVOICED;<br>
    43 <br>
    44 --Initialise Indicator Value<br>
    45 Q1_VALUE_23:= (Q1_VALUE_23_PASSED_TOTAL + Q1_VALUE_23_FAILED_TOTAL)/Q1_VALUE_23_TOTAL_JOBS;<br>
    46 <br>
    47 v_file := UTL_FILE.FOPEN(location => '/tmp',<br>
    48 filename => 'bs_imported_values.txt',<br>
    49 open_mode => 'W',<br>
    50 max_linesize => 32767);<br>
    51 <br>
    52 UTL_FILE.PUT_LINE(v_file, 'Q1' || EXTRACT_YEAR || '23' || Q1_VALUE_23 || '\r\n');<br>
    53 <br>
    54 UTL_FILE.FCLOSE(v_file);<br>
    55 <br>
    56 END BS_TDF_EXTRACT;<br>
    57 /<br><br>
    Warning: Procedure created with compilation errors.<br><br>
    SQL> show errors;<br>
    Errors for PROCEDURE BS_TDF_EXTRACT:<br><br>
    LINE/COL ERROR<br>
    <br>22/1 PL/SQL: SQL Statement ignored<br>
    24/51 PL/SQL: ORA-00942: table or view does not exist<br>
    32/1 PL/SQL: SQL Statement ignored<br>
    34/30 PL/SQL: ORA-00942: table or view does not exist<br>
    40/1 PL/SQL: SQL Statement ignored<br>
    42/6 PL/SQL: ORA-00942: table or view does not exist<br>

    go to sql prompt and look for desc of these and if they are not available get permissions,DB link what ever may be required to access it can be the only possibility REP_POSTINSP_OUT_GU A1, REP_JOB_INVOICED A2, REP_JOB_INDICATORS A3

  • UTL_file Procedure- some error on invalid directory path

    Hi,
    I Created a file procedure...but while executing a procedure its showing directory Error....
    Find the solution and post it...
    Heading 2: h2. ERROR -29280ORA-29280: invalid directory path
    create or replace
    PROCEDURE HELLOFLE IS
    v_MyFileHandle UTL_FILE.FILE_TYPE;
    BEGIN
    v_MyFileHandle := UTL_FILE.FOPEN('C:\','HELLO.TXT','a');
    UTL_FILE.PUT_LINE(v_MyFileHandle,'Hello World! ' || TO_CHAR(SYSDATE,'MM-DD-YY HH:MI:SS AM'));
    UTL_FILE.FCLOSE(v_MyFileHandle);
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERROR ' || TO_CHAR(SQLCODE) || SQLERRM);
    NULL;
    END;

    This is the spec of fopen:
    UTL_FILE.FOPEN (
       location     IN VARCHAR2,
       filename     IN VARCHAR2,
       open_mode    IN VARCHAR2,
       max_linesize IN BINARY_INTEGER)
      RETURN file_type;
    Location is not "c:\" but a directory object name. See the pl/sql manual:
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_file.htm

  • While executing the Procedure Getting Error

    Hi I am New to ODI.
    I create one new Procedure just to delete the Target table.
    delete from <%=snpRef.getTable("L","T_CUSTOMER","D")%>. T_Customer is my target table.Technology:Oracle(Both Source and Target)
    I selected the correct Context ,Schema and Technology.
    While executing the procedure i am getting following error
    java.lang.Exception: Internal error: object ConnectConnection
    ColConnectId:null
    ColContextCode:DEV
    ColConName:null
    ColIndCommit:null
    ColIsolLevel:null
    ColLschemaName:null
    ColPlanComp:null
    ColTechIntName:null
    DefConnectId:null
    DefContextCode:DEV
    DefConName:null
    DefIndCommit:null
    DefIsolLevel:null
    DefLschemaName:FCS
    DefPlanComp:null
    DefTechIntName:ORACLE
    ExeChannel:J
    IndErr:1
    IndLogMethod:null
    IndLogNb:null
    LogLevDet:3
    Nno:1
    OrdTrt:0
    ScenTaskNo:1
    SessNo:61001
    TaskName1:Procedure
    TaskName2:Delete
    TaskName3:Delete
    TaskType:S
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execSrcOrders(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.treatTaskTrt(SnpSessTaskSqlS.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)
    Thanks in advance.

    i Used the below syntax and checked its working fine.
    delete from <%=snpRef.getObjectName("L","T_CUSTOMER","D")%>

  • JDBC Adapter - Sender - Stored Procedure - SQLException Error

    Hi,
         I have created one stored procedure in our Oracle database. I give below that stored procedure.
    CREATE OR REPLACE PROCEDURE sp_stud
    IS
        l_row student%ROWTYPE;
        TYPE t_ref_cursor IS REF CURSOR RETURN l_row%TYPE;
        c_cursor t_ref_cursor;
    BEGIN
        OPEN c_cursor FOR
         SELECT *
         FROM student where readflag= ' ';
        LOOP
         FETCH c_cursor into l_row;
            EXIT WHEN c_cursor%NOTFOUND;
            DBMS_OUTPUT.PUT_LINE(l_row.id || ' : ' || l_row.name);
        END LOOP;
    close c_cursor;
    END;
    This is a procedure to retreive rows from the table student which is having the field read_flag = ' '; (Student table contains the fields ID, NAME, BIRTHYEAR, BIRTHMONTH, READFLAG).
    In JDBC Sender Adapter, I set the values for the following fields under Parameters tab.
    Query SQL Statement: EXECUTE sp_stud
    Update SQL Statement: UPDATE student SET readflag = 'Y' where readflag = ' '
    The scenario is every 5 minutes JDBC adapter checks the table whether any new row is inserted, if it is inserted and commit, it will send that record to File. This is the Scenario.
    In Runtime Workbench, Communication Channel Monitoring, it shows the following error, when JDBC Polls the table.
    Database-level error reported by JDBC driver while executing statement 'EXECUTE sp_stud'. The JDBC driver returned the following error message: 'java.sql.SQLException: ORA-00900: invalid SQL statement '. For details, contact your database server vendor.
    Note : If we execute the Stored Procedure ad SQL command level, it works fine.
    Kindly help friends to solve this, where the error is happened.
    Thanking you,
    Kind regards,
    Jegatheeswaran P.

    Hi,
    Not a Database expert. But , in case you have not seen the note pointed by Deepu,
    <i> The JDK 1.1.x, 1.2 and 1.3 versions (classes111. zip, classes12.zip, classes12.jar) of the driver are not compatible with the SAP XI JDBC Adapter. Use the JDK 1.4 driver (ojdbc14.jar) instead. For details, refer to Oracle MetaLink note # 203849.1.
               <b>Invoking Oracle stored procedures from within a JDBC sender channel is only possible for Oracle DBMS versions >= 10.2.x using so-called table functions:</b>
               Example:
    pkg1 -
    CREATE PACKAGE pkg1 AS
      TYPE numset_t IS TABLE OF NUMBER;
      FUNCTION f1(x NUMBER) RETURN numset_t PIPELINED;
    END pkg1;
    CREATE PACKAGE BODY pkg1 AS
    -- FUNCTION f1 returns a collection of elements (1,2,3,... x)
    FUNCTION f1(x NUMBER) RETURN numset_t PIPELINED IS
      BEGIN
        FOR i IN 1..x LOOP
          PIPE ROW(i);
        END LOOP;
        RETURN;
      END;
    END pkg1;
    pkg1 -
            <b>   This function has to be invoked from the sender channel configuration (SELECT statement) as follows:
               SELECT * FROM TABLE(pkg1.f1(5));</i></b>
    Check this, confirm your Oracle DB version and then use the Table Functions as described in this note.
    A Database Expert wil be able to crack this for sure.
    Regards
    Bhavesh

  • Error #1037 Bug Report, Flash Builder 4.6

    I tried reporting this bug through the proper channels, but the link on the page at https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for filing Flash Builder bugs is not working.  The page it links to is "taking too long to respond".
    I'm using Flash Builder 4.6, and I'm getting error #1037.  According to the documentation at http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/runtimeErrors.html, this isn't something that should be happening, and when the programmer doesn't believe the swf has been corrupted, Adobe has requested that they report it.  Even though I feel something like this always justifies the word "corrupted", I don't believe it's been corrupted in this strict of a sense; I'm just building the swf in Flash Builder.  The project itself is fairly simple and doesn't have any out-of-the way configurations.
    Take the following line of code in the start class:
    m_com.onBWDone = rnd.handleBWDoneResults;
    the following code in m_com's class:
    private var m_fOnBWDone:Function;
    public function set onBWDone(pValue:Function):void
        m_fOnBWDone = pValue;
    and the following code in rnd's class:
    public function handleBWDoneResults(... pRest):void
    The line of code in the starting class is what's throwing the error.  If I comment that line of code out, the error goes away.  If I simply make m_fOnBWDone a public variable, delete the setter, and set the variable's value directly in the starting class, that works too.  But if I try to make it private and then use a trivial public property to set it like that, the error is raised.
    @Adobe Please fix this.  Thanks.

    The docs say it could be a few things, just one of which is the corrupt portion.
    You shouldn't have a method and property with the same name either. In any get/set situation for a private value your private value is typically prefaced just to avoid the collision with the public get/set. For the same reason, colliding, methods and properties should be unique and I am also confused as to how it compiled (although FB just warns you there's an issue and still allows you to proceed).
    What you're doing there appears to be highly dynamic, so I really can't say what kind of method names you're assigning with pValue. Nor can the compiler until you send 2 different functions with the same name there and it errors on you. Only you know what functions are being assigned in there, or what you do with it after that.

Maybe you are looking for

  • Is there a way to import movies to iTunes?

    Is there a way to import movies that I already own to iTunes?

  • OAS continues to fulfill requests that use expired sessions (bug???)

    When I make a request against one of our OAS servers after I know my session has expired, the server responds with an HTTP response that includes a header to clear out my SSO login cookie (I think that's what it's referred to as), but it still fulfil

  • Using Parallels and a Dell Windows Vista CD

    I was hoping I could use a Windows Vista CD I have from Dell in conjunction with Parallels but I keep getting a message informing me that the product key is incorrect. I've checked 100 times and I know it IS correct. But is this an issue concerning t

  • Ultra 5 Serial connection

    Hi, I am having a few problems connecting an Ultra 5 to my laptop via serial cable. I have looked at the following instructions: http://www.idevelopment.info/data/Unix/Solaris/SOLARIS_UsingSerialConsoles.shtml http://www.sunhelp.org/unix-serial-port-

  • Publish Live stream to FMS on RTMPE protocol

    Hi, I am trying to publish Live Stream to FMS using FMLE or third party encoders. Is it possible to have RTMPE or RTMPTE protocol used between encoder and FMS? Very urgent. thanks, Pooja Jain