I'm a newbie trying to wrap my computer science mind around MARC, and at the same time write a program to translate a database of reproductive health behavior change communication materials (i.e., posters to encourage condom use) into MARC records. My ultimate goal is to import them into Koha to manage the collection.
I have fields like these in my existing database: PROD - Producer's name ADP - Producer's address CTYP - Producer's city etc. Any or all of these could be missing. I'd like to create a 270 record (I think) from this information. I'd like to do something similar to this pseudo-code: my $mprod = MARC::Record->new('270', ' ', ' ',); #Base record $mprod = MARC::Record->update($mprod, a=>$ADP) if $ADP; $mprod = MARC::Record->update($mprod, b=>$CTYP) if $CTYP; $mprod = MARC::Record->update($mprod, c=>$CTYP) if $CTYP; .... Can anyone help me out with a way of doing this efficiently? Thanks for your advice and suggestions. -Kevin Zembower ----- E. Kevin Zembower Internet Systems Group manager Johns Hopkins University Bloomberg School of Public Health Center for Communications Programs 111 Market Place, Suite 310 Baltimore, MD 21202 410-659-6139