On 24 June 2016 at 16:51, Mike Walter <[email protected]> wrote:
> Perhaps a bit clearer: as used in your example the VAR stage creates only > one variable, and thus ends with eof propogated back to STACK, preventing > subsequent record processing. > Not knowing your goal, perhaps in place of VAR, you might consider STEM > The book says (as Mike Harding points out) that VAR (in this configuration) shorts the primary stream after obtaining the first record. It does not prevent the stack from being emptied. It's the TAKE that restricts the number of records consumed from the STACK. I see that the z/VM 6.3 book explains reading from STACK slightly different than the Author's Edition. That might have helped to confuse Steve initially. Rob
