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

    Check for field contents in a field without subfields

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

    Desired Outcome Goal:
    How to make a new check for field contents in a field without subfields

    Procedure:
    Checks for field contents can only be done for fields which have a subfield or for fixed fields. For fields without a subfield which are not fixed fields there’s no way to perform a check on field content.

    The best would be to add a subfield $$a to required field (sample field: BAS) for all older records and also for the newly catalogued ones.

    Workaround:
    1. Search for all records which have field BAS with Retrieve Catalog Records (ret-01)
    2. Run Download Machine-Readable Records (print-03) for the output of ret-01 and select only field bas. Output file looks like this:
    000071515 BAS L kub
    000071527 BAS L aaa
    000071555 BAS L six
    000071595 BAS L ccc
    3. Open the file in vi on server and do the following command: “:1,$s/BAS L /BAS L $$a/g”. Result is
    000071515 BAS L $$akub
    000071527 BAS L $$aaaa
    000071555 BAS L $$asix
    000071595 BAS L $$accc
    Save the file.
    4. Run Load ALEPH Sequential MARC Records (manage-18) and load the modified field to the records. Required parameters:
    Input file = output file from print-03, modified in vi
    Output file for rejected records = nnn
    Output file for logging system numbers = nnn
    Procedure to run = Update current records in the database
    If updating current records = Replace fields within a record
    5. In ./xxx01/pc_tab/catalog/codes.lng change
    BAS N Y Y L Base L Base
    to
    BAS Y N N L Base L Base
    and do util m/7

    Category: Cataloging (500)

    Subject: Table configuration


    • Article last edited: 10/8/2013