How do I change the location on a set of records and add $$k location?

Answer

To update the location and add subfield $$k on a set of records:

 

STEP 1: Create a Local Normalization Rule

  1. Open the MD Editor
  2. Make sure the "Placement of new rules" is set to local
    • Click New>Placement Options
  3. Click on the Rules tab
  4. Click New>Normalization Rules
  5. Write the rule below:

    rule "replace 852|c and add |k to holdings record"
    when
    (TRUE)
    then
    replaceContents "852.c.*" with "[location]"
    addSubField "852.k.[location]"
    end

    *a normalization rule would need to be created for each location. Replace [location] with the location code and replace 852.k.[location] with the $$k the location
  6. Click Save
  7. Test the rule on an existing holdings record. Edit the rule if necessary
  8. Click X to close the rule in the main pane of the MD Editor

NOTE: Always test normalization rules to make sure the rule works as expect before applying the normalization rule to a set of records.

 

STEP 2: Create a Normalization Process:

  1. ​Go to Configuration>Resources>Cataloging>Metadata Configuration
  2. Click on MARC21 Holding under active profiles
  3. Click on the Normalization Process tab
  4. Click Add Process
  5. Name the process and add a description
    • The name is how you will find the normalization rule to apply it to the the IZ integration and import profiles
  6. Click Next
  7. Click Add Tasks
  8. Click on the Marc Drools Normalization check box
  9. Click Add and Close
  10. Click Next
  11. Select the Drools File Key for the local Normalization Rule
  12. Click Save

 

STEP 3: Run the "Change Holding Information" Job

  1. Create a Physical Titles set in Alma
  2. Go to Admin>Manage Jobs and Set>Run a Jon
  3. Search by name for: "Change Holding Information"
  4. Click on the radio button next to the "Change Holding Information" job
  5. Click Next
  6. Click on the radio button next to the physical items set
  7. Click Next
  8. Run a Job - Enter Task Parameters screen opens
    1. Click in the check box next to "Correct data using normalization rule"
    2. Select the normalization rule from the drop-down menu
  9. Click Nextnew change location
  10. Review the job
  11. Click Submit
  12. Click Confirm when the Confirmation Message appears

 

Normalization Rules for other $$k scenarios:

Add $$k only:

rule "add 852|k"
when
not exists "852.k"
then
addSubField "852.k.PACAF"
end

 

Remove $$k:

rule "add 852|k"
when
exists "852.k"
then
removeSubField "852.k"
end

  • Last Updated Sep 08, 2023
  • Views 294
  • Answered By Margaret McGee

FAQ Actions

Was this helpful? 4 1