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. PLIF: How to change the z308-key-data field in a patron record

    PLIF: How to change the z308-key-data field in a patron record

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

    Desired Outcome Goal:
    Trying to change the z308-key-data field in a patron record using PLIF (p_file_20) with record-action=U (Update) is not possible but results in ...

    <record-action> = A -> another entry for z308-key-type = 05 is added
    <record-action> = U -> Error message:

    Error (b_file_20_chk_edit_record) :
    Record No 000001
    z308-rec-key does not exist (05UNGUELTIG USM50)

    Input file for PLIF is

    <?xml version="1.0" encoding="UTF-8"?>
    <p-file-20>
    <patron-record>
    <z303>
    <match-id>123456</match-id>
    <match-id-type>00</match-id-type>
    <record-action>X</record-action>
    </z303>
    <z308>
    <record-action>U</record-action>
    <z308-key-data>GUELTIG</z308-key-data>
    <z308-key-type>05</z308-key-type>
    <z308-verification>0000</z308-verification>
    <z308-verification-type>02</z308-verification-type>
    </z308>
    </patron-record>
    </p-file-20>

    Procedure:
    In general it's possible to change existing numbers. However a patron in Aleph can have several IDs with different values but the same key type. This results in the following: With <record-action> = A PLIF thinks that a new record has to be added, with <record-action> = U there is a problem because there could be several Ids with identical key type and the system does not know which one to modify. Therefore you can only (in one PLIF file) delete the "old" Z308 record (record-action D), then add the new record. The input file should look like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <p-file-20>
    <patron-record>
    <z303>
    <match-id>123456</match-id>
    <match-id-type>00</match-id-type>
    <record-action>X</record-action>
    </z303>
    <z308>
    <record-action>D</record-action>
    <z308-key-data>UNGUELTIG</z308-key-data>
    <z308-key-type>05</z308-key-type>
    <z308-verification>0000</z308-verification>
    <z308-verification-type>02</z308-verification-type>
    </z308>
    <z308>
    <record-action>A</record-action>
    <z308-key-data>GUELTIG</z308-key-data>
    <z308-key-type>05</z308-key-type>
    <z308-verification>0000</z308-verification>
    <z308-verification-type>02</z308-verification-type>
    </z308>
    </patron-record>
    </p-file-20>

    Category: Circulation/ALEPH

    Subject: ALEPH - 500


    • Article last edited: 9/24/2014
    View article in the Exlibris Knowledge Center
    1. Back to top
      • PLIF Questions:how to specify ignored/blanked fields in XML format?
      • PLS-00201: identifier 'ETL DQA.RUN PROCESS LOG' must be declared
    • Was this article helpful?

    Recommended articles

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