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. Can't create hold request: unique constraint ...Z37_ID2 violated

    Can't create hold request: unique constraint ...Z37_ID2 violated

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    • Article Type: General
    • Product: Aleph
    • Product Version: 17.01

    Description:
    When we try to place a hold/recall in the Web or GUI, it pauses for a few secords and doesn't give any error, but no request is created. We see these errors in the server log:

    Oracle error: io_z37_write
    ORA-00001: unique constraint (HVD50.Z37_ID2) violated.

    And the hold request is not created. Why?

    Resolution:
    The z37_id2 index is built on the z37_request_number. (Both the field and the index are new in version 17.02.) The z37_id2 is defined as "UNIQUE".

    The unique constraint z37_id2 erro indicates that this request's z37_request_number is already present in an existing request.

    The system gets the request number by adding 1 to the xxx50 util g/2 last-request-number. This value should be equal to or greater than any existing z37_request_number. This SQL will give you the current highest z37_request_number:

    SQL> select max(z37_request_number) from z37;

    In at least one case, though max(z37_request_number) was blank, it seemed that changing the last-request-number to a value higher than "0" corrected the problem.

    If the problem is z37's converted from a pre-v17 version which have blank z37_request_number's, please consult KB 4937.

    Additional Information

    faq


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Can't create a new record or open a catalog template
      • Can't create invoice; "memory could not be read."
    • Was this article helpful?

    Recommended articles

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