Voyager Developer Meeting March 9-10, 2011 Chicago, IL Voyager Developer Meeting March 9-10, 2011 Chicago, IL Michael Doran, Systems Librarian University of Texas at Arlington Michael Doran, Systems Librarian University of Texas at Arlington
VoyagerDiscovery Layer Product ??? Typical use cases: MARC dumps for discovery layer products data dumps for ILS migrations special projects
Voyager export utilities Pmarcexport
syntax: marcexport -o -r [A]uthority or [S]ubject or [M]ain or s[E]ries or [H]oldings or [B]ib or Bib-MFHD [G]roups -c -s -m [M]ARC ID Input File or [I]SBN Input File or [R]ange of Marc Ids or [C]reated - Date Range or [U]pdated - Date Range or [B]oth Dates - Date Range or O[K] to Export - Date Range or [S]uppressed - Date Range or [E]xcluded - Date Range or e[X]cluded and suppressed - Date Range -t beaucoup parameters
-l export only records with this NUC code -L export only records with holdings for this location code -O export only OCLC -E excluded records created by this operator id -X -R -i ignore suppressed records -n change LCCN to Control -q quiet/no prompts -w update holdings 852$a on export -a assign character mapping.. one of [R]LIN Legacy Encoding, [O]CLC, [M]ARC21 MARC-8, [L]ATIN1, or [V]oyager RLIN. -v version information] -y must specify ini file with this option. -h help beaucoup parameters … continued
Pmarcexport Pmarcexport is excellent… if it does what you need …and all of what you need
Wouldn’t it be nice to have…
Pmarcexport sandwich (non-programmer edition)
Pmarcexport sandwich (programmer edition)
That works, but… …it’s neither elegant, nor efficient.
You could wrap it all into a single script
MARC Functions Advanced MARC Functions GetAuthBlob(Auth_ID) GetBibBlob(Bib_ID) GetMFHDBlob(MFHD_ID) Miscellaneous Functions
Analogous to the VB MARC functions in reports.mdb first available with Voyager 99.1 release
Voyager releases Voyager 99 Voyager 2001 Voyager Unicode Voyager 5 Voyager Voyager Main MARC functions created in 1998/1999 (by James L. Godwin at the Library of Congress).
37 Voyager Oracle functions
25 documented in 6.5 Technical User’s Guide
Bib Data Record Segment Concatenator
37 Voyager Oracle functions 25 documented in 6.5 Technical User’s Guide
For an Oracle Stored Function to be used by the read-only Oracle user, it must be prefixed with the DB name.
Leverage
output file output file MARC XML MARC XML MARC object MARC object MARC object MARC object Bib blob Bib blob Extract Bib records and their associated MFHDs Convert Bib and MFHD “blobs” into MARC Record objects Parse MFHD; get 852 and add to MARC Bib Transform MARC records to marcxml and output to file MFHD blob MFHD blob Voyager Oracle Voyager Oracle SQL 852