Intermittent failure in superholdings creation
- Article Type: General
- Product: Aleph
- Product Version: 21
Description:
Superholdings creation in the pc_server will fail intermittently (version 18)
We have tracked this down to an unfortunate interaction between
library_conf_table.cbl and conf_table.c
When library_conf_table calls load_library_conf_table, whatever
CONF-TAB-PTR points to will be released (unless the pointer has
the initial value of all spaces).
In our typical example, the first table loaded is tab_fix_local_notes.conf.
All is well, until subsequently a search request causes a load of
tab_expand_local_notes.conf. At that point CONF-TAB-PTR still points
to the first table, so the content of tab_fix_local_notes.conf
is erased, although the library_conf_table program is unaware of this. Any subsequent
attempts to create superholdings find an empty table, and therefore
perform no action.
A simple fix is to insert the statement
MOVE SPACES TO CONF-TAB-PTR.
before the call to load_library_conf_table.
Resolution:
Corrected by v21 rep_change 165.
("Internal Note: Super holdings is a special development done only for Maryland.
It is probably the only program (not in the version) that calls different conf tables in the same program. This never worked before this fix ...)
- Article last edited: 10/8/2013