Generate MARC bib - Leader

Description

Purpose
The role of the leader in MARC record is to specify the beginning of a new record and has a fixed length (24 character positions: 00-23)
Since the record will be generated from scratch some elements will need to be auto generated and some will need to be populated with the data available in inventory instance. For example, Leader/06 position is used for Type of Record and Leader/07 position for Bibliographic level.
The values for the fields will need to be updated:
ldr/17 should be set to 3
ldr/18 should be set to c

The fields below seem to be working in already implemented user stories
ldr/00-04 - calculated - should be handled by marc4j
ldr/05 set to "n"
ldr/06 set to "a"
ldr/07 set to "m"
ldr/08 blank
ldr/09 should be set "a"
ldr/10 should be set to 2
ldr/11 should be set to 2
ldr/12-16 should be generated by the toll based on the ldr and directory

ldr/19 blank
ldr/20-22 should be set to 450
ldr/23 should be set to 0

Additional information about the meaning of each option can be found here

Acceptance criteria

  1. The data is formatted consistently with parsedRecord.json

  2. Leader fields are populated correctly.

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Igor GorchakovMay 15, 2020 at 3:09 PM
Edited

The work is made only to customize 17-19 positions
Verified on folio-snapshot-load:
position 17 - '3'
position 18 - 'c'
position 19 - ' ' blank

Magda ZacharskaApril 15, 2020 at 7:22 PM

After discussing this with MM SIG - Data Export Subgroup to simplify the mapping between values supported by MARC and values available in FOLIO for LRD/06 AND LDR/07 we will set LDR/06 to "a" and LDR/07 to "m". Updating the description accordingly

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Concorde

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created March 30, 2020 at 7:25 PM
Updated May 15, 2020 at 8:14 PM
Resolved May 15, 2020 at 7:27 PM
TestRail: Cases
TestRail: Runs