Skip to main content
OCLC Support

Replace a LBD field string

Discover how to replace a LBD field string in an existing LBD record.

Replace a string in an existing 500 field

  1. Navigate to Record Work Lists > LBD and then click the Record Work List ID for which you want to replace a string in the 500 field.
  2. From the LBD - Record Work List screen, select Basic Script from the Edit Action drop-down list.
  3. Select Replace String In 500 Or 590 Note Field from the Script Name drop-down list.
  4. Select 500 from the Field drop-down list.
  5. Select a subfield from the Subfield drop-down list.
    1. $a - General note
    2. $3 - Materials specified
    3. $5 - Institution to which field applies
  6. Select a matching option from the Matching Options drop-down list.
    1. Begins with
    2. Contains (default)
    3. Ends with
    4. Equals
  7. (Optional) For Capitalization, select Match Case to ensure that found text matches the letter case of the note text entered in the Find This Content field.
  8. Enter the note text in the Find This Content form field.
  9. Enter the replacement text in the Replace with This Content form field.
     Note: If this field is blank, the content you entered in the Find This Content form field will be deleted.
  10. Select the LBD record(s) for which you want to replace a subfield.
     Note:
    • To select all records on the current page of results, select the check box at the top of the table.
    • To select all records in the work list, click Actions > Edit > All Target Records.
  11. (Optional) Preview selected records with the script change.
    1. Select up to 25 records to which you want to apply the script change.
    2. Click Actions > View Selected Record(s) > Preview Record(s) after Edit Action Applied. The View LBDs - Preview Record(s) after Edit Action Applied screen displays the selected records after the script change including any validation errors.
    3. Click View Current Record(s) to view the selected records in their current state. From the View LBDs - Current Record(s) screen, click Preview Record(s) after Edit Action Applied to return to the View LBDs - Preview Record(s) after Edit Action Applied screen.
    4. Once you have confirmed the script changes appear as expected, click Go Back.
    5. (Optional) Select a different set of records (up to 25) and repeat steps a through d.
  12. Click Actions > Edit > Selected Target Records.
  13. Click Apply in the Apply Script dialog window. The script running process is asynchronous. The time it takes to run varies depending on how many records you are editing. While the process is running, you can perform other actions in Record Manager outside of LBD Records tab in the Record Work Lists screen.

    A confirmation message appears identifying how many records successfully updated or failed to update when the script has finished running.

Replace a string in an existing 590 field

  1. Navigate to Record Work Lists > LBD and then click the Record Work List ID for which you want to replace a string in the 590 field.
  2. From the LBD - Record Work List screen, select Basic Script from the Edit Action drop-down list.
  3. Select Replace String In 500 Or 590 Note Field from the Script Name drop-down list.
  4. Select 590 from the Field drop-down list.
  5. Select a subfield from the Subfield drop-down list.
    1. $a - General note
    2. $3 - Materials specified
  6. Select a matching option from the Matching Options drop-down list.
    1. Begins with
    2. Contains (default)
    3. Ends with
    4. Equals
  7. (Optional) For Capitalization, select Match Case to ensure that found text matches the letter case of the note text entered in the Find This Content field.
  8. Enter the note text in the Find This Content form field.
  9. Enter the replacement text in the Replace with This Content form field.
     Note: If this field is blank, the content you entered in the Find This Content form field will be deleted.
  10. Select the LBD record(s) for which you want to replace a subfield.
     Note:
    • To select all records on the current page of results, select the check box at the top of the table.
    • To select all records in the work list, click Actions > Edit > All Target Records.
  11. (Optional) Preview selected records with the script change.
    1. Select up to 25 records to which you want to apply the script change.
    2. Click Actions > View Selected Record(s) > Preview Record(s) after Edit Action Applied. The View LBDs - Preview Record(s) after Edit Action Applied screen displays the selected records after the script change including any validation errors.
    3. Click View Current Record(s) to view the selected records in their current state. From the View LBDs - Current Record(s) screen, click Preview Record(s) after Edit Action Applied to return to the View LBDs - Preview Record(s) after Edit Action Applied screen.
    4. Once you have confirmed the script changes appear as expected, click Go Back.
    5. (Optional) Select a different set of records (up to 25) and repeat steps a through d.
  12. Click Actions > Edit > Selected Target Records.
  13. Click Apply in the Apply Script dialog window. The script running process is asynchronous. The time it takes to run varies depending on how many records you are editing. While the process is running, you can perform other actions in Record Manager outside of LBD Records tab in the Record Work Lists screen.

    A confirmation message appears identifying how many records successfully updated or failed to update when the script has finished running.

Replace a string in any LBD subfield

  1. Navigate to Record Work Lists > LBD and then click the Record Work List ID for which you want to replace a string.
  2. From the LBD - Record Work List screen, select Basic Script from the Edit Action drop-down list.
  3. Select Replace String in Any LBD Subfield from the Script Name drop-down list. For more information about MARC 21 fields, see LBD fields.
  4. For Field, enter the local bibliographic data field for which you want to replace a string. For more information about subfields for MARC 21 fields, see LBD fields.
  5. For Subfield, enter the subfield for which you want to replace a string.
  6. Select a matching option from the Matching Options drop-down list.
    1. Begins with
    2. Contains (default)
    3. Ends with
    4. Equals
  7. (Optional) For Capitalization, select Match Case to ensure that found text matches the letter case of the note text entered in the Find This Content field.
  8. Enter the note text in the Find This Content form field.
  9. Enter the replacement text in the Replace with This Content form field.
     Note: If this field is blank, the content you entered in the Find This Content form field will be deleted.
  10. Select the LBD record(s) for which you want to replace a string.
     Note:
    • To select all records on the current page of results, select the check box at the top of the table.
    • To select all records in the work list, click Actions > Edit > All Target Records.
  11. (Optional) Preview selected records with the script change.
    1. Select up to 25 records to which you want to apply the script change.
    2. Click Actions > View Selected Record(s) > Preview Record(s) after Edit Action Applied. The View LBDs - Preview Record(s) after Edit Action Applied screen displays the selected records after the script change including any validation errors.
    3. Click View Current Record(s) to view the selected records in their current state. From the View LBDs - Current Record(s) screen, click Preview Record(s) after Edit Action Applied to return to the View LBDs - Preview Record(s) after Edit Action Applied screen.
    4. Once you have confirmed the script changes appear as expected, click Go Back.
    5. (Optional) Select a different set of records (up to 25) and repeat steps a through d.
  12. Click Actions > Edit > Selected Target Records.
  13. Click Apply in the Apply Script dialog window. The script running process is asynchronous. The time it takes to run varies depending on how many records you are editing. While the process is running, you can perform other actions in Record Manager outside of LBD Records tab in the Record Work Lists screen.

    A confirmation message appears identifying how many records successfully updated or failed to update when the script has finished running.

Find a failed record

If a record failed to update, the confirmation message provides a status.

To locate the failed record:

  1. Select Included Status(es) from the Filter by drop-down list.
  2. Select the status of the failed record from the drop-down list.
  3. Click Apply Filter(s) to locate the failed record.