Skip to main content
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    How to run basic MarcExport?

    • Article Type: General
    • Product: Voyager



    How to run MarcExport to export records?


    I.  Determine parameters
    1. What type of records to export (Record type, -r); most commonly:
      • A (Authority Records)
      • B (Bibliographic Records)
      • H (MFHDs)
      • G (Bib-MFHD group, interleaved)
    2. 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)
    3. 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:
    1. Connect to server via SSH or telnet.
    2. cd /m1/voyager/xxxdb/sbin
    3. Pmarcexport -r{X} -m{X} -t{X} (where {X} is appropriate parameter value)
    4. cd ../rpt
    5. ls -l log.exp*
    6. Find log.exp* file with datestamp corresponding to run.
    7. ls -l marc.exp*
    8. Find marc.exp* file corresponding to run.
    9. 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:
    1. Connect to WebAdmin.
    2. Click "Bulk Export of MARC Records.
    3. Select "Record Type" from drop-down.
    4. Click desired Export Mode radio button.
    5. Enter corresponding data for Export Target.
    6. Enter email address.
    7. Click Submit.
    8. Return to Main Menu.
    9. Click "Report Files"
    10.  Find log.exp* and marc.exp* files corresponding to run.
    11.  If editing records or sending to another party
      1. For Voyager 9.0.0 and higher, click marc.exp* file to download.
      2. 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


    • Was this article helpful?