[Koha] why 0 items found on import?

Stephen Blass Stephen.Blass at asu.edu
Wed Aug 3 17:28:46 UTC 2005


Hello,
 
I am working on moving from a PC based library program, Concourse, to
Koha.  Koha installation was straight forward and the system is working.
When I import my marc records I run into some trouble.  My records get
imported but my item types don't show and everything is listed in Koha
as having zero items.  The item types seem to be stored outside the marc
record in Concourse so I broke my marc export out into separate files
for each type of item.  I think I see how to programatically set the
item type during import to Koha.  My real struggle is getting the items
to show up as items in Koha and not just biblios.  I'm a perl programmer
and not a librarian so I don't quite get it.   It looks again like
Concourse and Koha use marc differently.  What Koha maps to 952 tags
seems to be listed under 852 tags in what Concourse exports.   What I am
looking for is a hint about how to adjust things so Koha will believe I
have one of each of the items I am importing records for.  As an example
I have a two record marc file with an entry for a copy of Windows XP
software and a copy of Adobe Acrobat that gives me the following when I
use dumpmarc.  (Our barcode is contained in 852p )
 
NUM : 0
 
NUMBER 1 =>
LDR 00355nam  2200133 a 4500
001     :::00005241$&:&@E
005     20050413115220.0
008                                  000 0 eng u
040    _ax
100 1  _aWindows XP SP2
245 10 _aWindows XP SP 2
250    _ax
260    _ax
       _bMicrosoft
852 1  _aMain Library
       _p00005241
       _x{BookSysInc::00005241::QB@ ::BookSysInc}
       _9$ 0.00
NUMBER 2 =>
LDR 00305nam  2200109 a 4500
001     :::00005242$&:&@E
005     20050413151137.0
008                                  000 0 eng u
100 1  _aAdobe
245 10 _aAdobe Acrobat 5.0
260    _bAdobe
852 1  _aMain Library
       _p00005242
       _x{BookSysInc::00005242::QB@ ::BookSysInc}
       _9$ 0.00
==================

 
Now, when I run the bulkmarcimport script in verbose mode I get this
 
deleting biblios
CHAR : MARC21
1 ==>LDR                         
001     :::00005241$&:&@E
005     20050413115220.0
008                                  000 0 eng u
040    _ax
100 1  _aWindows XP SP2
245 10 _aWindows XP SP 2
250    _ax
260    _ax
       _bMicrosoft
852 1  _aMain Library
       _p00005241
       _x{BookSysInc::00005241::QB@ ::BookSysInc}
       _9$ 0.00 at
/usr/local/koha/intranet/scripts/misc/migration_tools/bulkmarcimport.pl
line 118.
1 : 0 items found
ADDED biblio NB 16625 in DB
2 ==>LDR                         
001     :::00005242$&:&@E
005     20050413151137.0
008                                  000 0 eng u
100 1  _aAdobe
245 10 _aAdobe Acrobat 5.0
260    _bAdobe
852 1  _aMain Library
       _p00005242
       _x{BookSysInc::00005242::QB@ ::BookSysInc}
       _9$ 0.00 at
/usr/local/koha/intranet/scripts/misc/migration_tools/bulkmarcimport.pl
line 118.
2 : 0 items found
ADDED biblio NB 16626 in DB
2 MARC record done in 0.0708580017089844 seconds
 
 
How do I explain to Koha that we want an item recognized for each of the
imported records?  By hand I can edit the item and enter the barcode and
voila' I have an item that is requestable.   I think that means my marc
- koha mapping is at least close to being right.   So is the answer to
my problem in modifying the marc records import or is this something I
can fix somewhere in one of the mapping tables?
 
Thanks,
 
Steve Blass
sblass at asu.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20050803/8e7b038b/attachment.htm>
-------------- next part --------------
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha


More information about the Koha mailing list