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

    How to change field code (tag) in batch update process

    • Article Type: General
    • Product: Aleph

    Desired Outcome Goal:
    How can i change a field code tag for fields with a specific text in it, e.g. "650 THAILAND -- DESCRIPTION AND TRAVEL" to "651 THAILAND -- DESCRIPTION AND TRAVEL" in batch update process?

    Procedure:
    This can be done the following way using the conversion program contvb:

    1) Create a table tab_convtb_650 [or any other table name] with the following lines:
    ! 1 2 3
    !!!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!>
    >>PAR STD-TAG=#####
    650 651 chk_contains a,"Thailand - description and travel"

    - 1st. line is valid for all other fields in the record and says that they shall not be touched
    - 2nd. line changes field code 650 (column 1 = input field) to field code 651 (column 2 = output field) only when the text in subfield a is "Thailand - ..."

    2) Add the following line to tab_fix
    650 fix_doc_convtb FILE=tab_convtb_650

    3) Create an input file (list of system numbers to modify) using e.g. p_ret_01
    4) Run p_manage_37 in order to correct the records and assign fix routine 650

    Category: Cataloging (500) - ALEPH

    Subject: Services - ALEPH


    • Article last edited: 12/5/2013
    //Feedback