cancel
Showing results for 
Search instead for 
Did you mean: 

How to stop a DIA process ?

Former Member
0 Kudos

hi all,

i have one stubborn DIA process running for very long hours in SM50. I tried to kill it in SM50 and also tried to kill its session in SM04.

both also failed.

i was advised to kill the process at OS level, how do i do that in OS/400 ?

pls advise.

thanks

regards,

kent

Environment

NW 2004S SR2 (Kernel 7.00 for OS/400)

ERP 2005 SR2 (ECC6)

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

logon on telnet with SIDOFR user.

execute following command

wrkactjob sbs(r3_<instance>)

now page down and navigate to workprocess which is not stopped from SM50

under option give 4 -> f4 -> how to end -> *IMMED and press enter. this will end the workprocess wait for some time.

this happen due when you trying to kill workprocess from SM50 the workprocess will trying to end but the corresponding shadow process is not end .

regards,

kaushal

Former Member
0 Kudos

hi kaushal,

these steps is to kill the WP (workprocess). after i end the WP, how do i bring it up ? otherwise my system will be short of one WP.

can't i just kill that single job instead of the WP itself ? because in SM50 the job has a PID number.

pls advise.

thanks.

regards,

Kent

Environment

NW 2004S SR2 (Kernel 7.00 for OS/400)

ERP 2005 SR2 (ECC6)

Former Member
0 Kudos

Hi,

your work process is stuck, when you kill WP from OS it'll end and correspniding PID is also end and WP is started automatically and new PID is assign to this WP

so you dion't worry about that for system will be short of one WP

regards,

kaushal

Former Member
0 Kudos

hi kaushal,

the WP status was in THDW

from F1 - THDW = The initial thread is waiting for another thread

to complete an operation.

after i end the WP as per your advice and waited for awhile .. the job was killed and removed from SM50.

at OS level, the WP status changed to END .. i worried it will not come back to SEMW. But after awhile it is alive ...

bravo .. thanks for your solution.

regards,

kent

Answers (0)