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. io_z308 ... unique constraint violated due to lowercase characters

    io_z308 ... unique constraint violated due to lowercase characters

    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: 20

    Problem Symptoms:
    When trying to update patron barcodes (or other z308 ID's) with new values using file-20 (Patron Loader), the following Oracle message appears in the logfile:

    io_z308 routine failed while trying to WRITE.
    Oracle error: io_z308_write --- ORA-00001: unique constraint (ABC00.Z308_ID) violated

    Cause:
    Lowercase data in the Z308-KEY-DATA fields

    Resolution:
    Change the z308-section in the PLIF-input-file to all uppercase

    In Aleph the Z308-KEY-DATA is always in uppercase.

    Before Example:
    <record-action>I</record-action>
    <z308-key-type>01</z308-key-type>
    <z308-key-data>newbar1</z308-key-data> <------------------Lowercase
    <z308-user-library>XXX50</z308-user-library>
    <z308-verification>19800101</z308-verification>
    <z308-verification-type>00</z308-verification-type>
    <z308-status>AC</z308-status>
    <z308-encryption>H</z308-encryption>
    </z308>

    After Example:
    <record-action>I</record-action>
    <z308-key-type>01</z308-key-type>
    <z308-key-data>NEWBAR1</z308-key-data> <---------------------------- Uppercase
    <z308-user-library>XXX50</z308-user-library>
    <z308-verification>NEWBAR1</z308-verification>
    <z308-verification-type>00</z308-verification-type>
    <z308-status>AC</z308-status>
    <z308-encryption>H</z308-encryption>
    </z308>

    Additional Information

    See   Article  000046191   p_file_20: unique constraint (...Z308_ID) violated  for other causes of z308 unique constraint  (-- not related to uppercase/lowercase).

    Category: Circulation


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • io_z303 routine failed while trying to X
      • io_z34_write error with ORA-00942
    • Was this article helpful?

    Recommended articles

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