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 

How to update the multiple records in Alternate Index

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
mayuresh.tendulkar
Beginner


Joined: 25 Apr 2003
Posts: 31
Topics: 6
Location: Pune

PostPosted: Wed Jul 23, 2003 9:37 am    Post subject: How to update the multiple records in Alternate Index Reply with quote

Hello All,

I have one query, My Alternate index is having about 1,00,000 records (with duplicates) and I want to update those duplicate records with some information.

Currently I am doing the following procedure to do it:

1) Browse the file using STARTBR
2) READNEXT with the Key.
3) Get the pointer and ENDBR the file
4) Again READ the record with UPDATE and then REWRITE the record


Here I am reading the record twice.

What I wanted to ask is, Is there any optmized way of doing this?

Thanks
Mayuresh Tendulkar
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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