Messages are in READY state in QUEUE TABLE but in AQ$ QUEUE TABLE messages are in PROCESSED State

HI All,
   We create a brand new oracle multi-consumer queue. We have en-queued the messages into the queue and are processed successfully.
   But when we checked the STATE Column  of the messages in the queue table it was showing as "0". But it is showing as "PROCESSED" in the
   AQ$<QUEUE_TABLE> msg_state column.
  We are unable to figure out why there is a mismatch. Can any one help us ?
Regards,
Hari P.

Hello,
the column value AQ$<QUEUE_TABLE>.MSG_STATE = 'PROCESSED' corresponds to column value <QUEUE_TABLE>.STATE = 2
(see definition of view AQ$<QUEUE_TABLE for the DECODE statement).
In your case you see a value of STATE = 0 instead of STATE = 2. Is this correct ? The value 0 corresponds to a state "READY" (the delay
is gone and the message is ready for dequeuing).
The AQ documentation says: "After the specified delay, the message is in the READY state and available for dequeuing."
Normally, you cannot see the processed data in your AQ because the enqueued data will be deleted after
successful dequeuing. You wrote that they were processed successfully.
Kind regards,
WoG

Similar Messages

  • I am trying to download a book on my ipad. It says I need to install itunes. I have itunes already. I frequently get a message to re-install itunes. I do, but I still get the message, and I still can't get the book on my ipad.

    I am trying to download a book on my ipad. It says I need to install itunes. I have itunes already. I frequently get a message to re-install itunes. I do, but I still get the message, and I still can't get the book on my ipad.

    you can download a new installer and serial number from Adobe at Adobe - CS2 Downloads

  • Just downloaded Numbers spreadsheet... I entered a simple "if" statement...If(c2=0,9,7) just to see how it works.... But I get an error message "Argument 1 of if expects a Boolean but found "c2=0....This if statement works fine in Excel

    Just downloaded the Apple Numbers spreadsheet app... I entered this simple 'if' statement to see how it works.... "if(c2=0,9,7)...
    I got an error message.. "Argument 1 of if statement expects a Boolean but found "c2=0".
    This if statement works fine in Excel.....What am I doing wrong ????

    Just downloaded the Apple Numbers spreadsheet app... I entered this simple 'if' statement to see how it works.... "if(c2=0,9,7)...
    I got an error message.. "Argument 1 of if statement expects a Boolean but found "c2=0".
    This if statement works fine in Excel.....What am I doing wrong ????

  • Data exists in DSO New table but not in Active table

    Guys,
    I am loading data from one DSO to another DSO, in my target DSO I have 6 fields which 2 of them are mapped in Transformation and remaining 4 will be populated by Start routine and End routines. Before Activating I am seeing all 6 fields got populated in New data table but after activating I am only seeing the 2 fields in Active data table but not those that are populated through Start and End rouitnes.
    I have only one Key in my DSO, am I missing something here?please let me know.
    Thanks,
    KK

    Hi,
    beside end routine, there will be one icon.
    click on that.
    you will see two options.
    select the option "populate values into fields with out active transformation rules"
    don't remember the words correctly but gives the same meaning...
    Activate the transformation.
    this will solve your problem
    Regards,
    Raghu
    Edited by: Raghu tej harish reddy on May 2, 2009 11:10 PM

  • Works in a small table, but in a enourmos table don't......why????

    Hi guys, I am using Oracle 10g. One of this days I made a script to be run in sqlplus. It work very well on a table with 1000 rows, but in a table with 31000000 don't...do you know why?
    declare cursor cursor_clean is
    select table_A_eid
    from table_A
    where type = 'LOL';
    counter number := 0;
    cnt_num number := 0;
    del_num number := 1;
    begin
    for r_cursor_clean in cursor_clean
    loop
    counter := counter + 1;
    delete from table_A_version where table_A_eid in
    (select table_A_eid from table_A where type = 'LOL');
    delete from table_A_type where table_A_eid in
    (select table_A_eid from table_A where type = 'LOL');
    if counter = 100000 then counter := 0;
    commit;
    end if;
    end loop;
    commit;
    while del_num != 0
    loop
    counter := counter + 1;
    delete from table_A where type = 'LOL';
    if counter = 100000 then counter := 0;
    commit;
    end if;
    del_num := SQL%RowCount;
    cnt_num := cnt_num + del_num;
    end loop;
    commit;
    end;
    Thanks a lot.

    Hi,
    there are three tables, table_A, table_A_version and table_A_type. As you can see they all have something in comun.
    The main goal here, is to delete from 3 tables everything that is connected with the word 'LOL' from three tables, because LOL is garbage in my tables, that was put there, but no longer needed.
    I am trying to run this differently:
    declare cursor cursor_clean is
    select table_A_eid
    from table_A
    where type = 'LOL';
    counter number := 0;
    cnt_num number := 0;
    del_num number := 1;
    begin
    for r_cursor_clean in cursor_clean
    loop
    counter := counter + 1;
    delete from table_A_version where table_A_eid in
    (select table_A_eid from table_A where type = 'LOL');
    if counter = 500000 then counter := 0;
    commit;
    end if;
    end loop;
    commit;
    counter := 0;
    for m_cursor_clean in cursor_clean
    loop
    counter := counter + 1;
    delete from table_A_type where table_A_eid in
    (select table_A_eid from table_A where type = 'LOL');
    if counter = 500000 then counter := 0;
    commit;
    end if;
    end loop;
    commit;
    while del_num != 0
    loop
    counter := counter + 1;
    delete from table_A where type = 'LOL';
    if counter = 500000 then counter := 0;
    commit;
    end if;
    del_num := SQL%RowCount;
    cnt_num := cnt_num + del_num;
    end loop;
    commit;
    end;
    I will try this solution.........Thanks.......

  • Date format accepted in new table but not in active table for DSO, BI 7.0

    Hi All,
    Need help from the experts, i was trying to load Flate file data in CSV(Coma separated) and cell type general for dates(yyyymmdd). everything was fine i have a routine for new fields in DSO for Fiscal week and Fiscal Quater which is calculating based on my Flate file date i.e delivery date(yyyymmdd).
    The New table of DSO means before activation everything was fine and all the logics and mappings working for the Fiscal week and Fiscal Quater and that can be visible, But after activation the same only the Fiscal week and Fiscal Quater is not showing data, its comming as blank and '000000' for all records.
    As the Fiscal week and Fiscal Quater is maintained as custmised InfoObject with data type NUM.
    Can you tell what i am missing, because i tried with different cell type also in CSV File.
    Thanks and Regards,
    Taps
    Edited by: Taps on Oct 1, 2010 1:21 PM

    Resolved...!!!
    Follow the link ...
    /people/maheshsingh.mony5/blog/2010/09/24/update-behavior-of-end-routine-in-transformations
    Regards,
    Taps
    Edited by: Taps on Oct 1, 2010 2:02 PM

  • I am making a montage and I am trying to make the photos do the effect where they slightly move either to the sides or up and down while they are being shown. Not a transition but just something so that they are not all stagnant on screen. Any ideas?

    I know on Windows Movie Maker it automatically adds these glide effects to your montage, but it seems very complicated to do in FCP X. I downloaded Fx Factory but that seems difficult as well. This really shouldn't be very hard. Thank you so much and I look forward to getting some insight on this.

    do a search on fcpx "ken burns". It's built into FCPx but you can also do your own, manually. first, explore the ken burns effect.

  • In which table invoices related to a purchase order are stored ?

    Hi all,
    We need to make an ABAP program and I need to know in which table the invoices made by MIRO related to a purchase order are stored.
    I can see them in the purchase order history tab in the transaccion ME23N but giving F1 and getting the table names gives me a structure table but not the actual table in SAP database. I tried the BSEG table but it doesn't store the purchase order number. Any information will be highly appreciated.  
    Thanks !!

    Hi
    You can get the Link of PUrchase order & the Invoice from Table EKBE.
    You can also get the data by joining the table RBKP & RSEG, as the Purcahse order details are stored in RSEG & posting date details are stored in RBKP
    Thanks & Regards
    Kishore

  • HT1926 "Registry settings usef my ITune drivers for importing and burning CDs and DVDs are missing." I have reinstalled Itunes and still get the same message.  What should I do.  bkgee

    "Registry settings used by ITune drivers for importing and burning CDs and DVDs are missing."  I have reinstalled ITunes but still get the same message.  What should I do?  bkgee

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    iTunes for Windows: "Registry settings" warning when opening iTunes

  • Warehouse table in sync with OLTP table

    I have a quick question, I have a table called orders and and also another table called orders_warehouse. We warehouse every day's data from orders to orders_warehouse. Question is when we add a new column to orders table is there a magic way to add that column to warehouse table also. The problem we have is developers tend to add new columns to orders table but not to warehouse table. because of this our warehouse process fails with mismatch of columns between warehouse and non warehouse tables. Is there way all the new ddl on orders table automatically applies to orders_warehouse table also.
    Thanks for your help

    I think you need to have some kind of change managment process imlemented in your organization. In warehouse, I also encountered where transaction systems changed the table structure but warehouse was not changed, as transaction system's developer's were not completely aware of impact of their change. I am not sure how your organization manages meta data information and also data profiling. IF you have well managed meta data and data profiling then you can stream line such process based on tools you are using.

  • VPD problem: select for update on join tables with policy on ref table

    In our application we use VPD. Now we ran into an issue. I will try to explain with EMP and DEPT table.
    EMP table has no VPD attached.
    DEPT table has VPD policy that forbids all updates, but allows select. (Policy returns '1=2' for statement type update.
    This query returns no rows:
    select * from emp join dept using (department_id) for update. This makes sense, because I'm going to update both the tables.
    However:
    select * from emp join dept using (department_id) for update of employee_id also returns no rows. THIS IS WRONG. I'm not going to update dept table.
    Any experience with this. Is this a known limitation ?

    I can see all the rows, because there is no select policy.
    However the point is, that VPD should allow me to update the emp table, because there is no update policy.
    With the 'for update of employee_id' clause, VPD should recognize that I'm not going to update the dept table, but only the emp table. But VPD does not recognize this, but applies the update policy of dept to the statement, making the statement to update no rows.
    (Reason behind my question is ADF Business Components, where you have ViewObjects with Referenced Entities. ADF BC generates this type of statement and now we run into this VDP limitation)

  • Po release workflow remains in "In Process" state

    Hi workflow Guru's,
    The release strategy attached with PO requires 2 level of approval.( copied standard WF20000075 .).
    when user creates PO nd saves the PO, workflow initiates to first level PO releasing with assignment of role.
    When approver double clicks  work-item he is taken to PO release screen and he can able to release the PO.
    now as per sequence, work-item should now flow to 2 level approver whereas 
    work-item remains in "in process'
    state in 1 level approvers inbox and workflow also remains in "In Process " state.
    Please help me out sort this issue.
    Regards,
    Mohd.

    Dear Abdul..
    Try these 2 things,
    1. Go to that particular step in workflow where you have done the binding for release code & click check icon to check whether binding for release code is error free... There are chances for your workflow to get activated but the binding in a particular step can contain errors.. So check this first..
    2. You should be passing the release code value from workflow container to task container.. Check whether value is coming correctly in workflow container first.. I believe it will not come as part of standard workflow & you should have written your custom logic to fetch that.. If yes then thoroughly check your custom logic (In case of BOR method then execute that method individually in SWO1 & check whether values are coming correctly).. If the value of release code is coming correctly in workflow container & not in task container (you can check this by going to that particular step in SWI1 & see the container tab) then again go to SWDD & click check icon in binding for that step to see whether its error free..
    I strongly feel that workflow is going into INPROCESS state because of this missing release code value..
    Kindly check & let us know ..
    Regards,
    Bharath

  • I've edited my NEF photos in lightroom and have tried to export to a formatted CD. When I try, I have several issues. I either see in the top left corner that the files are ready to go to CD but there is no further instruction or I get the pop up message

    I've edited my NEF photos in lightroom and have tried to export to a formatted CD. When I try, I have several issues. I either see in the top left corner that the files are ready to go to CD but there is no further instruction or I get the pop up message that the files are offline or missing??

    Just for background, in what format are you exporting your images?  Also, are you able to export them to your hard drive in your chosen format?  I haven't tried exporting directly to CD, but if you're able to export to hard drive and copy to CD, that may be one solution.

  • Outbound queues are in ready status

    Hi,
    In our system outbound queue are getting stuck in READY status. They are not getting executed automtically from READY status we have to manually exceute them in SMQ2.
    How i can clear the queue which are in  READY status.
    Thanks & Regards,
    Koushal Solanki

    Hi,
    Please check if there is any standard background job available to schedule it to run for every 5 or 10 minutes so that it will check the queues with Ready status and then execute them automatically. Also, check the reasons why jobs are coming to Ready status.
    Regards,
    Sharath

  • Queues, not processed automatically they are status Ready

    Hi Experts ,
    Queues in outbound(smq2), not processed automatically they are status Ready from long time, RFC is working fine
    i tried to process maually one by one ,but they are many.
    how can i execute this , need your inputs.
    thanks in advance
    vamsi

    Check that the scheduler is running in SMQR
    Read,
    http://help.sap.com/saphelp_nw04s/Helpdata/EN/e4/df5f3c8dde1c67e10000000a114084/content.htm
    Regards
    Juan

Maybe you are looking for

  • Error while installing Database 10g on Linux Enterprise 5

    Hi All, When I tried to install Database 10g this error apears All installer requirements met. Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-02-05_12-55-24PM. Please wait ...bash-3.2$ Exception in thread "main" java.lang.Uns

  • Ichat times out when trying to sign in

    I am in Europe for the year and haven't been able to get my ichat to sign on in my new apartment. I am not good with computers and do not know where to begin with trouble shooting this problem. I have done a lot of reading on sign in problems, but I

  • SAP Standard Exits for ME51n/52n/53n

    Hi Friends, Please tell me is there any SAP standard Exits for Purchase requisition Me51n/me52n/me53n.. Thanks in Advance.......... Ravi

  • How to represent # in hyperlink URLs

    I have a series of URLs that I want to use in hyperlinks, that all have a hash character in them. The hash character is necessary to load the page properly. However, when I enter the URL "as is", the hash becomes %23 in the address bar, and the page

  • Production order layout - PLD or crystal reports

    hello all I need to create a layout for the Production Order. I want to try crystal reports or PLD. My problem is this - For each production order linked to the same SALES ORDER, I need to print one Production Order layout(JOBCARD) with the work inst