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
 

 

what happens when IDCAMS is used to delete VSAM?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: what happens when IDCAMS is used to delete VSAM?
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

Moderator Team Head


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

PostPosted: Wed Mar 01, 2006 4:31 pm    Post subject: Re: what happens when IDCAMS is used to delete VSAM?
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    Post subject:
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: 1452
Location: Chicago, IL

PostPosted: Wed Mar 01, 2006 5:49 pm    Post subject: Re: what happens when IDCAMS is used to delete VSAM?
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: 464

PostPosted: Wed Mar 01, 2006 6:13 pm    Post subject: Re: what happens when IDCAMS is used to delete VSAM?
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
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 BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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