VBS Expected Statement error

IHi there:
Hi there:
I am trying to build an XML file from a string and I am getting a Expected Statement Error.  I am not sure what
is wrong that would cause this error with a simple loop for a bar graph.  Any ideas?
Thanks in advance! Brett
<%@ Language=VBScript %>
<%
Dim oConn, rs
Dim strConnQuery
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Mode = 1
'Create the path to database
oConn.open session("DSN")
%>
<%
'This page generates the XML data for the Chart contained in
'Default.asp. 
'Database Objects - Initialization
Dim oRs, oRs2, strQuery
'strXML will be used to store the entire XML document generated
Dim strXML
'Create the recordset to retrieve data
Set oRs = Server.CreateObject("ADODB.Recordset")
Function getTotals()
   'Initialize database objects
Dim oRs, strSQL
'Variable to store XML Data
Dim strXML
'To store categories
Dim strCat
'To store amount Dataset & quantity dataset
    Dim strAmtDS, strQtyDS
strCat = "select * from fusion_category"
strSQL = "select * from claim_table where reference_num =" & session("globalrefno")
Set oRs = Server.CreateObject("ADODB.Recordset")
oRs.Open strSQL, oConn
'Initialize <categories> element
strCat = "<categories>"
'Response.Write(strCat)
'Initialize datasets
strIncDS = "<dataset seriesname='Incurred'>"
strPdDS = "<dataset seriesName='Paid' parentYAxis='P'>"
'Variable to store link
Dim strLink
'Iterate through each data row
Do While not oRs.EOF
strCat = strCat & "<category label='" & oRs("Category") & "'/>"
strIncDS = strIncDS & "<set value='" & oRs("Incurred") & "'/>"
strPdDS = strPdDS & "<set value='" & oRs("Paid") & "'/>"
'oRs.EOF
'Closing elements
strCat = strCat & "</categories>"
strIncDS = strIncDS & "</dataset>"
strPdDS = strPdDS & "</dataset>"
'Entire XML - concatenation
strXML =  strCat & strIncDS & strPdDS
oRs.Close()
Set oRs = nothing
getTotals = strXML
    End Function
strXML = "<chart caption='Incurred vs Paid" & getTotals() & "' xAxisName='Year' palette='" & "' numberPrefix='$' formatNumberScale='0'>"
'Get the data
strXML = strXML & "<set label='Incurred' value='" & getTotals() & "' />"
strXML = strXML & "<set label='Paid' value='" & getTotals() & "' />"
strXML = strXML & "</chart>"
'Output it
Response.ContentType = "text/xml"
Response.Write(strXML)
%>

Hi there:
I am trying to build an XML file from a string and I am getting a Expected Statement Error.  I am not sure what
is wrong that would cause this error with a simple loop for a bar graph.  Any ideas?
Thanks in advance! Brett
<%@ Language=VBScript %>
<%
Dim oConn, rs
Dim strConnQuery
Set oConn = Server.CreateObject("ADODB.Connection")
oConn.Mode = 1
'Create the path to database
oConn.open session("DSN")
%>
<%
'This page generates the XML data for the Chart contained in
'Default.asp. 
'Database Objects - Initialization
Dim oRs, oRs2, strQuery
'strXML will be used to store the entire XML document generated
Dim strXML
'Create the recordset to retrieve data
Set oRs = Server.CreateObject("ADODB.Recordset")
Function getTotals()
   'Initialize database objects
Dim oRs, strSQL
'Variable to store XML Data
Dim strXML
'To store categories
Dim strCat
'To store amount Dataset & quantity dataset
    Dim strAmtDS, strQtyDS
strCat = "select * from fusion_category"
strSQL = "select * from claim_table where reference_num =" & session("globalrefno")
Set oRs = Server.CreateObject("ADODB.Recordset")
oRs.Open strSQL, oConn
'Initialize <categories> element
strCat = "<categories>"
'Response.Write(strCat)
'Initialize datasets
strIncDS = "<dataset seriesname='Incurred'>"
strPdDS = "<dataset seriesName='Paid' parentYAxis='P'>"
'Variable to store link
Dim strLink
'Iterate through each data row
Do While not oRs.EOF
strCat = strCat & "<category label='" & oRs("Category") & "'/>"
strIncDS = strIncDS & "<set value='" & oRs("Incurred") & "'/>"
strPdDS = strPdDS & "<set value='" & oRs("Paid") & "'/>"
'oRs.EOF
'Closing elements
strCat = strCat & "</categories>"
strIncDS = strIncDS & "</dataset>"
strPdDS = strPdDS & "</dataset>"
'Entire XML - concatenation
strXML =  strCat & strIncDS & strPdDS
oRs.Close()
Set oRs = nothing
getTotals = strXML
    End Function
strXML = "<chart caption='Incurred vs Paid" & getTotals() & "' xAxisName='Year' palette='" & "' numberPrefix='$' formatNumberScale='0'>"
'Get the data
strXML = strXML & "<set label='Incurred' value='" & getTotals() & "' />"
strXML = strXML & "<set label='Paid' value='" & getTotals() & "' />"
strXML = strXML & "</chart>"
'Output it
Response.ContentType = "text/xml"
Response.Write(strXML)
%>

Similar Messages

  • Illustrator Launch Error: Windows registry was not in the expected state.

    Hi All,
    I just upgraded to CS3 Design Premium, and I'm I'm getting the following error when I launch Illustrator:
    "The Windows registry was not in the expected state. PLease run the Illustrator installer to correct this problem. Illustrator will continue to run, but may not operate properly."
    I'm running Vista Ultimate x64 on a dual Xeon workstation with 4GB of RAM. I found the following article in the knowledgebase, but it did not solve the problem:
    http://www.adobe.com/go/kb401602
    I have also uninstalled CS2, reinstalled CS3 and reinstalled CS3 *again*.
    Illustrator does run, but it's slow and unstable. Any thoughts on what's going on and what I can do to fix it? Many thanks!
    --Jim.

    Hello, any solution on this problem? I've got the problem with Illustrator CS3, XP where I get the registry error at startup and I can't open any .ai files on my computer from explorer. I can open the files by opening from Illustrator. Here's my registry entry:
    Registry key not found: .ai
    Expected string: Adobe.Illustrator.13
    Registry key not found: .eps
    Expected string: Adobe.Illustrator.EPS
    Registry key not found: .hyp
    Expected string: Adobe.Illustrator.Hyphen
    Registry key not found: Adobe.Illustrator.Hyphen
    Expected string: Adobe Illustrator Hyphenation Dictionary
    Registry key not found: Adobe.Illustrator.Hyphen\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,4
    Registry key not found: .aip
    Expected string: Adobe.Illustrator.Plugin
    Registry key not found: Adobe.Illustrator.Plugin
    Expected string: Adobe Illustrator Plugin
    Registry key not found: Adobe.Illustrator.Plugin\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,5
    Registry key not found: .flt
    Expected string: Adobe.Illustrator.Filter
    Registry key not found: Adobe.Illustrator.Filter
    Expected string: Adobe Illustrator Filter
    Registry key not found: Adobe.Illustrator.Filter\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,6
    Registry key not found: .dct
    Expected string: Adobe.Illustrator.Dictionary
    Registry key not found: Adobe.Illustrator.Dictionary
    Expected string: Adobe Illustrator Spelling Dictionary
    Registry key not found: Adobe.Illustrator.Dictionary\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,7
    Registry key not found: .sbx
    Expected string: Adobe.Illustrator.Tsume
    Registry key not found: Adobe.Illustrator.Tsume
    Expected string: Adobe Illustrator Tsume File
    Registry key not found: Adobe.Illustrator.Tsume\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,8
    Registry key not found: .aia
    Expected string: Adobe.Illustrator.Action
    Registry key not found: Adobe.Illustrator.Action
    Expected string: Adobe Illustrator Action File
    Registry key not found: Adobe.Illustrator.Action\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,10
    Registry key validated: .ase
    Registry key validated: Adobe.Illustrator.SwatchExchange
    Registry key validated: Adobe.Illustrator.SwatchExchange\DefaultIcon
    Registry key validated: .acb
    Registry key validated: .acbl
    Registry key validated: Adobe.Illustrator.ColorBook
    Registry key validated: Adobe.Illustrator.ColorBook\DefaultIcon
    Registry key validated: .8bf
    Registry key validated: .8bi
    Registry key validated: Adobe.Photoshop.Plugin
    Registry key validated: Adobe.Photoshop.Plugin\DefaultIcon
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\ProgID
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\VersionIndependentProgID
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\LocalServer32
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\InProcHandler
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\InProcHandler32
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-3
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-2
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\-1
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\verb\0
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType\2
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\AuxUserType\3
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\MiscStatus
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\MiscStatus\4
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\Insertable
    Registry key validated: CLSID\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\
    Registry key validated: Adobe.Illustrator.13\CLSID
    Registry key validated: Adobe.Illustrator.13\Insertable
    Registry key validated: Adobe.Illustrator.13\.ai\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.eps\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.prf\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.hyp\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.aip\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.flt\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.dct\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.sbx\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.8bf\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.8bi\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.aia\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\.ase\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\DefaultIcon
    Registry key validated: Adobe.Illustrator.13\shell
    Registry key validated: Adobe.Illustrator.13\shell\open
    Registry key validated: Adobe.Illustrator.13\shell\open\command
    Registry key validated: Adobe.Illustrator.13\shell\print\command
    Registry key validated: Adobe.Illustrator.13\shell\edit\command
    Registry key validated: Adobe.Illustrator.13\shell\edit
    Registry key not found: Adobe.Illustrator.EPS\
    Expected string: Encapsulated PostScript
    Registry key not found: Adobe.Illustrator.EPS\CLSID
    Expected string: {CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key not found: Adobe.Illustrator.EPS\Insertable
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\DefaultIcon
    Expected string: C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe,2
    Registry key not found: Adobe.Illustrator.EPS\shell
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\shell\open
    Expected string:
    Registry key not found: Adobe.Illustrator.EPS\shell\open\command
    Expected string: "C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe" "%1"
    Registry key not found: Adobe.Illustrator.EPS\shell\print\command
    Expected string: "C:\Program Files\Adobe\Adobe Illustrator CS3\Support Files\Contents\Windows\Illustrator.exe" /p "%1"
    Registry key validated: Adobe.Illustrator.EPS\shell\edit\command
    Registry key validated: Adobe.Illustrator.EPS\shell\edit
    Registry key not found: Adobe.Illustrator\
    Expected string: Adobe Illustrator Artwork 13.0
    Registry key not found: Adobe.Illustrator\CLSID
    Expected string: {CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key not found: Adobe.Illustrator\CurVer
    Expected string: Adobe.Illustrator.13
    Registry key validated: Adobe.Illustrator.13\protocol
    Registry key validated: Adobe.Illustrator.13\protocol\StdFileEditing
    Registry key validated: Adobe.Illustrator.13\protocol\StdFileEditing\server
    Registry key not found: Illustrator.Artwork\NotInsertable
    Expected string:
    Registry key validated: FileType\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}
    Registry key validated: FileType\{CFE97CDD-836F-4c78-B6B7-A36DD433892E}\0
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\IconHandler
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\PropertySheetHandlers\AIPage
    OK: Key not found as expected: Adobe.Illustrator.7\shellex\PropertySheetHandlers
    OK: Key not found as expected: Adobe.Illustrator.7\shellex
    OK: Key not found as expected: CLSID\{697EE7C0-334C-11D0-B826-0020AF

  • I am getting "ORA-00900: invalid SQL statement"  error.?

    I did installed oracle 11gR2. and used "DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','USER1','USER2')"   to see the result like below,  but I am getting "ORA-00900: invalid SQL statement"  error.   Any idea?
    I am using:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    TNS for 32-bit Windows: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL> desc user1.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(20)
    FIELD_A4                                  NOT NULL NUMBER(5,2)
    FIELD_A5                                           VARCHAR2(10)
    FIELD_A6                                  NOT NULL NUMBER(2)
    SQL> desc user2.tbl_a
    Name                                      Null?    Type
    FIELD_A1                                  NOT NULL NUMBER
    FIELD_A2                                           VARCHAR2(50)
    FIELD_A3                                           DATE
    FIELD_A4                                           NUMBER(5,2)
    FIELD_A5                                  NOT NULL VARCHAR2(10)
    SQL> select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual
    expected result:
    DBMS_METADATA_DIFF.COMPARE_ALTER('TABLE','TBL_A','TBL_A','U1','U2')
    ALTER TABLE "U1"."TBL_A" ADD ("FIELD_A3" DATE)
      ALTER TABLE "U1"."TBL_A" DROP ("FIELD_A6")
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A2" VARCHAR2(50))
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NUMBER(5,2) DEFAULT 0)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A4" NULL)
      ALTER TABLE "U1"."TBL_A" MODIFY ("FIELD_A5" NOT NULL ENABLE)

    Thanks for reply rp,
    I got result using "select dbms_metadata_diff.compare_alter('TABLE','TBL_A','TBL_A','USER1','USER2') from dual"

  • TABLE ILLEGAL STATEMENT  error with MODIFY command

    Hi gurus,
    i want you to inform me about table illegal statement error. The error occurs when i use modify as below.
    loop at itab.
       select .......
             where xxx eq itab-xxxx.
           MODIFY itab.
      endselect.
    endloop.
    i know that i have to give the sy-tabix as INDEX parameter to the modify command. but i want to know why i have to do this?
    cause when i debug, i follow the sy-tabix field and it have not a change in select endselect.
    may the reason of the error about cursor in select and cursor effects modify command?
    or why?
    Thx,

    Hello,
    I guess this is because your MODIFY statement is inside the SELECT ... ENDSELECT & not inside the LOOP ... ENDLOOP.
    SAP documentation says:
    Within a LOOP loop, the INDEX addition can be ommitted. In this case the current table line of the LOOP loop is changed.
    You have to change the coding:
    DATA: v_index TYPE i.
    loop at itab.
    v_index = sy-index.
    select .......
    where xxx eq itab-xxxx.
    MODIFY itab INDEX v_index.
    endselect.
    endloop.
    BR,
    Suhas
    PS: The coding practice followed is not very performance oriented as well. May be you should have a look around in some blogs, wikis in SCN & change the code accordingly.
    Edited by: Suhas Saha on Nov 19, 2009 9:41 AM

  • ORA-00900: invalid SQL statement Error while Executing Procedure

    Hi:
    I am trying to execute following procedure through java code, but i am getting ORA-00900: invalid SQL statement error.
    Procedure is :
    <code>
    (vResult out int)
    as
    vCardId varchar2(16);
    vForacid varchar2(16);
    vApp_Entry_No varchar2(10);
    vSrNo number(6);
    vCardStatus char(1);
    vCardStat char(2);
    vExpiryDate date;
    Cursor cardCur1 is
    select u.card_number,trim(u.ACCOUNT_NUMBER),u.CARD_STATUS,to_char(u.EXPIRY_DATE,'dd-MM-yyyy')
    FROM DailyCardData u
    where default_indicator='1'
    and isprocessed = 'N'
    order by expiry_date;
    begin
    vSrNo := 0;
    vResult := 0;
    open cardCur1;
    Loop
    fetch cardCur1 into vCardId,vForacid,vCardStat,vExpiryDate;
    if cardCur1%NOTFOUND then
    exit;
    end if;
    if (vCardStat != null) then
    vCardStatus := 'H';
    elsif (vExpiryDate <= sysdate) then
    vCardStatus := 'E';
    else
    vCardStatus := null;
    end if;
    select a.app_entry_no into vApp_Entry_No from Application a,ApplicationLinkedAccounts l
    where l.foracid = vForacid and l.AcSrNo = '1'
    and a.app_entry_no = l.app_entry_no
    and a.cardid is null
    and a.DOWNLOADFILECREATIONFLAG = 'Y';
    update Application set CardId = vCardId,
    Card_Status = vCardStatus,APPLICATIONPROCESSEDFLAG = 'Y',
    APPLICATIONPROCESSEDdate = DOWNLOADFILECREATIONdate
    where App_Entry_No = vApp_Entry_No;
    commit;
    update DailyCardData set isprocessed = 'Y',app_entry_no = vApp_Entry_No
    where card_number = vCardId;
    commit;
    end Loop;
    close cardCur1;
    vResult := 1;
    end;
    </code>
    Can any body help me in that?
    Thank You,
    Anup

    First of all I don't see a procedure header.
    Secondly I see you commit inside your procedure. This is a bug.
    Thirdly I see you also commit inside a loop. This is also a bug, and needs to be removed asap.
    The error indicates a statement doesn't parse. As you don't post the error stack, nor a table definition no one can reproduce the problem.
    You need to isolate the statements, one by one, and run them through sql*plus to see what happens.
    Sybrand Bakker
    Senior Oracle DBA

  • Invalid cursor state error while executing the prepared statement

    hai friends,
    following code showing the invalid cursor state error while executing the second prepared statement.
    pls anyone help me
    String query = "select * from order_particulars where order_no=" + orderno + " order by sno";             psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);             rs1 = psmt1.executeQuery();             rs1.last();             intRowCount = rs1.getRow();             particularsdata = new Object[intRowCount][6];             rs1.beforeFirst();             if (intRowCount >= 1) {                 for (int i = 0; rs1.next(); i++) {                     particularsdata[0] = i + 1;
    particularsdata[i][1] = rs1.getString(3);
    particularsdata[i][2] = Double.parseDouble(rs1.getString(4));
    rs1.close();
    psmt1.close();
    query = "SELECT sum(delqty) FROM billdetails,billparticulars WHERE order_no= " + orderno + " and " +
    "billdetails.bill_no = billparticulars.bill_no GROUP BY particulars ORDER BY sno";
    psmt1 = conEntry.prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);
    rs1 = psmt1.executeQuery(); //error showing while executing this line

    Also .. Why using arrays instead of collections? Shifting the cursor all the way forth and back to get the count is fairly terrible.
    With regard to the problem: either there's a nasty bug in the JDBC driver used, or you actually aren't running the compiled class version of the posted code.

  • Using UNUSABLE on Unique Index gives "initially in unusable state" error

    I am doing the following:
    1. Truncate table
    2 Alter PK Index Disable
    2. Alter Unique Index Unusable
    3. Insert /*+ APPEND NOLOGGING*/ into my table
    My problem is, I get an "ORA-26026: unique index ... initially in unusable state" error when I try to do the Insert. If I make the Unique index non-unique it isn't a problem. If I drop the index and recreate it its not a problem - so uniqueness doesn't appear to be the issue. Can you not use UNUSABLE with a Unique index, I couldn't find any reference to this in the 10g docs.
    I am using 10.1.0.4.
    Thanks
    Richard

    26026, 0000, "unique index %s.%s initially in unusable state"
    //* Cause: A unique index is in IU state (a unique index cannot have
    //* index maintenance skipped via SKIP_UNUSABLE_INDEXES).
    //* Action: Either rebuild the index or index partition, or use
    //* SKIP_INDEX_MAINTENANCE if the client is SQL*Loader.

  • Receiver JMS ( websphere MQ ) error  - No transition found from state:ERROR

    Hi all
    we are using JMS adapter to connect to the Queue manager . whenever the queue manager restarts , the messages is not getting thru and it is struck in the adapter engine with status " not to be delivered "
    i am getting error in receiver communication channel audit log....its showing
    *MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_XXXXXXXXX:15fa03eb9fd837849906f512610314c4*
    note : already i have gone thur many forum  and nothing helps.
    Thanks in advance
    Faheem

    If you are using the FCC then this could be because of that. What is the connection status with MQ? Are there any connection errors with MQ.
    If you are using FCC in your Receiver JMS channel then just to confirm, first remove the FCC configuration and try to send a xml file. If the xml file goes in successfully then the problem is in your FCC configuration.

  • Seeburger AS2 resent of files in state "Error on send, will be retried"

    Hi,
    I have a few AS2 files in state "Error on send, will be retried" in the Seeburger AS2 monitor, which does not seem to be sent.
    How can I trigger the files to be sent again or delete so we can resent the files from the backend.
    Daniel Graversen
    [Figaf|http://figaf.com]

    Hi,
    we have some messages in this status but none of them is displayed in the recovery monitor..
    Any other idea?
    Thank you,
    Peter

  • Statement error in for loop noobq

    Hi
    Could anyoe tell me why this wont work? Its supposed to count upp to tal in the first one and then count down from tal in the second and its the second one that dont work. I get a statement error for the text i put in between stars (supposed to be bold but i dont know..)
    thanks
    class r?knaa {
        public static void main(String[] args) {
            new r?knaa().run();
        void run() {
         int tal = Keyboard.nextInt ("Ange ett tal ? s? ska vi r?kna...(^_^): ");
         for (int upp = 1; upp <= tal; upp = upp + 1) {
             System.out.print ( upp+ " " );
         System.out.println (" ");
         System.out.println (" ");
         for (*tal*; tal > 0; tal = tal -1 ){
             System.out.print ( tal+ " " );
    }Edited by: gibitlib on Feb 19, 2010 3:02 PM

    jverd wrote:
    sharkura wrote:
    I assumed that it would decrement after the block of statements associated with the while loop, as is true with the for loop.Not sure what you mean by "as is true with the for loop", but I'm catching a hint of a very common misconception about the post-inc/dec operators.
    A LOT of people think that post-inc/dec means "last step in the statement" or "after everything else has been done" or something like that. That kind of thiiking is just black magic hocus pocus and serves no purposeI don't think I thiik like that, Jeff. I've never used a post-inc operator in a while loop. Certainly, if I felt a need to do so, I would test it, and try to understand why it works the way it does. Empirically, I know that given the following for loop:
    for ( int i = 0; i < limit; i++ )
      ... some statements
    }the incrementation of i occurs after the statements in the block execute. It may be specific to the for loop that the third statement in the for loop executes after the block of statements, in which case
    for ( int i = 0; i < limit; ++i )
      ... some statements
    }would work the same, and you can bet I will test that.
    I did make an assumption last night, and did not test it. That is not typical of me. I do resent somewhat the accusation of black magic hocus pocus. My last statement in that post was:
    sharkura wrote:
    I'll have to play with this some.Implicit in that remark was my intent to read more about pre/post decrementation and experiment until I more fully understood it. You have pointed out my lack of complete understanding, and, odd as it may seem, I appreciate that. I do log into these forums, partly, to improve my understanding of java.
    {?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Key not valid for use in specified state error message

    I did the update for my iPhone and also tried to update iTunes. I kept getting an error message of "key not valid for use in specified state" error message. I thought that if I uninstalled iTunes and re-installed it, that it would be fine. I'm still getting the message and now I don't have iTunes. When my phone updated, I couldn't download anything/backup my phone to iTunes. Please help. Thank you in advance.

    For "Key not valid for use in specified state" errors try moving the folder RSA from C:\Users\<User>\AppData\Roaming\Microsoft\Crypto\RSA to say C:\RSA (just in case there should be a need to restore it) then try installing again. This folder appears to act as a cache and should be rebuilt automatically as required.
    For further problems installing iTunes see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • Compliance State - Error

    Hello All,
    I have around 400 systems with "Compliance State - Error"and few systems does not have configuration baseline assigned to them. So i have restarted the sms host agent which fixed on very few systems. Could any one please let me know the further
    troubleshooting steps to re mediate the issue.

    It all starts with reading error messages, either from the reports, or from the log files. These error messages will provide pointers for further research. The basic error information can be found in the client report (Client
    Properties, tab Configurations, button
    View Report).
    The following client log files can help with providing more detailed information (see also:
    http://technet.microsoft.com/en-us/library/hh427342.aspx#BKMK_CompSettingsLog):
    CIAgent.log - Details about the remediation and compliance process;
    CITaskManager.log - Information about configuration item task scheduling;
    DCMAgent.log - High-level information about the evaluation, conflict reporting and remediation;
    DCMReporting.log - Information about reporting policy platform results into state messages;
    DcmWmiProvider.log - Information about reading configuration item synclets from WMI.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Invalid Statement Error

    Hi,
    Can anyone look at my code and see why I am getting the Invaild Statement Error:
    select GCC.SEGMENT1||'-'||GCC.SEGMENT2||'-'||GCC.SEGMENT3||'-'||GCC.SEGMENT4||'-'||GCC.SEGMENT5||'-'||GCC.SEGMENT6
    Account, msi.segment1 item
    ogb.gl_batch_id gl_batch_number
    round(sum(nvl(mta.base_transaction_value,0)), 2) Net_activity,
    round(sum(decode( nvl(mta.base_transaction_value,0) /
    abs(decode(
    nvl(mta.base_transaction_value,0),
    0, 1, nvl( mta.base_transaction_value,0 ) )),
    1, nvl(mta.base_transaction_value,0), 0 ) ), 2) sum_debits,
    round(sum(decode( nvl(mta.base_transaction_value,0) /
    abs(decode(nvl(mta.base_transaction_value,0),
    0, 1, nvl( mta.base_transaction_value,0 ) )),
    -1, nvl(abs(mta.base_transaction_value),0), 0 ) ), 2)
    sum_credits from
    mtl_material_transactions mmt,
    mtl_system_items msi,
    gl_code_combinations gcc,
    mtl_transaction_accounts mta
    org_gl_batches ogb
    where
    mta.transaction_id = mmt.transaction_id
    and
    mta.inventory_item_id = msi.inventory_item_id and mta.organization_id
    = msi.organization_id
    and mta.reference_account = gcc.code_combination_id
    and mta.accounting_line_type <> 15
    and mta.gl_batch_id = ogb.gl_batch_id (+) group by GCC.SEGMENT1||'\n'||GCC.SEGMENT2||'\n'||GCC.SEGMENT3||'\n'||GCC.SEGMENT4||'\n'||GCC.SEGMENT5||'\n'||GCC.SEGMENT6 , msi.segment1 having sum(nvl(mta.base_transaction_value,0)) != 0 order by 1 , 2

    SELECT      gcc.segment1
             || '-'
             || gcc.segment2
             || '-'
             || gcc.segment3
             || '-'
             || gcc.segment4
             || '-'
             || gcc.segment5
             || '-'
             || gcc.segment6 ACCOUNT,
             msi.segment1 item, ogb.gl_batch_id gl_batch_number,
             ROUND (SUM (NVL (mta.base_transaction_value, 0)), 2) net_activity,
             ROUND
                (SUM (DECODE (  NVL (mta.base_transaction_value, 0)
                              / ABS (DECODE (NVL (mta.base_transaction_value, 0),
                                             0, 1,
                                             NVL (mta.base_transaction_value, 0)
                              1, NVL (mta.base_transaction_value, 0),
                              0
                 2
                ) sum_debits,
             ROUND
                (SUM (DECODE (  NVL (mta.base_transaction_value, 0)
                              / ABS (DECODE (NVL (mta.base_transaction_value, 0),
                                             0, 1,
                                             NVL (mta.base_transaction_value, 0)
                              -1, NVL (ABS (mta.base_transaction_value), 0),
                              0
                 2
                ) sum_credits
        FROM mtl_material_transactions mmt,
             mtl_system_items msi,
             gl_code_combinations gcc,
             mtl_transaction_accounts mta,
             org_gl_batches ogb
       WHERE mta.transaction_id = mmt.transaction_id
         AND mta.inventory_item_id = msi.inventory_item_id
         AND mta.organization_id = msi.organization_id
         AND mta.reference_account = gcc.code_combination_id
         AND mta.accounting_line_type = 15
         AND mta.gl_batch_id = ogb.gl_batch_id(+)
    GROUP BY    gcc.segment1
             || '\n'
             || gcc.segment2
             || '\n'
             || gcc.segment3
             || '\n'
             || gcc.segment4
             || '\n'
             || gcc.segment5
             || '\n'
             || gcc.segment6,
             msi.segment1
      HAVING SUM (NVL (mta.base_transaction_value, 0)) != 0
    ORDER BY 1, 2;*009*

  • Find: stat() error /proc/26354: No such file or directory

    Dear everyone,
    I am using Solaris 10u8 on 02 Sun Fire X4240 servers. I also installed Sun Cluster 3.2u3 and Oracle RAC 10gR2 for these 2 servers.
    When I tried to execute the find command, I receive the result I need. However, in the end of the output, I saw additional lines:
    +# find / -name * log -print | grep samba+
    +/var/svc/log/network-samba:default.log+
    +/var/samba/log+
    +/etc/svc/volatile/network-samba:default.log+
    +{color:#ff0000}find: stat() error /proc/26354: No such file or directory{color}+
    I also tried with less complex syntax but got the same result, for example:
    +# find / -name samba+
    +/var/spool/samba+
    +/var/samba+
    +/usr/sfw/lib/webmin/caldera/samba+
    +/usr/sfw/lib/webmin/mscstyle3/samba+
    +/usr/sfw/lib/webmin/samba+
    +/etc/init.d/samba+
    +/etc/webmin/samba+
    +/opt/SUNWscsmb/samba+
    +{color:#ff0000}find: stat() error /proc/24252: No such file or directory+
    +find: stat() error /proc/24345: No such file or directory{color}+
    I don't know why these unormal outputs appeared. Does anyone know what the problem is here ?
    Any advice from you is appreciated. Thanks for your help and please help me in this case.
    Thanks.
    HuyNQ.

    /proc is a virtual filesystem reperesenting running processes.
    By doing a a find from / your allowing find to pass though /proc.
    Those errors indicate processes that exited while the find was running. So the files suddenly disappeared.
    The errors are harmless. But if possible, try not to allow find to scan /proc.

  • s:State error use air3.6

    <s:State error use air3.6

    Hello;
    The first thing you should test is if the pulses can be counted at all by the general purpose counters of your device. The way to go about that is to connect the pulse to the source of one of the counters and run the simpleeventcount.c example.
    If even that example doesn't work, you will need to condition the pulses before going to the counter.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Two listener for the same queue - different extraction rule

    Hi all. I've the following situation that I'm trying to troubleshoot. OSB communicates with another system using JMS Queues. One queue for teh request, one for the response. Depending on the kind of service, the request is published on the request us

  • Can I install boot camp on my computer, but install all my PC games for it on an external hardrive?

    I have a new Mac, but I want to install boot camp on it. However, I would only really be using it for gaming. On another post, someone said that you could not install boot camp entirely onto an external hardrive. As boot camp would only be for gaming

  • Reverify a download of Solaris

    I am having an issue where i have completed the 3GB download of Solaris using the Sun download manager and when i am going to extract the files i get a CRC error on part A of the file. Is there any way i can get the file back into the Sun download ma

  • Outgoing Mail Folder Empty! Please Help!

    There should be like 2000 outgoing messages in there.. Where the heck did they go?? They are though bellow in a BLUE folder that says sent messages but NOT where they should be in the MAIN paper airplane SENT folder... Any ideas for a remedy?? Thank

  • How to put sound player with selection to a flash site?

    hi to all flash fanatic, I want to put a sound player with selection in my flash site design. Anybody can teach me how or give me a sample code or file like I'm talking about. pls. Tutorial link also big help if u knw any link tutorials that deals to