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
 

 

Interview Question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ragin

New User


Joined: 20 Feb 2005
Posts: 16

PostPosted: Mon May 02, 2005 11:41 pm    Post subject: Interview Question
Reply with quote

HI all,
How can u cancel a job in JCL while execution?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue May 03, 2005 5:31 am    Post subject: Re: Interview Question
Reply with quote

To cancel a job, if you have MVS console authority, you can enter the JES2 cancel command "$C 'jobname'. The entire list of JES2 commands arew documented here:

http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/has2a240/CCONTENTS

If the problem was sever enough that the cancel command does not work, then an MVS FORCE command might be necessary:

CANCEL jobname, documented here:

http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/iea2g141/CCONTENTS

If you don't have console authority, you can usually still cancel your own jobs from within your JES Spool access facility (SDSF, IOF, Sysview, etc.). A cancel command would typically be a "C" (cancel), "K" (kill), or "I" (interrupt). Consult the appropriate documentation for your product.
Back to top
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Mon May 09, 2005 10:26 am    Post subject:
Reply with quote

Sometimes, its better to purge a job instead of cancelling it. You can go to s.st & type 'P' before yr job name and press enter.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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