p_manage_01: "Unable to read file ... bad length for VAR record"
- Article Type: General
- Product: Aleph
- Product Version: 20
Description:
We see the following error in running p_manage_01 in abc10, in the p_manage_01_d1.log:
Cycle : 127
...
table_type = VAR load_mode = DIRECT option = go
Username:SQL*Loader-501: Unable to read file (/exlibris/aleph/u20_1/abc0/files/z95.seq)
SQL*Loader-563: bad length for VAR record
SQL*Loader-509: System error: Error 0
The job continues, but we are concerned that this error indicates that some z95 keyword records are not being loaded.
Resolution:
There should be one z95 record for each z00. The following SQL shows that the there are 5001 fewer:
abc10@ALEPH20> select count (*) from z00;
**** Hit return to continue ****
COUNT(*)
----------
3627629
abc10@ALEPH20> select count (*) from z95;
**** Hit return to continue ****
COUNT(*)
----------
3622628
(5001 was the cycle size in this run of p_manage_01.)
This SQL shows which z95's are missing:
abc10@ALEPH20> select z00_doc_number from z00 minus select z95_doc_number from z95 order by z00_doc_number;
**** Hit return to continue ****
Z00_DOC_N
---------
000630001
000630002
000630003
000630004
<etc.>
As we see in the p_manage_01_a.cycles file cycle 127 includes records 000630001-000635000.
I suggest that you rerun the abc10 p_manage_01 with the prof_library p_manage_01_loop_length 50000.
- Article last edited: 10/8/2013