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
 
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: 4650
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 VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 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 IDCAMS Allocate & Repro pahiker JCL & VSAM 9 Thu Aug 24, 2017 7:28 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 Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

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