Hi, Andres - Andres Tarallo said:
...we are trying to understand the way bulkmarcimport.pl handles MARC records, in order to feed it with properly loaded records. It's not clear for me the way i have to build my MARC records
You're writing a script using MARC::Record if I recall. So what you should do is open a file early in the script to save your records, something like: open OUTFILE, "+>bibs" or die "Cannot open output file (bibs)"; Then go through the process of putting each record together tag by tag. Something like: $tag100 = MARC::Field->new(100,'','','a'=>$author); $record->append_fields($tag100); Then when you have all the tags built add the record to your output file: print OUTFILE $record->as_usmarc(); [The perl lines above assume you are using MARC21, change accordingly for UNIMARC.] Now you have an iso2709 file ("bibs") that you can load using bulkmarcimport.pl. -- Stephen Hedges Skemotah Solutions, USA www.skemotah.com -- shedges@skemotah.com