From 904b698c4be119f011542593f9b4a56f2f4c8e97 Mon Sep 17 00:00:00 2001 From: Petra Maier Date: Mon, 15 Jul 2024 13:27:39 +0200 Subject: [PATCH] Create record list where field 773 doesn't start with DE-605 o. DE-600 --- src/main/resources/alma/fix/relatedRessourcesAndLinks.fix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix index 00b7e01d6..d4d5cea3c 100644 --- a/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix +++ b/src/main/resources/alma/fix/relatedRessourcesAndLinks.fix @@ -78,6 +78,10 @@ unless any_match("leader", "^.{7}[ad].*") set_hash( "isPartOf[].$last.hasSuperordinate[].$append") if all_match("$j", "^\\((?:DE-600|DE-605)\\)(.*)$") copy_field("$j", "isPartOf[].$last.hasSuperordinate[].$last.id") + + else + retain("almaMmsId") + print_record(destination: "almaMMSIDs_with_erroneous773_w.txt") end copy_field("$i.t", "isPartOf[].$last.hasSuperordinate[].$last.label") call_macro("alternateGraphicRepresationIsPartOf",variable:"$i")