cancel
Showing results for 
Search instead for 
Did you mean: 

Queue

Former Member
0 Kudos

Hi,

A message is been scheduled in a queue and is been running since yesterday. It is been in green flag on sxmb)moni and shows as scheduled.

I checked the queue name and is still running.

What should i be doing now?

What would be the problem ?

Regards,

Anandh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

1) clear the queues in SMQ2,first try to activate them,if that doesn't work them delete them

2)You may need to re-register your queues.

Follow SXMB_ADM -> Manage Queues -> Deregister Queues

Afterwards, re-register the queues and activate from the same screen

3)Only use SMQ1 (outbound queues) and SMQ2 (inbound queues) if re-registering doesn't fix it. You will need to give the queues sometime to get activated so be patient.

4)From SXMB_MONI go to Queue ID of the message, a click here shall take you to qRFC monitor.

if the messages are stuck, you should see an entry indicating number of messages stuck in the queue.

a double click on the entry shall take you to detailed list.

if the messages are stuck because of any error (other than queue not registered etc for e.g. a message failure) then the first message shall show you that.

if indeed you find a message stuck in the queue then the way is to delete the stuck message (DONT DO THIS IN PRODUCTION SERVER without being sure of what does this mean for that particular process !!) and unlock the queue from previous screen.

5)Go to smq2 and execute F8. Then it should come as Nothing was Selected.

If any queues are present then open a queue.if the status is SYS ERROR check the entries,right click on the status text and give save LUW.This brings queue to READY. .

GoTo-> Qin Scheduler: check for the scheduler status to be inactive->Edit-> Activate Scheduler: status frm inactive to starting to wait.Now the queue will be RUNNING.U can see the entries in the queue moving.

Now go to SMQ3, right click on the queue and give Restore LUW.

6)this basically means tht message is waiting in the queue.

in sxmb_moni go to queue Id column and double click on the entry .It will take u to SMQ2.Check the status of the queue

If its SYSFAIL or STOP then double click on it and try to correct the error.After correcting the error send the message again.Also check whether the Queeu is Registred in transaction SMQR.

7)Select your queue form the sxmb_moni, you will reacht he QRFC monitor.

Here you will see some lock figures on the , Select on the 'Unlock Queues'. Activate your queues once again.

This is if your data is correct and queue is stuck. You should only delete the queue if it has errored out due to incorrect data and you need to urgenetly process the rest of the data in the queue.

If you drill down one step more than selct the error message and on the menu select edit-->Save LUW.

thanq

krishna

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Anandh,

Your message is in the same status-running- since yesterday,it means it is stuck in the queue.

Purposely,try to lock/unlock the queue manually.

Otherwise save the LUW .Use transaction code SMQ3 to Restore/Restart the LUW.

Checkout please and if satisfied please reward points.

Thanks

Regards

Sushama

Former Member
0 Kudos

hi krishnan,

in sxmb_moni find the queue for this message

go to smq2 and find the queue ,just look at count for this queue say as "xyz".

now got to se37

execute TRFC_QIN_RESTART in that give the queue name and give the LUW count as <="xyz" maximum time as 0.

execute this FM TRFC_QIN_RESTART till u find 0 messages in smq2 for this queue.

Thanks & Regards,

Rama Krishna

Edited by: rama krishna talluri on Mar 6, 2008 9:12 AM

Edited by: rama krishna talluri on Mar 6, 2008 9:13 AM

Former Member
0 Kudos

hi,

the message is stuck in the queue. As it is in the same status-running- since yesterday, you may try to lock/unlock the queue manually.

if that does not help, save the LUW and cancel the message from moni. Go to SMQ3 Restore/Restart the LUW. this is done so that you do not need to send the msg from sender all over again.

if still no success, try resending the message (if it does not affect the business)

regards,

latika.