MARCEDIT-L Archives

August 2016

MARCEDIT-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Terry Reese <[log in to unmask]>
Reply To:
MarcEdit support in technical and instructional matters <[log in to unmask]>
Date:
Tue, 16 Aug 2016 12:28:06 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (123 lines)
The problem here is that if you are using indicators when using the
add/delete field function -- you must use regular expressions and define the
beginning of the field.  Otherwise, the data is going to be applied to all
data in the field, not just the indicators.

So, if I was looking to keep elements say, where the second indicator was 7
across all the 6xx fields -- I would use the following:

Field: 6xx
Field Data: ^=6.{5}[0-68-9].*

Check use regular expressions

Click delete field.

Here's what is happening:

Field: 6xx -- this tells the tool that all fields from 600-699 will be
evaluated.
Field Data: ^=6  (all fields start with =6 -- this removes fall hits if the
indicator data shows up in another location in the field, like, say if I was
removing data with indicators 10, and I evaluated the 610 field.  All 610
fields would be removed because of the 10 in 610 unless you specifically
specify matching at the start of the field).

Field Data [continued]: .{5} -- match any 5 characters -- this captures the
second two values of the field number, the two spaces (as part of marcedits
mnemonic format) and the first indicator, which I'm not evaluating in my
example)

Field Data [continued]: [0-68-9] -- matches all data but a second indicator
of 7, which is the value we want to keep
Field Data [continued]: .* -- match the rest of the field


--tr

-----Original Message-----
From: MarcEdit support in technical and instructional matters
[mailto:[log in to unmask]] On Behalf Of Geoffrey Skinner
Sent: Tuesday, August 16, 2016 11:30 AM
To: [log in to unmask]
Subject: Re: [MARCEDIT-L] Field deletions

William,

Did you get a solution to this? When I tried the operation, both with and
without the regular expression box checked, only the LCSH headings got
deleted. If you're still not able to selectively delete, you might try the
regex 610  10.*$, 610 20.*$, etc. 


Geoffrey
---------------------------------------------------------------
Geoffrey Skinner, Cataloging and Metadata Librarian Sonoma County Library
211 E Street, Santa Rosa, CA
[log in to unmask]



-----Original Message-----
From: MarcEdit support in technical and instructional matters
[mailto:[log in to unmask]] On Behalf Of Anderson, William
Sent: Monday, August 01, 2016 5: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]

________________________________________________________________________

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]

ATOM RSS1 RSS2