Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. p_manage_01: "Unable to read file ... bad length for VAR record"

    p_manage_01: "Unable to read file ... bad length for VAR record"

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • 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
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_manage 01: "cannot CREATE UNIQUE INDEX; duplicate keys found"
      • p_manage_01: 350: Syntax error at line 1. Expecting keyword LOAD, found "1".
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 20
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved