fix-doc-convtb : Delete field with condition
- Article Type: Q&A
- Product: Aleph
- Product Version: 20
Question
How to delete a field in the conversion when it has a specific text in a specific subfield. The field can occur several times in the record.
Example: Field 994 shall be deleted when it has $$zABC
Answer
xxx01/tab/tab_fix_nnn
>>PAR STD-TAG=#####
994## 994 chk_contains z,"ABC",TRUE=CANCEL-FIELD,FALSE=CONTINUE
xxx01/tab/tab_expand
TEST fix_doc_convtb FILE=tab_fix_nnn
Category: Cataloging (500) - ALEPH
Subject: ALEPH - 500
- Article last edited: 10/17/2014