View previous topic :: View next topic |
Author |
Message |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Wed Oct 18, 2006 9:51 pm Post subject: how to cancel a job! |
|
|
Hi,everyone
I submited a job (about IMS DBT unload) and got a strange situation.
At first it runs good ,but then I saw a 'E37' error in job message,but the job still running.So I check in the options SD.DA,I found that SIO column and CPU% column are all zero,unlike the other normal jobs,it is not highlighted,and the Pos column is not 'IN' ,it's 'LP' !
What's more,the job seems like can't be stoped by ordinary commands ,I try 'cancel' or 'purge',but it doesn't work,Could you explain this,plz |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12383 Topics: 75 Location: San Jose
|
Posted: Thu Oct 19, 2006 7:13 am Post subject: |
|
|
jacky_ying,
Since it is an IMS Job , it will take time to cancel , but eventually it will cancel out.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Fri Oct 20, 2006 8:52 am Post subject: |
|
|
thank kolusu
Below is what I saw in the SD.DA
Code: | NP JOBNAME StepName ProcStep JobID Owner C Pos DP Paging SIO CPU%
TSOU001 IKJACCAP TCPSD283 TSU53339 TSOU001 IN E3 0.00 0.00 3.02
MYDBTULD STEP020 U JOB53348 TSOU001 B LO FF 0.00 0.00 0.00
NP JOBNAME Real ASID ASIDX EXCP-Cnt CPU-Time SR Status SysName SPag
TSOU001 3422 159 009F 2,815 17.61 SYS1 0
MYDBTULD 4489 212 00D4 640,974 130.93 DW SYS1 0
NP JOBNAME SCPU% Workload SrvClass SP ResGroup Server Quiesce ECPU-Time
TSOU001 7 TSO TSO 1 NO 17.61
MYDBTULD 7 BATCH BATWMED 1 NO 130.93
NP JOBNAME ECPU% CPUCrit StorCrit RptClass MemLimit Tran-Act Tran-Res Spin
TSOU001 3.02 NO NO 16383PB 0:00:00 0:00:00 NO
MYDBTULD 0.00 NO NO RBATCH 0:00:00 0:00:00 NO |
RESPONSE=SYS1
HASP890 JOB(MYDBTULD)
HASP890 JOB(MYDBTULD) STATUS=(EXECUTING/SYS1),CLASS=B,
HASP890 PRIORITY=9,SYSAFF=(ANY),HOLD=(NONE),
HASP890 PURGE=YES,CANCEL=YES
From above message,The job MYDBTULD's address spaces positon is 'logically swap out'(POS=LO) and swap reason code is 'detected wait' (SR=DW),but I don't exactly know what it means
I try 'purge' and 'cancel' and wait for several hours,the job still in EXECUTING status. So the dataset allocate by this job is keeping in using status,that's awful,I think there might be a way to stop the job immediately.=^_^= |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Oct 20, 2006 10:27 am Post subject: |
|
|
Is your job running as a BMP? |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Fri Oct 20, 2006 10:49 am Post subject: |
|
|
it's a IMS DBT unload job(PGM=FABCUR1),not BMP.it doesn't need to connect to IMS control region. |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Fri Oct 20, 2006 10:57 am Post subject: |
|
|
OK. then you wouldn't need to cancel it through the IMS control region. Could you canel it by ASID? |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Sat Oct 21, 2006 3:30 am Post subject: |
|
|
How to cancel it by ASID?Do you mean /$C JOBnnnnn,A=XXX ???,if so,it doesn't work! |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Sat Oct 21, 2006 6:58 am Post subject: |
|
|
Whoa,mea culpa,there is no such things like '/$C JOBnnnnn,A=XXX ???', correct my post :
How to cancel it by ASID?Do you mean /C JOBnnnnn,DUMP,A=asid ???,if so,it doesn't work! |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Sat Oct 21, 2006 9:00 am Post subject: |
|
|
I tried SDSF command:C, CD, CDA, P
I tried MVS command:/C JOBnnnn,/C JOBnnnn,DUMP
I tried JES2 command:/$C JOBnnnn,/$C JOBnnnn,DUMP
but the job stuck stubbornly,and some dataset still be hold by the job |
|
Back to top |
|
 |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Sun Oct 22, 2006 4:55 am Post subject: |
|
|
Is it a DJC job?If it is a network dependent job use NC command .
cheers,
VJ |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Mon Oct 23, 2006 7:01 am Post subject: |
|
|
no,it's not a network dependent job |
|
Back to top |
|
 |
Bithead Advanced

Joined: 03 Jan 2003 Posts: 550 Topics: 23 Location: Michigan, USA
|
Posted: Mon Oct 23, 2006 1:29 pm Post subject: |
|
|
I believe that you need to use the hex. value of the ASID. |
|
Back to top |
|
 |
jacky_ying Beginner
Joined: 25 Jul 2004 Posts: 46 Topics: 20
|
Posted: Tue Oct 24, 2006 5:02 am Post subject: |
|
|
I knew that,In this case ASID=0D4.
oops,the job has been stuck for three days,and there's nothing I can do about it |
|
Back to top |
|
 |
nevilh Beginner
Joined: 11 Aug 2004 Posts: 115 Topics: 0
|
Posted: Tue Oct 24, 2006 6:57 am Post subject: |
|
|
Have you tried the following command.
Force jobname,ARM |
|
Back to top |
|
 |
vjkumk Beginner
Joined: 28 Sep 2005 Posts: 98 Topics: 33
|
Posted: Wed Oct 25, 2006 4:27 am Post subject: |
|
|
FYI...
here are list of the commands that can be given in EJES.
[code:1:650a38fccf]
+---------------------------------------------------+
|
|
Back to top |
|
 |
|
|