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 Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 4 Wed Jan 11, 2017 6:18 pm


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