Creating a Norm Process from Norm Rules
First, set up a Norm Rule to delete fields from OCLC records in MD Editor under Rules
rule "delete fields per CATAWG"
when
(TRUE)
then
removeField "012"
removeField "029"
removeField "051"
removeField "055"
removeField "070"
removeField "072"
removeField "084"
removeField "263"
removeField "653"
removeField "850"
removeField "938"
removeField "948"
removeField "949"
removeField "952"
end
Then, set up this Norm rule (normalizes OCLC prefixes)
rule "Resolve invalid OCLC number"
when
exists "035.a.(OCoLC)o*"
then
changeField "035" to "999" if (exists "035.a.(OCoLC)o*")
replaceContents "999.a.(OCoLC)oc" with "oc" if (exists "999.a.(OCoLC)oc*")
replaceContents "999.a.(OCoLC)on" with "on" if (exists "999.a.(OCoLC)on*")
removeField "035" if (exists "035.a.(OCoLC)*")
removeField "035" if (exists "035.a.o*")
copyField "999" to "035" if (exists "999.a.o*")
replaceContents "999.a.ocm" with "(OCoLC)" if (exists "999.a.ocm*")
replaceContents "999.a.ocn" with "(OCoLC)" if (exists "999.a.ocn*")
replaceContents "999.a.on" with "(OCoLC)" if (exists "999.a.on*")
changeField "999" to "035" if (exists "999.a.(OCoLC)*")
changeSubField "019.a" to "z" if (exists "019.a.*")
copyField "019" to "035" if (exists "019.z.*")
prefix "035.z" with "(OCoLC)" if (exists "035.z.*")
changeSubField "019.z" to "a" if (exists "019.z.*")
end
Then add both of these Norm Rules into a Norm Process
Resource Management Configuration --> Processes --> Add Process
0 Comments
Add your comment