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. manage-62: z30h: unique constraint violated

    manage-62: z30h: unique constraint violated

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Additional Information
    2.  
    • Product: Aleph
    • Product Version: 20, 21, 22, 23
    • Relevant for Installation Type: select the relevant: Dedicated-Direct,Direct,Local,Total Care

     

    Description:

    In running manage-62 (p_manage_62) the following error appears repeatedly:

     

      Oracle error: io_z30h_write

      ORA-00001: unique constraint (XXX50.Z30H_ID) violated

     

      Failed to Write item history :088888888-600001

     

    Resolution:

    The z30h_rec_key is assigned by adding 1 to the highest existing Z30H-SEQUENCE number for this Z30H-DOC-NUMBER + Z30H-ITEM-SEQUENCE and using that as the Z30H-SEQUENCE for this new z30h record.

     

    The highest Z30H-SEQUENCE for this item was 999999.  Adding 1 to it gave 000001 and the system was trying to create a record with Z30H-SEQUENCE 000001 -- which already existed.

     

    Since there was no z30 record for this item key ("088888888-600001") SQL was used to delete these extraneous z30h records.  (Note: in version 22-up the util x/13 utility could be used.)

     

    After doing this, there were other problems with manage-62.  See article ("manage-62 hangs when no input file is specified") in this regard.

     

    Note:  If large numbers of items are being read/changed (such as when no input file is being used),  making the change via SQL will be faster.

     

    Additional Information

     Article:  "manage-62 hangs when no input file is specified"   https://knowledge.exlibrisgroup.com/...e_is_specified

     

    View article in the Exlibris Knowledge Center
    1. Back to top
      • manage-62: Unable to change sublibrary/collection in items
      • manage-70: "Library mismatch error"
    • Was this article helpful?

    Recommended articles

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