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!

write with lock

Status
Not open for further replies.

Katla

Programmer
Jun 21, 2001
3
US
I am running same program 5 instances with different inputs but same output files. This program has one ISAM file and sequential file.

ISAM file is getting populated correctly. But I am having problem with sequential file. It is giving the record breaks (half record from one program and another from other program). How can I avoid this problem?

I want to another program to wait while other program is populating the sequential file

Help please!!.

Thanks.
 
Katla,
If you want each of the five programs to add data to the sequential file, open the sequential file as 'extend'. Hope this helps
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top