How to run basic MarcExport?
- Article Type: General
- Product: Voyager
Question
How to run MarcExport to export records?
Answer
I. Determine parameters
- What type of records to export (Record type, -r); most commonly:
- A (Authority Records)
- B (Bibliographic Records)
- H (MFHDs)
- G (Bib-MFHD group, interleaved)
- How records will be identified (Export mode, -m)
- M (MARC ID Input file)
- R (MARC ID Range)
- C (Create Date)
- U (Update Date)
- B (Both Create & Update Dates)
- Export target (-t)
- List of record IDs (text file, one ID per line)
- Range of record IDs (nnnnn-nnnnn or ALL)
- Date range (yyyy-mm-dd hh mi ss:yyyy-mm-dd hh mi ss or today-n)
Suggested best practices include checking available disk space before and while running large MarcEdit jobs, and running large jobs during non-peak hours.
See the Technical User's Guide for additional options and details for each parameter, as well as additional optional parameters.
II. To run MarcExport from the server command line:
- Connect to server via SSH or telnet.
cd /m1/voyager/xxxdb/sbin
Pmarcexport -r{X} -m{X} -t{X}
(where {X} is appropriate parameter value)cd ../rpt
ls -l log.exp*
- Find
log.exp*
file with datestamp corresponding to run. ls -l marc.exp*
- Find
marc.exp*
file corresponding to run. - If editing records or sending to another party, connect via FTP and retrieve
marc.exp*
file from step 8.
III. To run MarcExport from WebAdmin:
- Connect to WebAdmin.
- Click "Bulk Export of MARC Records.
- Select "Record Type" from drop-down.
- Click desired Export Mode radio button.
- Enter corresponding data for Export Target.
- Enter email address.
- Click Submit.
- Return to Main Menu.
- Click "Report Files"
- Find
log.exp*
andmarc.exp*
files corresponding to run. - If editing records or sending to another party
- For Voyager 9.0.0 and higher, click marc.exp* file to download.
- For versions prior to Voyager 9.0.0, connect to server via FTP and retrieve marc.exp* file from step 10.
Additional Information
Use Case Example: Need to export an interleaved file of bibs and mfhds (bib, followed by its associated mfhds) for entire database.
Record type: G (Bib-MFHD Group interleaved)
Export mode: R (Range of record IDs)
Export target: ALL
Pmarcexport -rG -mR -tALL
See also:
- Chapter 11 ("Bulk Export of MARC Records") in the Technical User's Guide
- What is the max size of a file generated by MarcExport?
- How to export all bib and mfhd records in a database
- Use MarcExport to export all authority records from Voyager
- Voyager MarcExport best practices, timing and space considerations
- Can MarcExport include some item data?
- Example of MARC ID input file to be used with Bulk Export (MarcExport)
- Article last edited: 26-Jul-2020