Posted: Tue Dec 30, 2008 4:50 pm Post subject: How to write next record in VSAM using Information expert
I am facing a problem, i have declared a Vsam(ksds), in a Information expert program.I want to write a record , its doin that but when the program is used for different sources ,its over writes the previous record of another source instead of adding a next record.
Can anyone please tell me what to do to solve this problem?
It means that we are using the same program for various soucres like, we get data from diffrent feeds(input).
Does that mean that your program can get input from multiple sources and using all those inputs you want to write records only in a single VSAM ? If yes, then actually that does not provide me anything to answer your original question - you've got a single source program some input & one VSAM output but when you write second record in VSAM it does not work, is this your question ? _________________ Regards,
Yes this is my question.Whenver i try to run the program for any other input, it simply overwrite the previous record instead of adding a new one.
This program has other outputs also which are working fine.
At a time i use this program for one source only.
I tried to use a sequential file instead of VSAM file, then it worked fine, but i need a VSAM file..
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