Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RM/Cobol-SCO Unix: File not updating correctly 1

Status
Not open for further replies.

cbs003

Programmer
May 20, 2002
2
US
I'm using RM/Cobol-85 on a Compaq pc with SCO-Unix Open Server 5. I have a small indexed file with a record for each user that maintains a pointer of where they are in a larger file so that when they exit the program and return later, they will pick up where they left off. This file is accessed constantly by up to twenty or so users but somehow it is not getting updated all the time. I thought it may have something to do with the file being so small that the entire file fits into the buffer for each user and is being rewritten incorrectly. I changed my update tactics to close the file after each rewrite to force an update but it still doesn't always update the file.
 
First, this would seem to be a question for Liant Technical Support.

You don't have to change your program logic to open/close the file. You may use the rmdefinx utility to change the performance/recoverability options to force the file closed after each update. Tom Morrison
 
Tom,

I should have included that I had used rmdefinx to make the file forced write in the problem description.

I have two problems with contacting Liant support, I'm not using the current version of RM-Cobol and I don't have a support contract.

I was hoping someone here had encountered the same problem and maybe had a way around it.

Thanks for your reply,
Bert

 
Bert,

Thanks for the star. [thumbsup]

Send me the code and I'll have a look. Try to reduce the code to the minimum possible that still exhibits the problem. I will also check the problem database.

My email is t.morrison at the obvious domain.com Tom Morrison
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top