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

    How to move subfield into a new tag?

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


    Question

    How to take an 020 with two subfields a and create 2 020 fields with one of the subfields a from the original in each. For example

    020 _ _ |a 1234567890 |a 0987654321

    becomes

    020 _ _ |a 1234567890

    020 _ _ |a 0987654321

    Answer

    This requires 2 Data Change Jobs and multiple rules.

    1. Create rules for first Data Change Job:
      1. Rules > Data Change Rule Set > New
      2. Add rule: Change second occurrence of subfield a to (for example) subfield r.
      3. Add rule: Copy 020 to (for example) 920.
      4. Save.
    2. Add Data Change Rule Set to Data Change Rule Set Group.
    3. Preview first change. Should show
      • 020 _ _ |a 1234567890 |r 0987654321
      • 920 _ _ |a 1234567890 |r 0987654321
    4. Execute Data Change Job.

    This creates the new fields/subfields for the subsequent job to act on; rules cannot change the fields until they exist, so the creation of the second field must occur & be committed first. 

    1. Create rules for second Data Change Job
      1. Rules > Data Change Rule Set > New
      2. Add rule: Delete subfield r from 020 and delete subfield a from 920.
      3. Add rule: Change 920 subfield r to subfield a
      4. Save.
      5. Rules > Data Change Rule Set > New
      6. Add rule: Copy 920 to 020
      7. Add rule: Delete 920.
      8. Save.
    2. Add Data Change Rule Sets to Data Change Rule Set Group.
    3. Preview change. Should show
      • 020 _ _ |a 1234567890
      • 020 _ _ |a 0987654321
    4. Execute Data Change Job.

    • Article last edited: 12-Jul-2017