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

    Patrons: making double last-names sort after single last-names

    • Article Type: General
    • Product: Aleph
    • Product Version: 20

    Description:
    In /exlibris/aleph/u20_1/alephe/unicode/tab_character_conversion_line, I changed
    BORROWER_NAME_KEY ##### # line_utf2line_utf adm_name_key_ana

    I copied /exlibris/aleph/u20_1/alephe/unicode/adm_name_key to /exlibris/aleph/u20_1/alephe/unicode/adm_name_key_ana and changed the translation of the hyphen-minus from 0020 to 002D in order to sort the hyphenated last names after the non-hyphenated last names. Then I ran p_manage_64 to recreate the z303_name_key and p_cir_25 to rebuild the patron index. It worked well.

    Now I am trying to sort the double last names after the single last names. This is more problematic because there is a blank between the 2 last names. So, I thought I would change the value of the comma from 0000 to 002C. I even looked at how it would be normalized with util f/1/3
    Enter text (Q to quit) : HERRERA MONCADA, STEFFI G
    IN -HERRERA MONCADA, STEFFI G -
    Load: /tmp/utf_files/exlibris/aleph/u20_1/sba50/tab/tab_filing
    Load: /exlibris/aleph/u20_1/alephe/unicode/tab_character_conversion_line
    Load: /exlibris/aleph/u20_1/alephe/unicode/adm_name_key_ana
    Load: /exlibris/aleph/u20_1/alephe/unicode/unicode_case
    OUT -herrera moncada, steffi g -

    Enter text (Q to quit) : HERRERA, PAUL MATTHEW
    IN -HERRERA, PAUL MATTHEW -
    OUT -herrera, paul matthew -

    But when I run p_manage_64 and look at the z303_name_key, the commas are not there. No matter what value I enter to the translation of the comma it gets compressed.

    Any suggestions on how we can get the double last names to sort after the single last names?

    (keywords: p-manage-64 manage_64 cir_25 p-cir-25)

    Resolution:
    The BUILD-NAME-KEY section of the io_z303 program has the following lines preceding the call to "filing" (which reads tab_filing):

    INSPECT EDIT-BUF REPLACING ALL "." BY " ".
    INSPECT EDIT-BUF REPLACING ALL "," BY " ".

    (keywords: p-manage-64 p_manage_64 manage_64 p_cir_25 cir_25 p-cir-25)


    • Article last edited: 10/8/2013
    • Was this article helpful?