[OPEN-ILS-GENERAL] MARC batch edit for fixed length fields?
Janet McGowan
janet.mcgowan at ptfs-europe.com
Thu Feb 2 10:43:02 EST 2012
The suggestion for replace as you've suggested would be fine and meet
our needs. Others may require something more complex but this would be
great for me.
-Janet
On 01/02/2012 19:17, Mike Rylander wrote:
> On Wed, Feb 1, 2012 at 1:06 PM, Janet McGowan
> <janet.mcgowan at ptfs-europe.com> wrote:
>> Hi,
>> I've been using the MARC batch edit function fine for overlaying variable
>> tag data, but I wonder if it should be possible to use it for batch editing
>> specific positions in control data - in fields like the LDR or 008?
>> For example I have been trying to change a code in the character position 23
>> of the 008 (Form of item) from one code to another. I've been able to
>> overlay the whole 008 by entering spaces to identify the position, but this
>> overwrites the whole string. Could anyone advise me if there is there a
>> syntax that I could use in the MARC Data part of the rule to identify the
>> position to be changed?
>
> That's not there currently, but it would be helpful to brainstorm the
> syntax. How about, in subfield 'f' for fixed-field:
>
> 008,23,1,a
>
> That breaks down to "in controlfield 008, starting at position 23
> (counting from 0), replace 1 character with 'a'". What isn't covered
> here is the optional match-test regexp that 'add' and 'replace' rules
> have. Would there be a strong need for that?
>
--
Janet McGowan
Customer Services Manager, PTFS Europe Ltd
Content Management and Library Solutions
janet.mcgowan at ptfs-europe.com
tel: +44 (0)800 756 6803
mobile: +44 (0)7985 431266
skype: janetc.mcgowan
www.ptfs-europe.com
More information about the Open-ils-general
mailing list