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. How to find duplicate HOL records (for the same sublibrary/collection)

    How to find duplicate HOL records (for the same sublibrary/collection)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Resolution

     

    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care

     

    Description

    How to find cases of item records connected to the same bib record, with the same sublibrary/collection, which have multiple HOL records (with the same 852 $$b$$c). 

    Resolution

    s+ xxx50

     

    SET LINESIZE 9
    SET PAGESIZE 0
    SET HEADING OFF
    SET FEEDBACK OFF
    SET PAUSE OFF
    SET ECHO OFF

    spool adms-with-multiple-hols.lst

    select /*+ DYNAMIC_SAMPLING(2) ALL_ROWS */ unique substr (a.z30_rec_key,1,9) from z30 a, z30 b
    where substr (a.z30_rec_key,1,9) = substr (b.z30_rec_key,1,9) and
    a.z30_sub_library = b.z30_sub_library and
    a.z30_collection = b.z30_collection and
    a.z30_hol_doc_number_x ^= b.z30_hol_doc_number_x and
    a.z30_hol_doc_number_x ^= '000000000'  and
    b.z30_hol_doc_number_x ^= '000000000'
    order by substr (a.z30_rec_key,1,9);

    spool off

    exit
     

     

     


    • Article last edited: 6-Jun-2017
    View article in the Exlibris Knowledge Center
    1. Back to top
      • How to Find Diacritic for Entry in GUI Cataloging
      • How to Find HOL Records Linked to Specific BIB Records?
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. contype:kba
      2. holdings
      3. Prod:Aleph
      4. SQL
    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