kathryn lybarger and julene jones may 20, 2010. marc = machine readable cataloging file format for...
TRANSCRIPT
![Page 1: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/1.jpg)
Kathryn Lybarger and Julene Jones
May 20, 2010
![Page 2: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/2.jpg)
MARC = MAchine Readable Cataloging
File format for exchange of cataloging information
MARC has many advantages
![Page 3: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/3.jpg)
Created in 1960’s for Library of Congress
ANSI standard (1971)
ISO standard (1973)
![Page 4: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/4.jpg)
Large collection, only growing
OCLC has 183 million bibliographic records
New record added every ten seconds
![Page 5: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/5.jpg)
Bibliographic
Holdings
Authority
![Page 6: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/6.jpg)
![Page 7: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/7.jpg)
000 01373cam a2200433 a 4500001 2237424005 20070330085528.0008 050107s2004 nyua b 000 1 eng 010__ |a 2004048210 020__ |a 0143039067 024__ |a 2126912 035__ |a (OCoLC)ocm55044526 040__ |a DLC |c DLC |d OCLCQ 049__ |a KUJY 05000 |a PS3545.E365 |b D3 2004 08200 |a 813/.52 |2 22 1001_ |a Webster, Jean, |d 1876-1916. 24510 |a Daddy Long Legs ; |b and, Dear enemy / |
c Jean Webster ; edited with an introduction and notes by Elaine Showalter.
![Page 8: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/8.jpg)
_
␢ (blank)
#OPAC:
OCLC Connexion Client(and actually in file):
LC MARC BibliographicDocumentation:
OCLC Bib Formats documentation:
![Page 9: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/9.jpg)
|a
‡a ǂa
$aOPAC:
OCLC Connexion Client:Voyager:
OCLC Connexion Browser:
![Page 10: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/10.jpg)
Binary: 0 0 0 1 1 1 1 1
Decimal: 31
Hex: 1F
![Page 11: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/11.jpg)
MARC is often displayed as text
MARC is not plain text
You need a MARC editor to easily edit MARC
![Page 12: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/12.jpg)
![Page 13: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/13.jpg)
001000800000005001700008008004100025035002400066040001300090035002100103043001200124090002400136049000900160100003400169245008400203260004600287300002100333505058000354651004000934650003800974710002401012946001201036994001201048
![Page 14: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/14.jpg)
Tags are stored in the directory of the file
Indicators and field contents are stored in the body of the record
![Page 15: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/15.jpg)
001000800000005001700008008004100025035002400066040001300090035002100103043001200124090002400136049000900160100003400169245008400203260004600287300002100333505058000354651004000934650003800974710002401012946001201036994001201048
001 2885040
Field 001, 8 bytes long, starts at 0
![Page 16: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/16.jpg)
Fixed fields are always the same size
In a bibliographic record, there are always four bytes for illustration data:
____ (four blanks): no illustrations abcd : illustrations, maps, portraits, charts abcd : illustrations, maps, portraits, charts,
plans, plates and music
![Page 17: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/17.jpg)
Variable fields are not always the same size.
The title field may vary in length:
• The Iliad
• Alexander and the Terrible, Horrible, No Good, Very Bad Day
![Page 18: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/18.jpg)
001000800000005001700008008004100025035002400066040001300090035002100103043001200124090002400136049000900160100003400169245008400203260004600287300002100333505058000354651004000934650003800974710002401012946001201036994001201048
245 14$aThe nonsense novels ;$band, The dawn of Canadian history /$cby Stephen Leacock.
Field 245, 84 characters long, starts at position 203
![Page 19: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/19.jpg)
Variable fields make MARC flexible and compact
Some structural metadata is needed to make this happen
This book-keeping is usually (thankfully) invisible
![Page 20: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/20.jpg)
Binary characters represented as text
Data in a reasonable order
Structural metadata hidden
![Page 21: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/21.jpg)
Many MARC editors allow editing only one record at a time
You may want to do batch editing
You may want to do something nobody has ever considered before!
![Page 22: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/22.jpg)
How many records in my file?
Do they all have a field that I require?
Does that field contain what I require?
Are there any fields I don’t want?
![Page 23: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/23.jpg)
Remove a field in all records
Add a field to all records
Modify a field in all records
Swap data between fields
Change character encoding
![Page 24: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/24.jpg)
Create (one or more) holdings records based on bibliographic record content
Extract some fields to make an RSS feed of new books in your catalog
![Page 25: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/25.jpg)
Suite of tools for working with MARC
Developed by Terry Reese at Oregon State
Free download for Windows, Linux, Mac
![Page 26: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/26.jpg)
MarcBreaker – converts MARC to Mnemonic file format
MarcMaker – converts Mnemonic file format to MARC
MarcEditor – text editor for making common MARC edits
MARC Spy – hex editor, good for finding problems in corrupted MARC records
![Page 27: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/27.jpg)
![Page 28: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/28.jpg)
![Page 29: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/29.jpg)
![Page 30: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/30.jpg)
“Regex” or “regexp”
A more general (and powerful) search or search-and-replace
A regular expression is a pattern which “matches” parts of your file
![Page 31: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/31.jpg)
grep
Powerful text editors: MarcEditor, vim, emacs
Programming languages: perl, php
![Page 32: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/32.jpg)
Expression: Mar
Matches:
Mark TwainSteve MartinTelemarketing (case
sensitive)
![Page 33: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/33.jpg)
Expression: ^Mar
Matches:
Mark Twain only this oneSteve MartinTelemarketing
![Page 34: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/34.jpg)
Expression: tin
Matches:
Mark TwainSteve MartinTelemarketing
![Page 35: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/35.jpg)
Expression: tin$
Matches:
Mark TwainSteve Martin only this oneTelemarketing
![Page 36: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/36.jpg)
So how do you search for ^ or $ ?
Escape special characters with \
• \$1 matches $1.35
• 2\^ matches 2 + 2^4 = 18
So how do you search for \ ?
![Page 37: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/37.jpg)
You can modify searches just slightly for much more specific results
You can use multiple simpler expressions
You can ask other people (MARCEDIT-L)
![Page 38: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/38.jpg)
^ $ . + ? * ( ) [ ] { } | \
![Page 39: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/39.jpg)
You can search for one of several phrases
(a|b|c|d)
Example: (Bob|John|Joe) Smith
Matches:• Bob Smith
Does NOT match: • Robert Smith
![Page 40: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/40.jpg)
Match not just one letter, but any of several
Surround with [ ]
Example: [BR]ob• matches Bob, Rob, Robert • Does NOT match: Toby, bobbing, robbery
![Page 41: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/41.jpg)
Match anything that is NOT in a specified list of characters
Surround with [^ ]
Example: [^aeiou]a• matches scuba, Wildcat, dazzle, aardvark• Does NOT match: each, toad, visual,
antique
![Page 42: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/42.jpg)
A period matches any character
Example: ..an
Matches: womanwatchman
Does NOT match: man
![Page 43: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/43.jpg)
Find all subject headings with second indicator other than 0 or 2
^=6.. .[^02] Matches: =650 \7$aFilms$xMontage.$2 ram
![Page 44: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/44.jpg)
* any number of what it follows
? 0 or 1 of what it follows +1 or more of what it follows
Example:
.*
![Page 45: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/45.jpg)
* any number of what it follows
? 0 or 1 of what it follows +1 or more of what it follows
Example:
Joh?nathan
![Page 46: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/46.jpg)
Replace matched part with a static string
OR
Capture parts of what you match with ( )
Use those captured parts in your replacement
![Page 47: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/47.jpg)
$1 – contents of first parentheses $2 – contents of second parentheses …
Search: (.*) (.*) Replace: $2, $1
Bob Jones Jones, Bob
![Page 48: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/48.jpg)
$0 – whole string matched
Example: make all URLs hyperlinks
Search: http://[^ ]+
Replace: <a href=“$0”>$0</a>
![Page 49: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/49.jpg)
Make sure all 245 fields have $h [electronic resource]
Search: ^=245.*\$h\[electronic resource\]
Replace all: $0
This makes no real changes to your file, but lets you know how many matches it found
![Page 50: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/50.jpg)
Many books and websites
http://www.regular-expressions.info/
Unix man pages: man perlretut
![Page 51: Kathryn Lybarger and Julene Jones May 20, 2010. MARC = MAchine Readable Cataloging File format for exchange of cataloging information MARC has many](https://reader038.vdocument.in/reader038/viewer/2022110321/56649cf45503460f949c3114/html5/thumbnails/51.jpg)