Voyager bulk import
Records can be bulk uploaded directly to Hamnet by command line on the Voyager server, or via the "webadmin" web interface to the server. Use the web interface for small batches (fewer than 1,000 records) only. When using the command line bulk import program, "for optimum import performance, import 10,000 records (or less) at one time. If your record file is larger than 10,000 records, it should be broken into smaller sets of records (using the -b and -e parameters) and then imported one after the other."
Record sets can be bibliographic records only (Bibs); authority records only; Bibs plus holdings records (MFHDs); Bibs plus MFHDs plus Purchase Orders (POs); Bibs plus MFHDs plus Item records; or Bibs plus MFHDs plus POs plus Items.
New Bulk Import Profiles for each source must be created in the SysAdmin module. Do not apply an existing profile to a new vendor's records: there are too many variables to risk it.
File preparation
Examine the MARC file for non-Folger practice or unusual fields. Use a utility such as MarcGlobal to add, edit, and delete information as needed.
Common changes include:
- Add Folger-specific Advisory statements
- Add Folger-specific MARC 852 Location information
- Add Folger-specific MARC 856 Electronic Location and Access information
Other changes might include:
- Add 1XX/7XX $e Relator term based on content of $4 Relator code (Women Writers Online records: opted not to change before load: too time-consuming)
Bulk replacement
Web interface
Voyager Batch Upload Information when using web interface to replace Bib records with edited records having identical Bib IDs:
- Import Code: RPL_001 (defined in SysAdmin to replace existing records with incoming records when they have the same 001, formerly called REPLACE)
- Operator Name: WebReplace (defined in SysAdmin; optional, but it's useful to have something other than a blank space in the "History" tab)
- Begin record / end record: upload the first three or so as tests before doing the rest of a large batch
- Uncheck "Show/Approve MARC display before database load?" if you've already verified the contents and integrity of the file (it takes a long time to load them into the "preview" and there's no point if you've just had the same file open in MARCView or the equivalent)
- Voyager 8 has a bug that prevents log files from being sent as an attachment when they're too large to send in the body of an email ("--- No log file available ---" displays in the "COMPLETED" email). Workaround: View log file in WebAdmin > Report Files.
Command line interface
- When importing large sets of records, run keyword regen separately afterwards. Doing it as part of the load makes it go really slowly.
- Change directory to /m1/voyager/folgerdb/sbin to run Pbulkimport
- Bulk Import Rules: RPL_001 ("Replace on 001 match")
- Bibliographic Duplicate Detection Profile: RPL_001 ("Replace on 001 match")
- Operator Name:
- CmdReplace ("Bulk Replace, Command Line Interface")
- BSLW_base ("BSLW, Basefile Reload")
- Name source file BSLW-yyyymmdd-description.mrc (e.g. BSLW-20161223-basefile.mrc)
- Copy file to /m1/voyager/folgerdb/local
- Parameters:
- -f Filename -- required (use the complete path)
- -i Import code -- required
- -o Operator name -- not required
- -b Begin record -- not required
- -e End record -- not required
- -C Do NOT create 035 -- not required
- -M Allow multiple bulk import processes -- not required (use sparingly: it's easy to overwhelm the system)
- Example:
- Pbulkimport -f/m1/voyager/folgerdb/local/BSLW-20161223-basefile.MRC -oBSLW_base -iRPL_001 -b1 -e10 -C