|
Hi Steve,
There is one program that generates the check number. It is a simple RPG that chains the file by company only, adds 1 to the existing number and places this on the screen for the user.
Are there two files (a control file holding the last check number, and the detail file containing the details including the newly-created check number) or are you getting the last check number from the detail file itself? The point being that if it is a timing issue and the program is failing between the moment the detail file gets its record and the control file gets it's, then you have a duplicate situation.
Can you lay out a brief outline of the timing of the events along the lines of:
1 co chain control 2 add 1 check 3 update control 4 exfmt ... time passes 5 key chain details 6 write details
I was told that for checks, they don't
> indicate the division ever, only
company.
If the database keys are co, div, batch, check then that information is not correct. It may be what is _desired_ but the database does not enforce that rule.
I still want to know what happens to
> the file lock, when a term. freezes. What does it mean when you say 'term. freezes?' --buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.