MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

sort or idcams

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
yadav2005
Intermediate


Joined: 10 Jan 2005
Posts: 348
Topics: 144

PostPosted: Tue Aug 25, 2009 7:00 pm    Post subject: sort or idcams Reply with quote

I have a VSAM file which has records with keys but some bad data, what I want is to delete those records based on my key condition and then I want to copy the records from test file which I have correct data so solutions I am thinking is:

a) using sort include cond ,copy those selected records to a new VSAM file for keeping track of count
b) copy from test correct records to prod vsam file using sort

or

a) copy from test correct records to prod vsam file using idcams replace

I want to keep track of how many records were removed , how many were replaced / added. How can i know through automated way.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed Aug 26, 2009 10:34 am    Post subject: Reply with quote

yadav2005,

It depends on how your VSAM cluster is defined . Is it a KSDS? Is it defined as REUSE?

check this link which discusses vsam record manipulations.

http://www.mvsforums.com/helpboards/viewtopic.php?t=2014&highlight=vsam+add
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group