Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Community Knowledge
    4. System Administration: Creating an Input File for Bulk Export

    System Administration: Creating an Input File for Bulk Export

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: Kurt Wagner
    Created on: 5/15/2019



    [This article was copied from the Voyager Wiki.]

    I wanted to run Bulk Export on a set of bib records that had a particular MARC field with particular text in it. First, I created a query that would produce a set of BIB_ID numbers for the desired records, then I ran Pmarcexport using the M parameter (MARC ID input filename).

    [People] said to create a query that would pull the BIB_ID of the records I'm interested in. Here is the query I used - kept as simple as possible.

    SELECT BIB_TEXT.BIB_ID

    FROM BIB_TEXT INNER JOIN BIB_ITEM ON BIB_TEXT.BIB_ID = BIB_ITEM.BIB_ID

    WHERE (((GetFieldAll(GetBibBlob([BIB_TEXT]![BIB_ID]),"947")) Like "*GAPTAPE*") AND ((BIB_ITEM.ADD_DATE) Between [Choose start date] And [Choose end date]));

     

    This let me get a list of BIB_IDs with the desired MARC tag/contents with an add date in the range I wanted.

    Simple. I ran it and got a string of BIB_IDS. I futzed around with trying to export it and that didn't work very well. Instead, working in my Access query results window I selected Edit>Select All. Copy to clipboard, open up Notepad and saved as a text file there. 6470 records in a 51KB file. It's only the BIB_ID numbers.

    I brought that over to /m1/voyager/xxxxxdb/sbin and then ran the export like this:

    Pmarcexport -rB -mM -tgaptape.txt

    Just checked everything and it looks like it worked fine. The extract ran in 2 seconds. Pretty simple as well, and I'm most definitely still learning the ropes.

    Kurt




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • System Administration: Conducting an Inventory with Observer and Handheld Scanners
      • System Administration: LibCB Extract Ejournals Script
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      How To
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved