Deletion of subfield with specific field content
- Product: Aleph
- Product Version: 22, 23
- Relevant for Installation Type: Dedicated-Direct, Direct, Local, Total Care
How to delete a subfield with specific field content, e.g. $$zSpringer. If there are other subfields $$z with other text they shall remain.
Create a script in directory xxx01/tab/import/655_fix (sample name) with the following line (here for field 655):
1 655## REPLACE-STRING $$zSpringer,
Text "$$zSpringer" will be replaced by the text behind the comma, in this case by NOTHING which means that the subfield is "deleted".
Add the script as expand or as fix routine to either xxx01/tab/tab_expand or xxx01/tab/tab_fix with the following command:
WORD fix_doc_do_file_08 655_fix
Another way of deleting a subfield with specific content is described in "Delete a subfield only when it has specific text in it using a batch job"
- Article last edited: 11-May-2016