|
|
| Author |
Message |
ragin
New User
Joined: 20 Feb 2005 Posts: 16
|
|
|
|
HI all,
How can u cancel a job in JCL while execution? |
|
| Back to top |
|
 |
References
|
|
 |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3304 Location: Charlotte,NC USA
|
|
|
|
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 |
|
 |
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 102 Location: Navi Mumbai, India
|
|
|
|
| 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 |
|
 |
|
|
|