View previous topic :: View next topic
|
Author |
Message |
softwareengineer
New User
Joined: 24 Aug 2005 Posts: 24 Location: Hyderabad
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
Both. |
|
Back to top |
|
|
softwareengineer
New User
Joined: 24 Aug 2005 Posts: 24 Location: Hyderabad
|
|
|
|
Hi,
Is it possible to delete only records in Vsam(Either KSDS,ESDS,RRDS) with out deleting the dataset ? |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
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 |
|
|
|