This is correct. "To perform a cycle, spec issues the items in the specification list from left to right. At the beginning of a cycle, spec synchronises the input streams it uses; that is, it peeks at all input streams it uses before issuing any specification items. This ensures that a record is available on all streams at the beginning of the cycle. At the end of a cycle, spec consumes an input record from each of the streams it uses."
Note "it uses". Streams that are not selected are ignored. In the first case, NO records are read or peaked from the primary. On 2/27/19 00:28, Glenn Knickerbocker wrote:
specs select 1 1-* 1 Surprise! The whole file on stream 1 came out in place of the*first* record on the primary. To pair up the records, I had to include something from the primary in the spec, if only to discard it: specs 1 . select 1 1-* 1
