Assuming you are using the Delete field -- you have to use regular
expressions if you want to ensure that you are only deleting data based on
indicator values. Otherwise, MarcEdit matching is happing throughout the
whole field, not just the indicators, which is likely your problem.
If you are looking to delete fields based on indicators -- it has to look
something like this:
Field: 6xx
Field Data: ^=6.{5}0
Check the use regular expressions option.
This expression matches on any 6xx field, and deletes any field where the
second indicator is a zero. Broken down, this means:
^=6.{5}
Field must start with an equal sign, then match if it has a 6 and then the
next 5 characters (which matches in the field the second two field values,
plus the two spaces, and first indicator).
0 -- matches only a zero
--tr
-----Original Message-----
From: MarcEdit support in technical and instructional matters
[mailto:[log in to unmask]] On Behalf Of Anderson, William
Sent: Monday, August 1, 2016 8:32 AM
To: [log in to unmask]
Subject: [MARCEDIT-L] Field deletions
Hello all
We have a project that is using MARCedit to delete or modify certain fields.
We are keeping fast subject headings but deleting lcsh headings. We have run
into a problem with 610s and 611s. The delete field lines used to delete
lcsh (really naf) headings is also deleting the fast headings
So using the Add/delete field utility thus:
Field 610 Field data 10
i.e. using the first two characters of field data for indicators and so on
for 610 20 and 611, etc.
It wipes both 610 10/20 and 610 17/27 fields.
As far as I can tell, similar operations for 650 /0 and 651 /0 work fine,
wiping only the lcsh but preserving fast heading.
I searched for any explicit deletion commands for fast headings, but it's
not a terribly long task list.
Help! What am I doing wrong.
Thanks
William Anderson| Catalog Librarian| [log in to unmask]
<mailto:[log in to unmask]>| www.ctstatelibrary.org | 231 Capitol Ave.
Hartford CT 06106 | Phone: (860) 757-6552 | Fax: (860) 757-6503
"The opinions expressed above are solely those of the author, and are not to
be considered official policy statements of the Connecticut State Library,
the Executive Branch, any agency of the Connecticut State Government, or the
person sitting next to me on the bus each morning. Such opinions may
occasionally make friendly cooing noises at each other, but this is no
absolute guarantee of congruence."
________________________________________________________________________
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]
|