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
 

 

difference Between purge and cancel

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: difference Between purge and cancel
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: 2360
Location: Israel

PostPosted: Wed Mar 08, 2006 4:33 pm    Post subject:
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    Post subject:
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    Post subject: Re: difference Between purge and cancel
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    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Sep 14, 2006 11:59 am    Post subject:
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    Post subject: difference Between purge and cancel
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    Post subject:
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    Post subject:
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: 755
Location: Germany

PostPosted: Fri Sep 15, 2006 1:49 pm    Post subject:
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    Post subject:
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: 755
Location: Germany

PostPosted: Fri Sep 15, 2006 6:19 pm    Post subject:
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    Post subject:
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    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 REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm


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