[grumble]   Putting me on the spot,  are ya??

> Hey Rick, how do you use CMS Pipelines to extract a list of keys from a
> stem?

You know full well that this is not the forum to ask this,
and I am not the *person* to ask,  but since you did:

        /* set some stem vars */
        mystem.adam = "Adam Thornton"
        mystem.rick = "Rick Troth"
        mystem.alex = "Alex deVries"

        /* to dump all variables from REXX */
        'PIPE REXXVARS | DROP FIRST' ,
            '| CHANGE 1.2 /v / /=/ | JOIN 1' ,
            '| CHANGE 1.2 /n / // | CONSOLE'

        /* or if you just want the keys for a specific stem */
        'PIPE REXXVARS | DROP FIRST' ,
            '| CHANGE 1.2 /v / /=/ | JOIN 1' ,
            '| CHANGE 1.2 /n / // | LOCATE 1.7 /MYSTEM./' ,
            '| SPEC WS . W 2 1 | SPEC WS = W 1 1 | CONSOLE'

Nnnnnnyyaaa!!!

-- R;

Reply via email to