Skip to main content
Ex Libris Knowledge Center

How to create interleaved file with Prebulk, with all mfhds mapped to one location

  • Article Type: Q&A
  • Product: Voyager
  • Product Version: All
  • Relevant for Installation Type: Dedicated-Direct; Direct; Local; Total Care

Question

How to generate mfhds using Prebulk that use call number when available, and DEFAULTCALLNO and DEFAULTCALLIND when call number field absent?

Answer

Create configuration file, paying attention to three sets of data for mapping:
[OVERRIDES]
[MFHDTAG] / [MAPPING]
[CALLTYPES] / [LOCATIONS]

1. [OVERRIDES]
1.a. Set CREATEMFHD=YES
1.b. Set DEFAULTCALLNO and DEFAULTCALLIND to the call number and indicator value that should populate the mfhd when a call number from the bib record is not present.
2. [MFHDTAG] / [MAPPING]
2.a. [MFHDTAG] should be the tag where location and/or other mfhd information can be found. If mapping to a default location and call number, this can be any tag that is present in the bibliographic record.
2.b. [MAPPING] stanza dictates which subfields from the [MFHDTAG] are mapped to fields/subfields in the mfhd.
3. [CALLTYPES] / [LOCATIONS]
3.a. [CALLTYPES] specifies which indicator (call number type) to use for a call number, based on the field the call number is pulled from.
3.b. [LOCATIONS] stanza determines which Voyager location is mapped into the mfhd. If data in [MFHDTAG] and [MAPPING] do not match to any of these locations, the first row in the [LOCATIONS] stanza will be used as the default.

Additional Information

The final config file for the above example may look something like the one below (text in italics is explanatory and not part of the file):

[OVERRIDES] 
CREATEMFHD=YES                                               indicates that mfhds should be created by Prebulk
DEFAULTCALLNO=ONLINE                                     if no call number found in fields defined in [LOCATIONS] stanza, this will be used
DEFAULTCALLIND=8                                              if no call number found in fields defined in [LOCATIONS] stanza, this will be used
USE001FOR014=YES 
USE003FORLOC=NO 

[MFHDTAG] 
245                                                                          this field will be found in each bib, so location mapping can be successful

[MAPPING] 
a    852b                                                                   data in this is the subfield in the [MFHDTAG] will be mapped according to the [LOCATIONS] stanza

[CALLTYPES]                                                           defines the indicator to be used (call number type) for the call number based on which tag it's mapped from
050  0
090  8 

[LOCATIONS] 
MAIN  main  050,090                                                  when MAIN found in 245a in bib, will map Voyager location code main to 852b, and look for call number in 050, then 090, before using default if neither found

and it will produce an interleaved file of bibs and mfhds, where all mfhds have been mapped to location main (if no matching data found in 245a, this is also default location), and call numbers have been mapped from the 050, the 090 or use the default ONLINE where neither 050 nor 090 is available.

Category: Batch jobs


  • Article last edited: 3/5/2015