Follett to Koha Migration, revision 1.0
A script to convert a marc21 file exported from Follett into Koha format. There are notes at the beginning of the file about how the script works.
This was originally generated using the 4.x version of MarcEdit. If you are using 5.x you need to modify the MarcBreaker and MarcMaker sections as follows.
\'======================================================
\'FUNCTION/SUB: Marc_Break
\'Description: Encapsulates the MarcBreaker functions
\'======================================================
Function Marc_Break(source, dest)
Dim obj_MB
Dim lret
if fso.FileExists(source)=false then
msgbox \"Local MarcFile Could not be located. Quitting\"
wscript.quit
end if
Set obj_MB=CreateObject(\"MARCEngine5.MARC21\") ***THIS LINE***
lret=obj_MB.MarcFile(source, dest)
set obj_MB=Nothing
Marc_Break=lret
end Function
\'======================================================
\'FUNCTION/SUB: Marc_Make
\'Description: Encapsulates the MarcMaker Functions
\'======================================================
Function Marc_Make(source, dest)
Dim obj_MK
Set obj_MK=CreateObject(\"MARCEngine5.MARC21\") ***THIS LINE***
lret=obj_MK.MMaker(source, dest)
Set obj_MK=Nothing
Marc_Make=lret
end function
Revision: 1.0
Released on: 2009-02-12
Compatible with: 3.0
Windows VB Script modified from a base Marc Edit generated script. This script converts a marc21 format file exported from Follett into Koha format for importing. See the notes at the beginning of the file for details.