Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
deleting vsam records

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
kumar_ngl
Warnings : 1

Active User


Joined: 05 Aug 2005
Posts: 51
Location: chennai

PostPosted: Thu Sep 22, 2005 4:50 pm    Post subject: deleting vsam records
Reply with quote

Hi,

I have a vsam file of some 1000 records. i want to delete the first 100 recs and after that the 130th record and 50 records from the last.

thanks,
kumar.p.v
Back to top
View user's profile Send private message
References
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 489

PostPosted: Thu Sep 22, 2005 5:50 pm    Post subject: Re: deleting vsam records
Reply with quote

HI,


Quote:
I have a vsam file of some 1000 records. i want to delete the first 100 recs and after that the 130th record and 50 records from the last.


The Best solution for your Question is

Copy the VSAM in Flat file

Delete the required records

Upload the flat file into VSAM file


Hope this helps

Regards

Rupesh
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1