What that script does is assume that the records already have a biblionumber stored in 999$c for each of the records. Instead of just generating a new biblionumber and using it for the record, the existing value in 999$c will be used instead.
If you need your biblionumbers to match your control numbers, you could preprocess them with something like MarcEdit to copy the control number value to 999$c for each record. For this to work your control numbers would have to be numeric only. Also, I should note that your control number is retained in 001 when it is imported no matter how you do the import, so this may be a non-issue unless you are doing something where you specifically assume the control number is the same as the biblionumber. Kyle http://www.kylehall.info ByWater Solutions ( http://bywatersolutions.com ) Meadville Public Library ( http://www.meadvillelibrary.org ) Crawford County Federated Library System ( http://www.ccfls.org ) On Thu, Jan 14, 2016 at 6:31 PM, Shell, Lezlie < lezlie.sh...@contractor.cengage.com> wrote: > I have a question about batchImportMARCWithBiblionumbers.pl > > I found a reference to this in a 2010 email. The scenario described, a > library needing to retain their current control numbers as biblionumbers to > continue connecting to outside databases, is the same thing we need to do. > Unfortunately, I didn't see an answer to the question. > > The description of the script, "small script to import an iso2709 file > into Koha with existing biblionumbers in marc record" made me wonder if I > was importing a marc file into a clean database, if I had our current > control number in the 001, if this script would use this value as the > biblionumber. > > I know there are a lot of "ifs", but am I on the right track? > > Thanks, > Lezlie > Questia > > > _______________________________________________ > 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