Bibliographic Records
rule “008 change nature of contents pos 25 to m”
when
(existsControl “008.{25,1}”)
then
replaceControlContents “008.{25,1}” with “m”
end
rule “Add field 999”
when
(TRUE)
then
addField “999.a.CR_RESTRICTED”
end
rule “Remove field 999”
when
(TRUE)
then
removeField “999”
end
rule “add HumCo to subfield k”
when
(TRUE)
then
addSubField “852.k.HumCo” if ( not exists “852.k” )
end
rule “Append subfield $A 01CALS_HUL to local field if it doesn’t exist”
when
(TRUE)
then
addSubField “697.A.01CALS_HUL” if (not exists “697.A.01CALS_HUL”)
end
rule “change ldr dml”
when
(existsControl “LDR.{06,1}”)
then
replaceControlContents “LDR.{06,1}” with “r”
end
rule “change 008 fields dml”
when
(existsControl “008.{33,1}”)
then
replaceControlContents “008.{33,1}” with “r”
end
rule “change 008 field dml”
when
(existsControl “008.{35,1}”)
then
replaceControlContents “008.{35,1}” with “zxx”
end
rule “Remove $$9 LOCAL.”rule “Remove $$9 LOCAL.” when (TRUE) then removeSubField “697.9”end
Holdings Records
rule “Change first indicator of field 852 to 3 if value is 8”
when
(TRUE)
then
changeFirstIndicator “852” to “3” if (exists “852.{8,*}”)
end