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

Difference between DELETE and CATALOG in DISP


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Feb 15, 2008 8:21 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
Search our Forums:

Back to Top