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

difference Between purge and cancel


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
medepallirao

New User


Joined: 05 May 2005
Posts: 6
Location: pune

PostPosted: Wed Mar 08, 2006 4:03 pm
Reply with quote

HI
let me know the differnce between purge and cancel of JObs in spool
thanks
venkat
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Mar 08, 2006 4:33 pm
Reply with quote

The CANCEL command just cancels the job, leaving its output in the spool. The PURGE cpmmand cancels and purges the job (and its outputs) from the spool.

O.
Back to top
View user's profile Send private message
jayant_tibhe

New User


Joined: 25 Feb 2006
Posts: 27
Location: Pune

PostPosted: Wed Mar 08, 2006 4:34 pm
Reply with quote

Hi Venkat,

The Difference between Purge & Cancel:
that cancel and purge commands work differently. If you issue a cancel command it will just cancel the job , but the job output is still available, but on the other if you issue a purge command , it not only cancels the job but also will delete the entire the job output.

Cheers icon_wink.gif
Back to top
View user's profile Send private message
medepallirao

New User


Joined: 05 May 2005
Posts: 6
Location: pune

PostPosted: Wed Mar 08, 2006 5:01 pm
Reply with quote

Thanks jayant for quick reply
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Thu Sep 14, 2006 11:34 am
Reply with quote

Hi venkat
Ur answer is very useful.
Am having a doubt in ur answer.
if we do cancel , the job output is still available .where it is available.how to check wheteher it is available or not.
after i cancel the job,I searched in spool area to check wheteher job output is availabvle or not.
but its not there..
How to check it..
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Sep 14, 2006 11:59 am
Reply with quote

SDSF --> ST
Back to top
View user's profile Send private message
sarunkumaar

New User


Joined: 31 Aug 2006
Posts: 15
Location: Chennai, India

PostPosted: Thu Sep 14, 2006 5:20 pm
Reply with quote

SDSF --> ST

Issue OWNER YOUR_ID in command prompt

then Issue PRE JOB_ID in command prompt
Back to top
View user's profile Send private message
twissi

Active User


Joined: 01 Aug 2005
Posts: 105
Location: Somerset, NJ

PostPosted: Thu Sep 14, 2006 5:38 pm
Reply with quote

Sarunkumaar,

It's the JOBNAME not the JobID that you should be prefixing..

Cheers, Twissi.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Fri Sep 15, 2006 10:32 am
Reply with quote

Hi
I tried what u told..
i cancelled one job in my spool area.
after i gave the job id which i cancelled.
It displaying "no match".

Thanks
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Fri Sep 15, 2006 1:49 pm
Reply with quote

Hi !

>> cancelled one job in my spool area

What does this mean. I think you cancel a running Job by using C in SDSF ST or DA Panel. When you do this, the JobOutput is still in SDSF-Queue. Enter ST in SDSF an you see your job. First set the Owner to your UserId.

in JESMSGLG you could see: STEP050 *S222
S222 cancel by user

Also use CD for cancel a running Job/Programm with producing a dump.

Regards, umeySan
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Fri Sep 15, 2006 5:08 pm
Reply with quote

Hi
They didnt mention anything regarding the type of job.i.e (running job or complted job).so am not cancelled runnibg job.
Just i tried with a job which is already executed job..

"cancelled one job in my spool area" means am cancelling a job in my spool area(IOF JOB SUMMARY) using 'C' OPTION.

after i cancelled a job using "C" option in spool area(IOF JOB SUMMARY ,i Gave the job id which i already cancelled
it shows "NO MATCH".

Note:
here we r using IOF instead of SD;ST.
Is there any difference?
Plz correct me if i wrong
Thanks
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Fri Sep 15, 2006 6:19 pm
Reply with quote

Hi mkssampathkumar !

Ok, thats a little bit diffrent. SDSF is a more comfortable Spool-Display/Search Utility. ST/DA are commands for SDSF.

It's long time ago i worked in an IOF-Environment, so i don't remember correctly the C-Command.

Sorry & Regards, UmeySan
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Mon Sep 18, 2006 8:59 am
Reply with quote

Hi umey
Thanks for ur reply..
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts JCL JOB Cancel/Purge Not Working JCL & VSAM 6
No new posts Difference between VALIDPROC and CHEC... DB2 3
Search our Forums:

Back to Top