Re: [CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Paul Gilmartin
On 2018-03-02, at 15:18:04, Rob van der Heij wrote: > ... > I'm happy you like the book. If you know the "Author's Edition" then the new > z/VM 6.4 will feel very similar, ... > Yaaay! Thanks! Now it needs only to percolate to the TSO instance. Someone commented on another list that he

Re: [CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Rob van der Heij
> So in the syntax diagram I think that would fall under: > Pick ... "List" : ..."Test": ..."RangeString" I think the Piper meant to say | pick from 5.2 == ,99, count 4 The entire argument for 'pick' in this case is a 'Fromto:' fragment, since it has both FROM and COUNT. The 'List:' fragment

Re: [CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Stanislawski, Shawn (National VM Capability)
Beautiful! So in the syntax diagram I think that would fall under: Pick ... "List" : ..."Test": ..."RangeString" The "Author's Edition" and the new IBM z/VM 6.4 CMS Pipelines "Users Guide and Reference" certainly do contain the most interesting information, versus the older IBM z/VM 6.1 CMS

Re: [CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Michael Harding
Simple case of "sipping" pipeline: 'PIPE (End ?)', '<' infile, '|pck:rexx *.1:', '|Cons', '?Literal /* */ Signal On error;', 'Do forever; "Peekto";', /* test if any input */ '"CallPipe *:||FromTarget Pick 5.2 == /99/ || take 4|| *:";', 'End; Error: Exit Rc*(Rc<>12)', '|pck:' -- Mike Harding

[CMS-PIPELINES] Selecting multiple record chunks

2018-03-02 Thread Stanislawski, Shawn (National VM Capability)
I've got some data, within it reside multiple record chunks that I want. The desired record chunks are randomly spaced within the data. The desired record chunks are composed of 4 consecutive records. The record chunks all start with records whose column 5 & 6 contain the characters "99", and