IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to stop a running job


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Sat Dec 10, 2005 8:21 am
Reply with quote

hi buddies,

In windows we can kill a running process by pressing alt+cntl+del.And also we can kill the process in UNIX using process number.But how to kill in mainframes?.
What I mean to ask you is, how to stop a running job in mainframes.

regards
TVM
Back to top
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Sat Dec 10, 2005 11:24 am
Reply with quote

Hi tvmkishore,

To my understanding you can either put the job on HOLD or you can PURGE the job which you want to stop.

Just let me know if any other solution exists.


Hope this helps.
Back to top
View user's profile Send private message
yogeshbabu

New User


Joined: 30 Nov 2005
Posts: 19
Location: India

PostPosted: Sat Dec 10, 2005 4:38 pm
Reply with quote

Hi,
You can also use 'C' option to cancel a running job.

Regards,
Yogesh.
Back to top
View user's profile Send private message
mak_tcs

New User


Joined: 23 Nov 2005
Posts: 69
Location: Minneapolis, MN USA

PostPosted: Mon Dec 12, 2005 11:09 am
Reply with quote

Hi all,

Let me add some points.

we can stop running Mainframe job by either typing C or P before the job.

Difference being typing C will cancel the job but the job remains in the spool. But typing P will purge the job leaving no mark of the same in the spool.

Thanks,
Mani
Back to top
View user's profile Send private message
Guest







PostPosted: Tue Dec 13, 2005 12:30 am
Reply with quote

Sorry for the above message can any body please delete the above message

Actual message I want to pass is this:
____________________________________________________________
Dear buddies thanks for u r participation in the discussion

Here is another question

In SDSF;DA if we write owner="our ID" we will see our own user job is being executed even though we are not execution any jobs.
NOW MY QUESTION IS WHAT HAPPENS IF I CANCEL THAT JOB?

i don’t want to practice on my live machine that is why i am asking could any body help me by answering this question?


Regards
Tvmkishore
Back to top
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Tue Dec 13, 2005 6:22 am
Reply with quote

Hi tvmkishore,

If you cancel that job, your session will expire i.e. your connection gets disconnected with the message "System completion code was found 222".


Hope this helps.
Back to top
View user's profile Send private message
Guest







PostPosted: Tue Dec 13, 2005 6:29 am
Reply with quote

hi iknow,

thanks for the quick reply. In doing so can i log in again or any problem will occur?

cheers
tvmkishore.
Back to top
iknow

Active User


Joined: 22 Aug 2005
Posts: 411
Location: Colarado, US

PostPosted: Tue Dec 13, 2005 6:42 am
Reply with quote

Hi tvmkishore,

You can logon to your system for the next time. There won't be any difficulties.

I strongly suggest not to practice on live mainframes.


Hope this helps.
Back to top
View user's profile Send private message
jsathishbabu84

New User


Joined: 07 Jun 2007
Posts: 22
Location: India

PostPosted: Wed May 07, 2008 6:28 pm
Reply with quote

Hi,

All the information above specifies how a job can be cancelled or purged in online. Can anyone tell me if the job can be purged through batch by submitted another job??

SARBCH is used to retrieve the information from SAR, likewise is there any way for SPOOL.

Please advice.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon May 12, 2008 9:05 pm
Reply with quote

Have you tried hitting the escape key twice?
Back to top
View user's profile Send private message
jsathishbabu84

New User


Joined: 07 Jun 2007
Posts: 22
Location: India

PostPosted: Mon May 12, 2008 9:11 pm
Reply with quote

My requirement is to purge a set of jobs in spool.. I dont get the need to press escape key twice here...
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 12, 2008 10:01 pm
Reply with quote

Hello,

If you have permission to delete the jobs, you should be able to do this using sdsf in batch (there several topics about batch sdsf in the forum).

If you find a batch sdsf execution and have questions, post what you found and the question(s) about it.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Tue May 13, 2008 6:23 pm
Reply with quote

Sorry JS,

I was answering the OP. It's a good idea to open your own thread if you have a problem; avoids confusion. Also - memo to MMWIFE - read the posts before you reply. icon_redface.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Running a Job with the Default User ID JCL & VSAM 2
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Ca7 long running jobs report All Other Mainframe Topics 1
No new posts Cobol-db2 : SQL query is running for ... DB2 4
Search our Forums:

Back to Top