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

    How to search with p_ret_01 for encoded information at the end of a field

    • Article Type: Q&A
    • Product: Aleph
    • Product Version: 20

    Question

    How to search for records with Print Catalog Records - Custom Format (print-01) where the relevant encoded information is at the end of a field separated by a slash

    Example
    Search for cwld in field 035
    035 $a (VaAlASP)ASPS00000860/cwld

    Answer

    Searching for a word at the end of a field with p_ret_01 is unfortunately not possible.

    Workaround:

    * Add the following line to ./xxx01/tab/tab_expand
    RET expand_doc_type tab_type_config

    * Add the following line to ./xxx01/tab/tab_type_config.lng
    TYP cwld 035## a MATCH [*cwld]

    (In this example relevant text is “cwld” in field 035$$a).

    Field TYP with content “cwld” will be created on the fly (when using Print Catalog Records - Custom Format (print-01)) and so you can do a search for “TYP##$$acwld”.

    Category: Cataloging (500)

    Subject: Services


    • Article last edited: 10/8/2013