IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

deleting vsam records


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kumar_ngl
Warnings : 1

New User


Joined: 05 Aug 2005
Posts: 50
Location: chennai

PostPosted: Thu Sep 22, 2005 4:50 pm
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
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Thu Sep 22, 2005 5:50 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts To fetch records that has Ttamp value... DFSORT/ICETOOL 4
No new posts ICETOOL returns no records JCL & VSAM 1
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top