Purpose, Argument, Streams, Usage, Examples, Related
>>──┬─HOLE─┬─────────────────────────────────────────────────────────────────────────>< └─SINK─┘
Use the HOLE stage to read all input records and discard them. HOLE reads records from all of its connected input streams and does not write any records to any output stream. The HOLE stage terminates when all of its input streams have reached end-of-file.
**** Top of file **** Address Rxpipe
'pipe (endchar ?)', '< master.txt', /* Read master input file. */ '| sort', /* COLLATE expects a sorted input. */ '| c: collate', /* Find matches. */ '| hole', /* Discard matching records. */ '?', '< detail.txt', /* Read detail input file. */ '| sort', /* COLLATE expects a sorted input. */ '| c:', /* Define secondary streams for COLLATE. */ '| > missing.txt', /* Write missing records. */ '?', 'c:', /* Define tertiary output for COLLATE. */ '| > new.txt', /* Write new records. */ '?', 'literal /Wait..collating./', /* Console info message. */ '| console' /* Write it to the console. */
Exit 0 **** End of file ****