[Wactclc-alma] Help with normalization rule
Hannah Micona
HMicona at greenriver.edu
Thu May 23 07:53:32 PDT 2019
Elena,
If your 035 looks like I think it does, you're asking it to remove the 035 only if the field text is exactly "(WaMtvS)" when what you want is for it to remove the 035 if the field text STARTS with "(WaMtvS)". Try putting an asterisk after both instances of (WaMtvS) in your code. (Actually I think you don't need the first one, I think that can just be 'when TRUE,' but I don't think it matters one way or the other.)
Hannah Micona
Cataloger, Holman Library
Green River College
(253) 833-9111 ex. 2098
________________________________
From: Wactclc-alma <wactclc-alma-bounces at lists.ctc.edu> on behalf of Elena Bianco <Elena.Bianco at skagit.edu>
Sent: Wednesday, May 22, 2019 5:14:49 PM
To: WACTCLC Alma Discussion
Subject: [Wactclc-alma] Help with normalization rule
CAUTION: This email originated from outside of Green River College. Please do not click any links or open attachments unless you know the sender and know the information is safe. Even if you know the sender, if the request or information seems unusual please check with the sender first before clicking a link or opening the attachment. If you are unsure, contact the IT Help Desk at x2222 or email ithelpdesk at greenriver.edu<mailto:ithelpdesk at greenriver.edu>.
Please do not give out or enter your Green River email, network login, password information on non-Green River websites.
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/5a0ca589/attachment-0002.html>
More information about the Wactclc-alma
mailing list