Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to stop a running job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Guest







PostPosted: Sat Dec 10, 2005 8:21 am    Post subject: how to stop a running job
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: 413
Location: Colarado, US

PostPosted: Sat Dec 10, 2005 11:24 am    Post subject: Re: how to kill a process
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    Post subject:
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    Post subject:
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    Post subject:
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: 413
Location: Colarado, US

PostPosted: Tue Dec 13, 2005 6:22 am    Post subject: Re: how to stop a running job in mainframes
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    Post subject:
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: 413
Location: Colarado, US

PostPosted: Tue Dec 13, 2005 6:42 am    Post subject: Re: how to stop a running job in mainframes
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    Post subject: Reply to: how to stop a running job in mainframes
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    Post subject:
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    Post subject: Reply to: how to stop a running job
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

Site Director


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

PostPosted: Mon May 12, 2008 10:01 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts Problem in Running Query via JCL vickey_dw DB2 3 Tue Oct 18, 2016 11:11 pm
No new posts Syntax for running batch history repo... polymathtarun CA Products 1 Tue Jun 21, 2016 1:51 pm
No new posts Jobs from iseries not running in sequ... lyd All Other Mainframe Topics 4 Mon Jan 18, 2016 1:17 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us