On 2017-04-21, at 18:00, Donald Russell wrote:
>
> I'll have to wait a couple of moths for vm 6.4 but thanks for the heads up,
>
I see it in the author's edition.  Does this mean it's available today
in the Runtime Distribution?

> I can wait and in the meantime kludge something together to get me by.
> I have an exec that calculates sqrt so I'll use that.
>
Could that be extended to a Pipeline stage?  I've written bimodal
execs that PARSE SOURCE to decide how to operate.


> On Fri, Apr 21, 2017 at 16:22 Rob van der Heij <[email protected]>
> wrote:
>
>> pipe literal 123 | spec a:w1 - set #0:=a print sqrt(#0) pic zz9.999 1 |
>> cons
>>
>> But I would let CMS Pipelines do the heavy lifting:
>>
>> pipe literal 1.1 1.2 1.3 1.25                    /* Sample data    */
>>     | split
>>     | spec printonly eof a:w1 - eof              /* Only do totals */
>>            print average(a) pic zzzz9.999 1
>>            print stddev(a) pic zzzz9.999 nw
>>     | cons

-- gil

Reply via email to