(Untested, assuming I correctly understand your question):
'PIPE (end ?) < user direct', 
'|a:Pick w1 == /USER/',
'|b:Pick w2 == w3',
'|Spec w1.2 n /invalid/ nw w4-* nw',
'|c:Faninany',
'|> user newdir a f',
'?a:|c:',
'?b:|c:'


Mike Harding
EDS VM National Capability
134 El Portal Place
Clayton, Ca.  USA  94517-1742

* phone: +01-925-672-4403
*  Fax: +01-925-672-4403
* mailto:[EMAIL PROTECTED]   * <mailto:[EMAIL PROTECTED]> (personal)
Note:  For 2007, I am off on Fridays with even Julian dates and Mondays with 
odd ones.


-----Original Message-----
From: CMSTSO Pipelines Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
RPN01
Sent: Tuesday, September 25, 2007 12:36 PM
To: [email protected]
Subject: Comparing things within a line...

I wanted to walk the CP Directory in my new z/VM 5.3 system, and change all
the userid/password matching pairs, and I couldn¹t think of a simple way to
do this in a Pipe. I¹ve since used a rexx loop to find and ³fix² the user
statements, but I¹m vexed by the fact that I couldn¹t come up with a slick
way to do it all within a pipe....

Anyone have suggestions?

-- 
   .~.    Robert P. Nix             Mayo Foundation
   /V\    RO-OE-5-55              200 First Street SW
 / ( ) \  507-284-0844           Rochester, MN 55905
^^-^^   ----- 
"In theory, theory and practice are the same, but     ³Join the story...
Ride Ural.²
 in practice, theory and practice are different."

Reply via email to