This script converts a MARC file generated by Sagebrush Athena to a file appropriate for Koha.
Usage: You need to specify the input and output files, and optionally the branch code for your library.
perl marcconvert.pl originalmarcfile convertedmarcfile
or
perl marcconvert.pl originalmarcfile convertedmarcfile branch_code
If you specify the branch code, it must correspond to branches.branchcode in the Koha DB.
The branch_code will be set in the output MARC records as 952$a and 952$b.
In the Koha DB, 952$a corresponds to items.homebranch (permanent location), and
952$b corresponds to items.holdingbranch (current location).
Send questions/comments/suggestions to jeffrey_lepage@yahoo.com
Revision: 0.01
Released on: 2008-12-22
Compatible with: 3.0
This script converts a MARC file generated by Sagebrush Athena to a file appropriate for Koha.
Usage: You need to specify the input and output files, and optionally the branch code for your library.
perl athenamarc2koha.pl originalmarcfile convertedmarcfile
or
perl athenamarc2koha.pl originalmarcfile convertedmarcfile branch_code
If you specify the branch code, it must correspond to branches.branchcode in the Koha DB.
The branch_code will be set in the output MARC records as 952$a and 952$b.
In the Koha DB, 952$a corresponds to items.homebranch (permanent location), and
952$b corresponds to items.holdingbranch (current location).
Send questions/comments/suggestions to jeffrey_lepage@yahoo.com.