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_18 truncating record but not issuing a message

    p_manage_18 truncating record but not issuing a message

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    Description:
    MARC record has been converted to aleph seq format with p_file_01 / p_file_02.

    1. p_file_02 log showed: Record length 000062000 truncated + number of tags 1157 truncated to 1000
    Output file: "hol-trunc-converted" (/exlibris1/nyu60/scratch)
    Total: 1002 lines

    2. File "hol-trunc-converted" (truncated by p_file_02) was loaded to ABC60 with p_manage_18
    Result: record loaded by p_manage_18 contains fewer tags than the input record (the record output by p_file_02)
    File name: "hol-trunc-converted-loaded"
    Total: 806 lines vs. 1002 lines in "hol-trunc-converted"

    Why does p_manage_18 truncate additional fields from a record that has been already truncated by p_file_02?

    Resolution:
    We see that the length of loaded doc is 44998:

    >> s+ abc60
    SQL-ABC60>> select Z00_DATA_LEN from z00 where Z00_DOC_NUMBER='003554569';
    Z00_DATA_LEN
    ------------
    44998

    The length of 44998 is only two bytes short of the doc record size limit of 45000.

    It seems that p_file_02 is not truncating enough fields to avoid this problem.

    It seems to me that when p_manage_18 does this truncation it should be producing a message.

    In any case, you need to either delete fields from the input record or split it into multiple records.

    (Keywords: p-file-01 file_01 p-file-02 file_02 p-manage-18 manage_18)


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • p_manage_18 produced 6,000+ z07's with z07_sequence "1990 ..."
      • p_manage_18; SET Z52_SEQUENCE; "ORA-01722: invalid number"
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. 18.01
      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