- Article Type: General
- Product: Aleph
- Product Version: 19.01
We would like to do validation checks. For example, if bib field 500 subfield "a" contains the term "Index." then check that fixed field 001 position 31 contains the number 1 (one).
The $data_tab/check_doc_line can be used to create dependencies for subfields within the same field, but not across fields.
I believe that the generic fix_doc routines, as described in Generic Fix Doc (p_file_08).doc and Generic Fix Doc (p_file_08) Examples.doc, could do this.
COND-LOAD-VAL-MATCH (Example 11) could be used to check the 500 $$a for "index" and, if matched, continue with:
FIXED-CHANGE-VAL or FIXED-CHANGE-VAL-RANGE (Example 7) to update the 001 position 31.
(Note: Aleph does not consider the 001 to be a fixed field; but it may work anyway.)
- Article last edited: 10/8/2013