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

    Changing data like “$p” in a field to correct subfield sign

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

    Question

    How to change character strings like $p (or $n or $x) to appropriate subfield signs $$p (or $$n or $$x)?

    Answer

    Change $p to $$p using a fix routine in xxx01/tab/import.

    Example
    440## REPLACE-STRING $p,$$p

    Fix routine can be included in expand procedure or in fix procedure, e.g.
    xxx01/tab/tab_expand
    XX fix_doc_do_file_08 xx_fix
    or
    xxx01/tab/tab_fix
    XX fix_doc_do_file_08 xx_fix

    Additional Information

    If there may be also appropriate entries with 2 dollar signs in the input file you should make sure that the dollar signs will not be changed by checking with
    1 440## COND-LOAD-VAL-MATCH Y,$$p
    1 440## REPLACE-STRING $p,$$p

    Category: Cataloging (500)

    Subject: Importing records (500)


    • Article last edited: 10/8/2013
    //Feedback