Re: THANK YOU ALL: Anybody know a way to add a MARC tag on-mass to a file of MARC records

From: Schwartz, Raymond <SchwartzR2_at_nyob>
Date: Thu, 28 Aug 2014 19:11:27 +0000
To: CODE4LIB_at_LISTSERV.ND.EDU
Thanks everyone.  This example using Perl was perfect.  /Ray

-----Original Message-----
From: Bryan Baldus [mailto:bryan.baldus_at_quality-books.com] 
Sent: Thursday, August 28, 2014 2:48 PM
To: Code for Libraries; Schwartz, Raymond
Subject: RE: [CODE4LIB] Anybody know a way to add a MARC tag on-mass to a file of MARC records

On Thursday, August 28, 2014 1:27 PM, Ray Schwartz wrote:
>Anybody know a way to add a MARC tag on-mass to a file of MARC records.  I need to add the tag 918 $a with the contents "DELETE" to each of the records.

What language are you using? For Perl, using MARC::Record, there is an example at [1].

[1] http://search.cpan.org/dist/MARC-Record/lib/MARC/Doc/Tutorial.pod#Adding_a_field

I hope this helps,

Bryan Baldus
bryan.baldus_at_quality-books.com
eijabb_at_cpan.org
http://home.comcast.net/~eijabb/
Received on Thu Aug 28 2014 - 15:12:13 EDT