Passa al contenuto principale
Supporto OCLC

Update a LHR field indicator

Discover how to update field indicators in an existing LHR.

Update a field indicator

The Update LHR Field Indicator script allows you to set and update indicators 1 and 2 in LHRs, either without adding a condition or depending on a pre-existing indicator or field content. 

 Note: When typing in the values for fields, indicators, and matching conditions, the system does not automatically check if a field exists or an indicator is valid for the field you added. When running the script or previewing your changes validation will take place, and make sure that whichever change you've submitted to be made to the LHR is valid after the script has been applied.

  1. Navigate to Record Work Lists > LHR and then click the Record Work List ID to which you want to update LHR field indicators.
  2. From the LHR - Record Work List screen, select Base Script from the Edit Action drop-down list.
  3. Select Update LHR Field Indicator from the Script Name drop-down list.
  4. For Field, enter the local holdings record field you want to update. For more information about MARC 21 fields, see OCLC-MARC local holdings format and standards.
  5. Select the Indicator you would like to update from the drop-down list.
  6. In the text box, enter the value to which the indicator should be updated after running the script.

     Note: If you add or remove a second indicator 1 with a value of 7 this is considered a special case, as it requires a valid $2 subfield. When choosing 1 as the Indicator and 7 as the value and clicking out of the field, an option to Add $2 will appear. When replacing an existing indicator 7, an option to remove the $2 will display.

  7. To find and update a matching indicator:
    1. Enable the check box for Find Matching Indicator.
    2. In the text box, enter the value of the matching indicator.
    Oppure
    To find and update an indicator if a field has matching content:
    1. Enable the check box for Find Matching Content.
    2. Enter a Field and Subfield.
    3. Choose a Matching Option from the drop-down list.
    4. In the Find This Content text box, enter the matching content to search for.
  8. Select the LHR record(s) to which you want to add the field.
     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.
  9. (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 LHRs - Preview Record(s) after Edit Action Applied screen displays the selected records with the script change applied and includes any validation errors.
    3. Click View Current Record(s) to view the selected records in their current state. From the View LHRs - Current Record(s) screen, click Preview Record(s) after Edit Action Applied to return to the View LHRs - 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.
  10. Click Actions > Edit > Selected Target Records.
  11. Click Apply in the Apply LHR Script to Selected Record(s) 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 the LHR 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.