Re: [CMS-PIPELINES] pipe question

2013-10-31 Thread Glenn Knickerbocker
On 10/30/2013 5:04 PM, Kris Buelens wrote: > As mentions in other appends, use VERIFY /0123456789/ before teh PICK to > avoid non numeric values, after whick you can simply use >>= /00/ or >= /0/ After the VERIFY, you don't need to compare it to 00 anyway, since that's the smallest possible value!

Re: [CMS-PIPELINES] pipe question

2013-10-30 Thread Kris Buelens
This ain't good: pick 2.2 >>= /0/ the >>= means you don't use numerical comparison, but strings are compared. Should be pick 2.2 >>= /00/ As mentions in other appends, use VERIFY /0123456789/ before teh PICK to avoid non numeric values, after whick you can simply use >>= /00/ or >= /0/ Kr

Re: [CMS-PIPELINES] pipe question

2013-10-30 Thread Gentry, Steve
In the examples provided to me, a verify statement preceded the pick statement. Sorry I didn't show that. While the VERIFY is good programming, my primary interest is the PICK stage. Steve -Original Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On

Re: [CMS-PIPELINES] pipe question

2013-10-30 Thread Paul Gilmartin
On 2013-10-30 14:35, Gentry, Steve wrote: > Yes. Here's the method I ended up using. Provide by a member on another list. > > ... > '|pick 2.2 >= /0/ & 2.2 <=/24/', > ... > I'll give that one only half a point: pipe literal 24:00 | pick 2.2 >= /0/ & 2.2 <= /24/ | console consl pipe literal 24:0

Re: [CMS-PIPELINES] pipe question

2013-10-30 Thread Gentry, Steve
Yes. Here's the method I ended up using. Provide by a member on another list. ... '|pick 2.2 >= /0/ & 2.2 <=/24/', ... -Original Message- From: CMSTSO Pipelines Discussion List [mailto:CMS-PIPELINES@VM.MARIST.EDU] On Behalf Of Shimon Lebowitz Sent: Wednesday, October 30, 2013 4:32 PM To:

Re: [CMS-PIPELINES] pipe question

2013-10-30 Thread Shimon Lebowitz
Wouldn't that be: "| PICK 2-3 >>= /00/ ", "| PICK 2-3 <<= /24/ ", "| ... Shimon On Wed, Oct 30, 2013 at 7:55 PM, Gentry, Steve < steve.gen...@westernsouthernlife.com> wrote: > I have an input stream with various types of data. I want to select off > those records that have 00 thru 24

[CMS-PIPELINES] pipe question

2013-10-30 Thread Gentry, Steve
I have an input stream with various types of data. I want to select off those records that have 00 thru 24 starting in position 2 and pass those records onto the next stage. They are time stamps in the format hh:mm:ss Can anyone provide a snippet of code to do this? I can think of a cou