Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Difference between DELETE and CATALOG in DISP

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

New User


Joined: 08 Mar 2005
Posts: 6
Location: chennai

PostPosted: Wed Apr 20, 2005 8:15 pm    Post subject: Difference between DELETE and CATALOG in DISP
Reply with quote

hi everybody,

i have a doubt regarding the DELETE AND CATALOG IN DISP, i read that DELETE will not delete the dataset phsically till it is written over, but uncatalogues the entry in system catalog.

and for CATALOG also the same thing.

please tell me the difference, if possible with an example


hope i will get the answer. thanq.......
Back to top
View user's profile Send private message

machswap

New User


Joined: 19 Apr 2005
Posts: 14

PostPosted: Wed Apr 20, 2005 10:49 pm    Post subject: Re: JCL doubt - difference between DELETE and CATALOG in DIS
Reply with quote

Hi,


Delete will delete the dataset physically.

Regards,
Back to top
View user's profile Send private message
umabsr

New User


Joined: 08 Mar 2005
Posts: 6
Location: chennai

PostPosted: Thu Apr 21, 2005 10:54 am    Post subject: Re: JCL doubt - difference between DELETE and CATALOG in DIS
Reply with quote

hello sir,

u told that delete deletes the data set physically, i think it not so, please verify sir, i read that i just uncatalogues the entry in system catalog and don't deletes physically until it is written over.


please verify sir, and please give me the correct difference.






thanks,
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Fri Feb 15, 2008 8:04 pm    Post subject:
Reply with quote

DELETE will not physically delete the dataset, unless the space occupied by the dataset is required for a new dataset.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10327
Location: italy

PostPosted: Fri Feb 15, 2008 8:21 pm    Post subject: Reply to: Difference between DELETE and CATALOG in DISP
Reply with quote

Gentlemen please,
lets reach an agreement on the terminology

disp = catalog will...
create a catalog entry for a newly created/allocated datasets

disp = delete will...
1 - uncatalog the dataset from the catalog
2 - delete the dataset entry from the VTOC of the dasd volumes were the dataset resided

if the dataset was referred using the unit and vol parameters only action 2
will be performed, leaving behind an undesirable situation
( You will find a catalog entry for the dataset, but no dataset.. ugly isn' t it )

the two actions will happen at different times in the dataset life


as far as the physical term is concerned...
the bits of the dataset will conceptually still be there
but unreachable by common means

You might want to check for tools for data security erase of the unused part of a dataset after close
or the full extent at delete time
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 Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us