That looks like the ticket. THANKS! Frank M. Ramaekers Jr.
> -----Original Message----- > From: CMSTSO Pipelines Discussion List [mailto:CMS- > [email protected]] On Behalf Of John P. Hartmann > Sent: Wednesday, July 24, 2013 7:33 AM > To: [email protected] > Subject: Re: [CMS-PIPELINES] How to locate a record, plus next 3 > > If there are more, you certainly want to explore PICK. > > |p: pick from w17.3 == /target 1/ count 3| > > \p: > |q: pick from w17.3 == /target2/ count 4| > > On 07/24/2013 02:27 PM, Frank M. Ramaekers wrote: > > Yeah, there's potential for more than one, but thanks for the pointers. > > > > Frank M. Ramaekers Jr. > > > >> -----Original Message----- > >> From: CMSTSO Pipelines Discussion List [mailto:CMS- > >> [email protected]] On Behalf Of Rob van der Heij > >> Sent: Wednesday, July 24, 2013 7:20 AM > >> To: [email protected] > >> Subject: Re: [CMS-PIPELINES] How to locate a record, plus next 3 > >> > >> If there is just one such set that you care about, I'd use > >> frtarget locate /rob/ | take 4 | x: if drop 3 | nlocate ,frank, | > > x: > >> If there's multiple sets I would mark them first and then use between > >> > >> Rob > >> > >> > >> On 24 July 2013 14:10, Frank M. Ramaekers <[email protected]> > >> wrote: > >> > >>> In this case, I'm looking for a particular string. When found, I > > need > >>> that record plus the next three. I don't see an easy way to do > > this > >>> with PIPEs. Somebody got a straight forward method? > >>> > >>> (Actually, I need the next three records, if the contents of the 3rd > >>> record has a particular string, otherwise I need 4 records.) > >>> > >>> > >>> > >>> TIA, > >>> > >>> Frank M. Ramaekers Jr. | Systems Programmer | Information Technology > > | > >>> American Income Life Insurance Company | 254-761-6649 > >>> > >>> > >>>
