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

what happens when IDCAMS is used to delete VSAM?


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
softwareengineer

New User


Joined: 24 Aug 2005
Posts: 24
Location: Hyderabad

PostPosted: Wed Mar 01, 2006 3:36 pm
Reply with quote

Hi,

Please anyone tell me, what happens when we delete a VSAM file ( Consisting 1000 recs) ?
If we use IDCAMS to do so, will that VSAM dataset records get deleted or the vsam name gets deleted ?
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 01, 2006 4:31 pm
Reply with quote

Both.
Back to top
View user's profile Send private message
softwareengineer

New User


Joined: 24 Aug 2005
Posts: 24
Location: Hyderabad

PostPosted: Wed Mar 01, 2006 4:53 pm
Reply with quote

Hi,

Is it possible to delete only records in Vsam(Either KSDS,ESDS,RRDS) with out deleting the dataset ?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

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

Quote:
Is it possible to delete only records in Vsam(Either KSDS,ESDS,RRDS) with out deleting the dataset ?

Deleting records is not possible in ESDS, how ever it could be done in KSDS and RRDS.

Regards,
Priyesh.
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Wed Mar 01, 2006 6:13 pm
Reply with quote

Hi Priyesh,

Quote:
Deleting records is not possible in ESDS, how ever it could be done in KSDS and RRDS.


Can we delete all the records by moving dummy in VSAM file?

Regards
Rupesh
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts How to delete a user's alias from the... JCL & VSAM 11
Search our Forums:

Back to Top