Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

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

    • 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