[Koha] Importing MARC21 file leaves out Items information
jronallo at gmail.com
Tue Jun 26 00:26:07 NZST 2007
How exactly are you trying to import your records into Koha? If I
recall correctly, using the web interface for importing records into
the reservoir does delete holdings/item information. The only way I've
found for getting my records into Koha while keeping holdings/item
information is to use the bulkmarcimport.pl script. You'll have to
consult with others whether there are any potential problems with
using this script in your case. In other words, proceed with caution.
If you do choose to go this route then here's what I do on Debian Etch
with a standard install:
# Make sure the Koha modules are a part of your path. I accomplish
this by adding "export PATH=/usr/local/koha/intranet/modules" without
the quotes to my .bashrc (or add the path to /etc/profile for the root
# perl /usr/local/koha/intranet/scripts/misc/migration_tools/bulkmarcimport.pl
-v -file /path/to/marc-file.mrc
This has worked for me to get holdings information into my catalog,
but I may be overlooking something important. Please let me know if
your results are different.
On 6/18/07, essjay_d12 <essjay_d12 at hotmail.com> wrote:
> We have set the items up and they are all the same. There is one exception
> that may be causing this error... for the marc structure to be right koha
> needed us to enter a holding branch - without it the marc check throws an
> error. With it its fine. But the item structure from our old library db does
> not have that field. Would this be causing the error, if it is, how do we go
> about getting around this?
> Joshua M. Ferraro wrote:
> > ----- "essjay_d12" <essjay_d12 at hotmail.com> wrote:
> >> We are currently trying to import a marc file, it imports the
> >> records, however the item information does not get imported...
> >> location, status, date Due, last Seen, barcode etc (all blank)
> >> When importing them I got an error message saying Access denied for
> >> user 'kohaadmin'@'localhost' to database 'koha'
> >> referring to line 333 within modules/C4/Biblio.pm
> >> Anybody know why the item details are not appearing - everything
> >> else does
> > You should check the biblio frameworks to make sure the items
> > fields are set up to be identical to the records you're importing.
> > If you are importing records that have items in 852 fields, but
> > your Koha frameworks use 952, the items data won't be linked to
> > the items fields in Koha.
> > Hope that helps.
> > Cheers,
> > --
> > Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE
More information about the Koha