×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
What we are trying to do is make sure that a header record is being created
in the CARTHEADER file. Attempts to trap for it not existing cause the
issue below. We have a program that is writing to that file, and checking
for an error.
What we are seeing is records added to the file, but errors are returned to
the program as if it was a duplicate write. We have checked the physical
file, and there are no duplicate key issues we can tell. There are 2
non-unique logical files built over the physical. The physical file is
unique keyed by a dealer number and a unique "Next Cart" number contained in
a control file (VXACONT).
The code reads the control file, adds one to the "Next Cart" number and
updates the control file. It then uses the Next Cart number retrieved to
write a new record to the CARTHEADER file. The "IF %error() and %status() =
01021 " line is causing the code to execute the next DO loop. We see the
records added to the CARTHEADER file in sequential order like;
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.