Hi Steven,
I obviously didn't take the time to check each field and its subfields, but it looks as though the rule file (Default location "C:\Documents and Settings\USERNAME\Application Data\marcedit\configs\marcrules.txt" where USERNAME is the user logged onto the computer) is pretty extensive. The format is pretty self-explanatory, and seems to have a few keywords ("R" for required field, "NR" for non-required, "blank" for undefined indicators, et cetera), but I think what you'll be interested in is the use of regular expressions to validate. It looks like if you add a row for the subfield you want to validate and precede the subfield code by the word "valid" (ex: valida for a subfield a) you can then specify a regular expression in the criterion column using. Make sure there is also a subfield row that does not contain the "valid" prefix and has either an "R" or "NR" (not positive this would make a difference but that's the way the file is currently). For example, subfield "a" in the 020 field is checked to make sure it does not contain any digits or the letter "x" using this regular expression:
[^0-9x]
If you haven't used regular expressions before, I would check out this site: http://www.regular-expressions.info/) to learn about them.
I hope this helps!
Joel Marchesoni
Tech Support Analyst, Hunter Library Systems
[log in to unmask]
828-227-2860
!Please consider the environment before printing this email!
-----Original Message-----
From: MarcEdit support in technical and instructional matters [mailto:[log in to unmask]] On Behalf Of Steven C Shadle
Sent: Sunday, October 25, 2009 7:59 PM
To: [log in to unmask]
Subject: MarcEdit validation functionality?
I hate to bother Terry, so asking collective wisdom.
I use MarcEdit primarily for record conversion and some record editing. Does MarcEdit also provide any validation functionality (so for example, can you profile for a check of specific fields/subfields/indicators or certain prescribed punctuation)? Obviously, it knows whether a not a record is a MARC record, but I'm wondering about more specific checks. Reviewed the documentation and couldn't find any reference to this.
TIA. --Steve
Steve Shadle/Serials Access Librarian ***** [log in to unmask]
University of Washington Libraries *** Phone: (206) 685-3983
Seattle, WA 98195-2900 * Fax: (206) 543-0854
________________________________________________________________________
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]
|