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

    GDC: Replace string with nothing

    • Article Type: General
    • Product: Voyager
    • Product Version: 8.0.0

    Desired Outcome Goal:
    To remove data from a field in a set of records.

    Procedure:
    Example: remove the text "Local Note" from 999 subfield a.

    1. Rules > Data Change Rule Sets > New > Add
    2. Fill in Name.
    3. Condition > Add
    3.a. Condition: MARC Field / Subfield Exists
    3.b. Field: 999
    3.c. Subfield: a
    4. Save.
    5. Consequences > Add
    5.a. Consequence: Replace String With String
    5.b. Field: 999
    5.c. Subfield: a
    5.d. Replace string: Local Note
    5.e. With string:
    6. Save
    7. Click OK to save rule.
    8. Give Data Change Rule Set a name and description and Save.
    9. Add Data Change Rule Set to a Data Change Rule Set Group.
    10. Preview the change.
    11. If Preview shows expected change, submit Data Change Job.

    Additional Information

    The consequence "Replace String With String" matches on an exact match. If the specified Replace String is

    Local Note

    it will not match:

    LOCAL NOTE
    Local note
    Local Note
    local note
    local

    but if there is additional text, the consequence will match and replace that specific string within the larger string - for example, with the rule outlined above, if the 999 subfield a contains

    This is a Local Note in the 999 tag.

    the rule will change it to

    This is a in the 999 tag.

    Category: Global data change (GDC)


    • Article last edited: 5/29/2014