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

VSAM random update


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
erjyoti

New User


Joined: 25 Feb 2009
Posts: 1
Location: Delhi

PostPosted: Mon Mar 02, 2009 4:00 pm
Reply with quote

Hi,

I have program in which I need to update VSAM file with field called pair, by reading it sequentially. But in VSAM file records are stored key ascending order. So when I update VSAM file, it is storing records in ascending order.
when I want to update new record, with 'pair', it takes whichever last stored value and update new one. So i am getting duplicate values in this field. Please let me know how can I update VSAM file without duplicating value

Thanks,
Jyoti
Back to top
View user's profile Send private message
ashimer

Active Member


Joined: 13 Feb 2004
Posts: 551
Location: Bangalore

PostPosted: Mon Mar 02, 2009 6:13 pm
Reply with quote

seems to be a programming issue .... can you pls elaborate with examples ?
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
Search our Forums:

Back to Top