Tuesday, August 30, 2011

How to reset SPAM/SAINT queue


Reset SAINT queue / reset SPAM queue / reset OCS queue
Find below steps to Reset the OCS queue while applying add on / support packs.
While applying add on or support packs, if process hang up in IMPORT_PROPER phase of DDIC activation phase etc and if you are not able to re import or reset the queue, please follow below procedure.
At command line on prompt
Run below command
tp r3i all pf=/usr/sap/trans/bin/TP_DOMAIN_.PFL tag=spam -Dclientcascade=yes -Drepeatonerror=8
After this it will again come on your prompt.
Then go in se37 run below program
ocs_reset_queue
Hit F8
Give following parameter
IV_TOOL = SPAM / SAINT
IV_FORCE = X
Hit execute.
Now run SPAM or SAINT and redefine your queue

6 comments:

Anonymous said...

Pernah pakai itu sekali. Tp gimana ya kalo udh bner2 "broken", misalnya ditengah2 import SAP_BASIS, setelah itu ngak bs execute satu tcode pun, krn short dump?

Unknown said...

Good stuff! You are missing the SID in the syntax. Here was mine (S01 is my SID):

tp R3I ALL S01 pf=/usr/sap/trans/bin/TP_DOMAIN_S01.PFL tag=SPAM -D"clientcascade=yes" -D"repeatonerror=8"

boldee said...

This was really usefull blog for how to reset SAPM/SAINT queue.

Ramya k said...

Thanks for the great information ,was looking for this information from long.Great blog SAP Basis Training in Chennai

Anonymous said...

Really good stuff!!!

Macnet said...

Hello!

I am facing an issue while importing several support packages for ECC 6.04 on NW 7.02 SP08.

I am applying support packages to raise NW to SP10.

my queue is comprised of the following SP's:

SAPKNA7023
SAPKB70109
SAPKA70109
SAPK-70109INPIBASIS
SAPKW70109
SAPKNA7024
SAPKB70110
SAPKA70110
SAPK-70110INPIBASIS
SAPKW70110
SAPKNA7025
SAPK-70109INSAPBSFND
SAPK-70009INWEBCUIF
SAPKH60409
SAPK-60405INP3A
SAPK-70110INSAPBSFND
SAPK-70010INWEBCUIF
SAPKH60410
SAPK-60406INP3A

they were added to the queue and after SPDD phase, SPAM got stuck on IMPORT_PROPER and there is no progress.

apart from that I get several system dumps with "type is unknown" errors when I try to run almost any transaction.

I read this command tp R3I will help but do you recommend anything else then doing this? for example: updating kernel and tp, stopping current tp processes or clearing the queue from OS level?

for me it looks too simple to be honest ehehe

thank you for your support.

kind regards