Conditional MARC Map Syntax

You create the conditional parts of a MARC map using specific syntax. It is this syntax that makes the conditional parts of a MARC map so powerful and flexible. You use the same syntax if you are creating conditions on the extraction tags or conditions for the entire MARC map. (For example, when you create tag parts in conditional statements, Horizon uses an asterisk [ * ] for tag indicators and slashes [ / ] to identify positions within tags.)

This table explains the syntax you use to create conditional parts of a MARC map:

To enter this

Enter this type of information

Example

position

position number

8 (position 8)

length (number of positions)

length as a number

2 (for a length of 2 positions)

position for a length of

/position.length

/8.2 (starting at position 8 going for a length of 2 positions)

indicator

*number

*1 (indicator 1)

subfield letter or digit

letter or number of the digit

a, d, or f

1, 2, 3, 4, 5, 6

part of subfield

number or letter of the subfield/position and length of characters

a/8.2

Here are some examples of conditional entries:

To say this

Enter this

Indicator 1

*1

Position 14

/14

Position 14 for a length of 2 positions (Positions 14 and 15)

/14.2

Subfields a, b, c, x, y, z, and 2

abcxyz2

Position 3 of subfield w for two positions (positions 3 and 4)

w/3.2

Subfields a, b, part of x (positions 6 and 7 of x), and z

abx/6.2,z

 


© 1998-2017 Sirsi Corporation