How to change field content and create a new field
- Article Type: General
- Product: Aleph
- Product Version: 20
Desired Outcome Goal:
- Change content of field 690#8 from “ABC” to “GHI”
- Add new fields 690#8 with “GHI” when no field 690#8 is available
Required actions should be done when loading records using “Load ALEPH Sequential MARC Records (manage-18)”
Procedure:
Add the following fix routines in directory xxx01/tab/import:
690_fix [Changes "DEF" to "GHI" in field 690#8]
! 2 3 4 5 6 7 8 9
!-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1 690#8 REPLACE-STRING $$aDEF,$$aGHI
6902_fix [Adds a new field 690#8 with "GHI" if no field 690#8 is in the record]
! 2 3 4 5 6 7 8 9
!-!!!!!-!!-!-!!!-!!!-!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!-!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2 690#8 COND-LOAD-VAL-FIELD Y
2 LDR ADD-FIELD 690 8,L,$$aGHI
Add the routines to xxx01/tab/tab_fix
690 fix_doc_do_file_08 690_fix
690 fix_doc_do_file_08 6902_fix
PC server has to be restarted in order to activate the settings.
When running p_manage_18 for loading records assign fix routine 690 and the required fields are created/modified.
Category: Cataloging (500)
Subject: Services
- Article last edited: 10/8/2013