MARC Record Currency Splitter

PerlScript to separate a single MARC order file into file for each currency represented.

Endeavor's Voyager software allows the import of MARC Order files but requires that each 'import code' only has one type of currency in it. For example if you use an import code that has set the currency to US Dollars and one of the books in the order has a price in Britsh Pounds voyager will assume the price is in USD dollars.

To get around this I wrote this perlscript (Utilising the MARC::Record module) to create a separate marc order file for each currency in the input file. You can then load each file with a different import code and currency value.

Note: Currently this code assumes that the only valid currency values are GBP (British Pounds) or USD (United States Dollars). This could be changed if required.

Perl Script:

See: Our blog (Library Cogs) for details on how we are using this script.


This page was written by James Brunskill (www.jambe.co.nz) in March 2007

Note: The code linked to from this page was developed while James was working for the University of Waikato Library. If for any reason the university would like this page and associated scripts to be removed or moved to a different location, I reserve the right to do so.