Not knowing the size of your repeated 520s, I don't know if this could lead to problems, but there is a hard limit of 9999 to the number of characters in a single MARC field (some local systems impose a 2000-character limit).
Terry will come up with a nifty looped command that probably finds the first 520 in a record, looks for another 520 after it, and as long as it keeps finding one, will consolidate it into the preceding field.
If the notes are short, you'll be fine, but the record will not validate (or load) if you have stacked too many characters into a single 520. The same problem is known to occur with long 505s.
Doug Rippey (he/él/…)
Digital Collections Technician
University of Denver Libraries
[log in to unmask]
303-668-7669
(on mobile voice and text
for the duration)
-----Original Message-----
From: MarcEdit support in technical and instructional matters <[log in to unmask]> On Behalf Of Diane Kinney
Sent: Tuesday, August 10, 2021 10:14 AM
To: [log in to unmask]
Subject: [EXTERNAL] [MARCEDIT-L] Merge contents of duplicated field?
[External Email From]: [log in to unmask]
If I have a record with multiple 520s, is there a way to merge those into one 520 field, either with a dedicated MARCedit function, or maybe with some crafty combination of other functions?
I was thinking a find/replace that only impacted the first instance of a given field would make it possible--put some identifying mark at the beginning of the first 520$a, and then have a find/replace remove every "=520 \\$a" EXCEPT for the ones with that special identifying mark. But that seems like something that wouldn't be possible.
Thanks for any help/suggestions anyone can give me!
Diane Kinney [she/her/hers]
Metadata Technician
Metadata & Processing Services
Drexel University Libraries
Drexel University
3300 Market Street
W.W. Hagerty Library, Rm 112D
Philadelphia, PA 19104
Tel: 215.895.6845 | Fax: 215.895.2070
library.drexel.edu
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
________________________________________________________________________
This message comes to you via MARCEDIT-L, a Listserv(R) list for technical and instructional support in MarcEdit. If you wish to communicate directly with the list owners, write to [log in to unmask] To unsubscribe, send a message "SIGNOFF MARCEDIT-L" to [log in to unmask]
|