Re: [Koha] Koha Duplicating Items

2019-02-12 Thread Mark Alexander
Excerpts from Myriam Torres's message of 2019-02-12 11:22:18 +0200:
> [...] The problem is that instead of creating a single item with
> all the information it creates many items with different information. This
> is my mrc file:
> [...]
> =952  \\$aAKL
> =952  \\$bAKL
> =952  \\$o005.265
> =952  \\$p0014915
> =952  \\$yBK

The problem is that Koha treats each 952 field as a separate item.
So in this example, you have five item records instead of one.
You will need to merge each 952 subfield into a single 952 field,
like this:

  =952  \\$aAKL \\$bAKL \\$o005.265 \\$p0014915 \\$yBK

(Apologies if I have the syntax wrong; I use my own scripts
instead of Marcedit.)
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Re: [Koha] Koha Duplicating Items

2019-02-12 Thread Bob Birchall

Hi Myriam,

Replace

=952  \\$aAKL
=952  \\$bAKL
=952  \\$o005.265
=952  \\$p0014915
=952  \\$yBK

with

=952  \\$aAKL$bAKL$o005.265$p0014915$yBK

(that is, each item has to be in a single 952 tag).

I hope this helps,
Bob Birchall
Calyx

On 12/2/19 8:22 pm, Myriam Torres wrote:

Hello,

I want to import my newly created marc file into Koha. Everything is
imported successfully in the Koha empty database,  and it  is creating a
single record. The problem is that instead of creating a single item with
all the information it creates many items with different information. This
is my mrc file:

=LDR  00830nam a2200349Ia 45e0
=005  $020190131144117
=008  $0051202sxxu\\\001|0|eng\d
=008  190212sxx000\0\und\d
=020  \\$a1558602976
=040  \\$aDLC
=040  \\$beng
=040  \\$cDLC
=040  \\$dDLC
=082  \\$a005.265
=100  \\$aFarquhar, Erin.
=245  \4$aThe MIPS programmer's handbook
=245  \0$cErin Farquhar and Philip Bunce
=260  \\$aSan Francisco, Calif.
=260  \\$bMorgan Kaufmann Publishers
=260  \\$c1994
=300  \\$aviii, 408 p.
=300  \\$bill.
=300  \\$c24 cm.
=500  \\$aIncludes index.
=650  \\$aEmbedded computer systems --Programming.
=942  \\$2ddc
=942  \\$cBK
=952  \\$aAKL
=952  \\$bAKL
=952  \\$o005.265
=952  \\$p0014915
=952  \\$yBK

this are the MARC staging results :
Processing bibliographic records
1 records in file
0 records not staged because of MARC error
1 records staged
Did not check for matches with existing records in catalog
*5 item records found and staged*

Do you have any idea what i am doing wrong or why this is happening?

Thank you

--
___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


___
Koha mailing list  http://koha-community.org
Koha@lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha