Or 

'PIPE rexxvars toload',
'| sort ws / w2',
'| spec ws / w3-* 1',   
'| (whatever your heart desires)'

The sort will work because every name will have the same prefix character, "/". 


Regards, 
Richard Schuh 

 

> -----Original Message-----
> From: CMSTSO Pipelines Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Mike Walter
> Sent: Wednesday, January 30, 2008 12:43 PM
> To: [email protected]
> Subject: Re: parsing REXXVARS TOLOAD output
> 
> Do you really need to use TOLOAD?  How about this?
> 
> z='Zee' 
> t='two words' 
> q='Queue' 
> Glenn='Glenn Forgot?' 
>  
> 'PIPE (NAME ForGlenn)' , 
>    '| REXXVARS' , 
>    '| DROP 1' ,              /* Drop source var */ 
>    '| JOIN 1 / /' , 
>    '| SORT W2' ,             /* Sort by VAR names */ 
>    '| SPECS W4-* 1' ,        /* Keep sorted var values */ 
>    '| CONS' 
> 
> Mike Walter
> Hewitt Associates
> Any opinions expressed herein are mine alone and do not necessarily 
> represent the opinions or policies of Hewitt Associates.    
> 
> 
> 
> 
> "Glenn Knickerbocker" <[EMAIL PROTECTED]> 
> 
> Sent by: "CMSTSO Pipelines Discussion List" 
> <[email protected]>
> 01/30/2008 02:07 PM
> Please respond to
> "CMSTSO Pipelines Discussion List" <[email protected]>
> 
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> parsing REXXVARS TOLOAD output
> 
> 
> 
> 
> 
> 
> I want to grab a bunch of variables from the calling program, 
> select and sort them by name, and then discard the names and 
> write just the values. 
> I could swear I've done this before, but I'm coming up empty 
> on how to split up the record.  Well, almost empty.  This 
> does the job but depends on undocumented behavior of REXXVARS 
> and knowledge that my variable names will never contain slashes:
> 
>    rexxvars toload | ... | specs fs / f2 1 | ...
> 
> What's the right way?
> 
> ¬R
> 
> 
> 
>  
> The information contained in this e-mail and any accompanying 
> documents may contain information that is confidential or 
> otherwise protected from disclosure. If you are not the 
> intended recipient of this message, or if this message has 
> been addressed to you in error, please immediately alert the 
> sender by reply e-mail and then delete this message, 
> including any attachments. Any dissemination, distribution or 
> other use of the contents of this message by anyone other 
> than the intended recipient is strictly prohibited. All 
> messages sent to and from this e-mail address may be 
> monitored as permitted by applicable law and regulations to 
> ensure compliance with our internal policies and to protect 
> our business. Emails are not secure and cannot be guaranteed 
> to be error free as they can be intercepted, amended, lost or 
> destroyed, or contain viruses. You are deemed to have 
> accepted these risks if you communicate with us by email. 
> 

Reply via email to