> Wrong, that should be doing a numeric compare. Look it up.
> A comparison operator of <<= would be for a string compare. "<=" asks for
> numeric comparison.
I'm with Mike there. I would too expect this to work, but did not have a
chance yet to look into the code.
Sir Rob the Plumber
On 8/23/2016 4:58 PM, Ronald van der Laan wrote:
> You're doing string compares, so "-0.." is less than "-1".
>> pipe ' (end ?) < ' filename filetype filemode,
>> '| pick w2 <= /-1/ ',
No, he's using the newer numerical comparison operator "<=", not the
string comparison operator "<<="
Wrong, that should be doing a numeric compare. Look it up.
A comparison operator of <<= would be for a string compare. "<=" asks for
numeric comparison.
--
Mike Harding
z/VM System Support
/sp
CMSTSO Pipelines Discussion List wrote on
08/23/2016 01:58:27 PM:
> From: Ronald van der Laan
> To
Michael,
You're doing string compares, so "-0.." is less than "-1".
You'll also find that "-200.000" will not pass your filter...
Try ... | pick substr 1 of w2 = /-/ and substr 2-* of w2 >>=
/0001.00/ | ...
Op dinsdag 23 augustus 2016 heeft Michael Marrer
het volgende geschr
This would seem to be basically working, as I do get the numbers less
than negative 1 in the output file:
pipe ' (end ?) < ' filename filetype filemode,
'| pick w2 <= /-1/ ',
'| > ' filename ' WORDOVER ' filemode,
' '
The problem is that I get ALL negative numbers, not just thos