Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleMatch points

First: 020a

Second: 022

Info

This will first look for matches in 020a. If it does not find any matching 020a fields, then it will check 022.

Code:

Code Block
/^999||t|0|10| | |0|n|G|0|#com="ov"@ov_tag="i(020)v:i(022)i"
Expand
titleOverlay action

0 matches: Insert new bib

1 match: Attach item only (no overlay, insert 995)

2 matches: Reject

Code:

Code Block
|||0|0| | |0|n|G|0|@ov_action="c"
Expand
titleProtected fields

All fields are protected because this loader won’t will never overlay the a bib, only

It will only insert a new bib or attach an item to an existing bib (and insert a 995)

Expand
titleTemplates

Bib: tapeb

Item: tapei

These are the default templates in Marmot loaders. The template settings only take effect if that field is not defined in any other way by the record load.

Code:

Code Block
/^999||o|0|20| | |0|n|G|0|#com="dflt"@dflt="tapeb,tapei"
Expand
titleInteractive 949 // commands

These commands will override defaults. This is rarely used.

recs = Load profile
bn = bib location
ct = Cat Date
b1 = Bib Lvl
b2 = Mat Type
b3 = Spec’l Use
la = Language
cy = Country

Info

Format

code

:

949

\\$a*recs=msc;bn=cu;ct=01-18-2021;b1=m;b2=a;b3=w;la=spa;cy=cou;

Expand
titleCAT DATE

Will never change a CAT DATE because it will not overlay. If a new record is inserted because there are no matches, then it will set CAT DATE to today.

Code:

Code Block
|||0|0| | |0|n|G|0|@cdate="y"
Expand
title001 field processing

Processed by m2bmap.sky translation map.

This translation map removes OCLC prefixes from 001 field. Other prefixes are left in place. SkyRiver prefix is left in place.

Code:

Code Block
001||%|0|0|b|o|0|y|N|0|%map="m2bmap.sky"

m2bmap.sky:

Code Block
@case=true
@stop_on_map=true
^(001)$0ocl70*([1-9][0-9]*)$1|\0\1
^(001)$0ocm0*([1-9][0-9]*)$1|\0\1
^(001)$0ocn([1-9][0-9]*)$1|\0\1
^(001)$0on([1-9][0-9]*)$1|\0\1
^(001)$0( *[a-zA-Z].*)$1|\0\1
^(001)$0(.*)$1|\0prefix\1
Expand
titleFields loaded

FIXED FIELDS

Incoming

Output

008 Language

LANG fixed field

008 Country

Country fixed field

Leader BLvl

Bib Lvl fixed field

Leader Type of Record

Mat Type fixed field

VARIABLE FIELDS

Incoming field

Output field group tag

Notes

001

o

OCLC prefix removed
Other prefixes left in place

002 - 007

y

The incoming 005 is retained. Sierra does not change a the 005. It should reflect the date the record was last updated where ever the record came from.

008

y

Modified to add some fields from Leader, these fields returned to Leader on export

010

l

013 - 018

y

019

o

020 - 024

i

025

y

027 - 028

i

030 - 049

y

050 - 084

j

086

g

088

j

090 - 099

j

100 - 111

a

130

t

210

y

211 - 222

u

240

t

241 - 243

u

245

t

246 - 247

u

250

e

254 - 257

y

260 - 262

p

263

y

264

p

265

y

270

p

300 - 399

r

400 - 490

s

500 - 589

n

600 - 689

d

Exclude subfield w

690 - 691

v

Exclude subfield w

692 - 699

d

Exclude subfield w

700 - 711

b

Exclude subfield w

720

y

Exclude subfield w

730 - 740

u

Exclude subfield w

752 - 755

y

760 - 777

q

780

x

785

z

786

y

787

w

800 - 811

s

Exclude subfield w

830

s

Exclude subfield w

840

s

Exclude subfield w

841 - 855

y

856

y

866

h

867 - 868

y

880

y

898

y

900 - 906

y

909 - 937

y

939 - 947

y

949

Item d

Move to 945 in item record, FGT d

950 - 959

y

962 - 987

y

990 - 994

y

995

m

Ignores incoming field and loads text “Loaded with m2btab.msc in this month”

996 - 997

y

999

y

...