View
666
Download
0
Category
Tags:
Preview:
DESCRIPTION
How we process Marcive filesthe technical part of a co-presentation with Mary Ross
Citation preview
Marcive Documents:Catching Up and Keeping Up
Implementation Details
It took a lot of time to develop the procedure.
It took a lot of time to develop the procedure.
Frustration, puzzlement, head scratching…
It took a lot of time to develop the procedure.
Frustration, puzzlement, head scratching…
Development continued well into theEUGM submission process.
• Prebulk,• Bulkimport
The script makes calls to:
• Prebulk,• Bulkimport,• wmich8.pl, which is our implementation of the algorithm that Endeavor supplied to us for the initial remapping of Marcive data
The script makes calls to:
• Prebulk,• Bulkimport,• wmich8.pl, which is our implementation of the algorithm that Endeavor supplied to us for the initial remapping of Marcive data, and
• several home-grown Perl utilities
The script makes calls to:
Our home-grown Perl utilities:
• Marcedit inputfile outputfile .ini-file edits MARC files according to .ini directives
Our home-grown Perl utilities:
• Marcedit inputfile outputfile .ini-file edits MARC files according to .ini directives
• Marcread marcfile provides human-formatted output of a MARC file
Our home-grown Perl utilities:
• Marcedit inputfile outputfile .ini-file edits MARC files according to .ini directives
• Marcread marcfile provides human-formatted output of a MARC file
• Marccount marcfile provides a record count for the MARC file
Our home-grown Perl utilities:
• Marcedit is extensively used
Our home-grown Perl utilities:
• Marcedit is extensively used• Marcread is used in one step where a human needs to see the data
Our home-grown Perl utilities:
• Marcedit is extensively used• Marcread is used in one step where a human needs to see the data
• Marccount really isn’t needed, but provides useful feedback for the various steps
Marcive data
High-level Overview
wmich8.pl
Marcive data
High-level Overview
maplc.cfg
marcedit
wmich8.pl
Marcive data
High-level Overview
maplc.cfg
marceditxxx.ini
prebulk
marcedit
wmich8.pl
Marcive data
High-level Overview
maplc.cfg
marceditxxx.ini
prebulkxxx.cfg
Voyager
bulkimport
prebulk
marcedit
wmich8.pl
Marcive data
High-level Overview
maplc.cfg
marceditxxx.ini
prebulkxxx.cfg
Details...
Low-level Overview Step 1
marcedit
marcedit_655.ini
Marcive data
Edit 655 |2, where found
Low-level Overview Step 1
Edit 655 |2, where found
marcedit_655.ini
[ADD]
[REMOVE]
[EDIT]
replacesubfield|655|2|local|LCSH
[FIND]
Low-level Overview Step 2
wmich8.pl
maplc.cfg
notremapped
prebulkremapped
prebulk_lc_yes.cfg
to bulkimport
Remap GPO number to LC number where possible
Low-level Overview Step 2
Remap GPO number to LC number where possible
map item?
wmich8.pl detail
not remapped
no
Low-level Overview Step 2
Remap GPO number to LC number where possible
map item? has 074 |a?
wmich8.pl detail
not remapped
no no
yes
Low-level Overview Step 2
Remap GPO number to LC number where possible
map item? has 074 |a? GPO # in table?
wmich8.pl detail
not remapped
no no no
yes yes
Low-level Overview Step 2
Remap GPO number to LC number where possible
map item? has 074 |a? GPO # in table?
099 found?
delete 099
add 099 with LC # from table
wmich8.pl detail
not remapped remapped
no no no
yes yes yes
yes
no
Low-level Overview Step 2
maplc.cfg
619-M-42 G 3961s .C1 24-250 .G35
0619-P-17 G 3703s .C1 50-100 .U57
0378-E-05 G 3201s .P6 TPC- .G73
0191-B-14 G 3311s .P5 5-2,100 .N25
Remap GPO number to LC number where possible
prebulk_lc_yes.cfg
prebulk_lc_yes.cfg
Low-level Overview Step 2
prebulk_lc_yes.cfg
Low-level Overview Step 2
Low-level Overview Step 3
marcedit
marcedit_yesmap.ini
prebulk
prebulk_lc_no.cfg
to bulkimport
notremapped
marcread
email to recipients
Extract a copy of records with 049 |a wmap,map
copy extract
Low-level Overview Step 3
marcedit_yesmap.ini
[ADD]
[REMOVE]
[EDIT]
[FIND]
049||||||a||wmap,map
Extract a copy of records with 049 |a wmap,map
Low-level Overview Step 3
prebulk_lc_no.cfg (differences)
Extract a copy of records with 049 |a wmap,map
Low-level Overview Step 3
Extract a copy of records with 049 |a wmap,map
Extracts bib IDs from a log.imp* file to another file. It optionally precedes each number with an R or and an A, to indicate if that record was replaced or added.
Example:
Useful at this stage...
implogidextract.pl log.impxxx outfile desc
Low-level Overview Step 4
marcedit
marcedit_yesnaut.ini
prebulk
prebulk_lc_no.cfg
to bulk import
Extract a copy of records with 049 |a wmap,naut
copy extract
Low-level Overview Step 4
Extract a copy of records with 049 |a wmap,naut
marcedit_yesnaut.ini
[ADD]
[REMOVE]
[EDIT]
[FIND]
049||||||a||wmap,naut
Low-level Overview Step 4
prebulk_lc_no.cfg
Extract a copy of records with 049 |a wmap,naut
Low-level Overview Step 5
marcedit
marcedit_www_yes_minus_099.ini
Remove the 099 field from records containing 049 |a wdoc,www
Low-level Overview Step 5
Remove the 099 field from records containing 049 |a wdoc,www
marcedit_www_yes_minus_099.ini
[ADD]
[REMOVE]
099
[EDIT]
[FIND]
049||||||a||wdoc,www
Low-level Overview Step 6
marcedit
marcedit_www_yes_add_099.ini
prebulk
prebulk_www_yes.cfg
to bulkimport
Add our own 099 field to records containing 049 |a wdoc,www and extract a copy
copy extract
Low-level Overview Step 6
Add our own 099 field to records containing 049 |a wdoc,www and extract a copy
marcedit_www_yes_add_099.ini
[ADD]
099||9|1|a|_
[REMOVE]
[EDIT]
[FIND]
049||||||a||wdoc,www
Low-level Overview Step 6
Add our own 099 field to records containing 049 |a wdoc,www and extract a copy
prebulk_www_yes.cfg (differences)
Low-level Overview Step 7
marcedit
marcedit_nomap.ini
Remove records containing 049 |a wmap,map
Low-level Overview Step 7
Remove records containing 049 |a wmap,map
marcedit_nomap.ini
[ADD]
[REMOVE]
Record
[EDIT]
[FIND]
not
049||||||a||wmap,map
Low-level Overview Step 8
marcedit
marcedit_nonaut.ini
Remove records containing 049 |a wmap,naut
Low-level Overview Step 8
Remove records containing 049 |a wmap,naut
marcedit_nonaut.ini
[ADD]
[REMOVE]
Record
[EDIT]
[FIND]
not
049||||||a||wmap,naut
Low-level Overview Step 9
marcedit
marcedit_nowww.ini
Remove records containing 049 |a wdoc,www
Low-level Overview Step 9
Remove records containing 049 |a wdoc,www
marcedit_nowww.ini
[ADD]
[REMOVE]
Record
[EDIT]
[FIND]
not
049||||||a||wdoc,www
Low-level Overview Step 10
prebulk
prebulk_www_no.cfg
Run what’s left through prebulk
Low-level Overview Step 10
Run what’s left through prebulk
prebulk_www_no.cfg (differences)
Low-level Overview Step 11
bulkimport
Marcive bulk import rules
Run everything through bulkimport
Voyager
Records that were previously copied/extracted and run through
prebulk
Resources
implogidextract.pl
http://homepages.wmich.edu/~zimmer/marc_index.htmlmarcedit.pl
marcread.pl
marccount.pl
http://homepages.wmich.edu/~zimmer/other_index.html
Thanks for listening.
Questions?
roy.zimmer@wmich.edu
269.387.3885
Picture © 2003 by Roy Zimmer
Recommended