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 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: 10210
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 between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Command UNIQUE CONSTRAINT on any tabl... rohanthengal DB2 2 Thu Aug 18, 2016 3:48 pm


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