[Wactclc-alma] Help with normalization rule

Elena Bianco Elena.Bianco at skagit.edu
Wed May 22 17:14:49 PDT 2019


So, I am trying to eliminate our old Millennium bib numbers that got moved to the 035 field during migration. I came up with this normalization rule:

rule "replace -element- with  -text-"
#where -element- is:
#035.a.(WaMtvS)
    when
        TRUE
    then
        removeField "035"
end

It works, but the problem is, it deletes all the 035's, including the one that has the OCLC number that I want to retain.

Then I tried this:
rule "035 (WaMtvS)"
when
exists "035.a.(WaMtvS)"
then
removeField "035" if (exists "035.a.(WaMtvS)")
end

That did nothing.

How can I tell it to ONLY remove the 035 that has this element? Help!

Thanks,

Elena

Elena Bianco, Systems & Technical Services Librarian
Skagit Valley College
2405 E. College Way
Mount Vernon, WA 98273
(360)416-7624

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ctc.edu/pipermail/wactclc-alma_lists.ctc.edu/attachments/20190523/8175828a/attachment.html>


More information about the Wactclc-alma mailing list