Re: Another PIPE how to -2

2006-11-29 Thread Huegel, Thomas
10:07 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Another PIPE how to -2 Tom, My approach would be a bit different from Colin's because I'm assuming that the number of terms inside parentheses is unknown. '*: |', 'split before /(/ |', 'split after /)/ |', 'b: between /(/ 1

Another PIPE how to -2

2006-11-28 Thread Huegel, Thomas
This list has the smartest guys around, so I have another PIPE how to. I have an input that looks like this: aaa=apple,bbb=ball,ccc=(cat,cow,candle),ddd=dog What I want is an output stem that looks like this: aaa=apple, bbb=ball, ccc=(cat,cow,candle), ddd=dog The input fields may be in any

Re: Another PIPE how to -2

2006-11-28 Thread Colin Allinson
My answer is to do a 'Split before /(/ | Split after /)/ | b: find ( | c/,/;/ | f: faninany | join * | split /,/ | c/;/,/ | Cons $ b:|f:' Not tested but hope this works. Colin Allinson Amadeus Data Processing wrote : This list has the smartest guys around, so I have another PIPE how

Re: Another PIPE how to -2

2006-11-28 Thread Marty Zimelis
Of Huegel, Thomas Sent: Tuesday, November 28, 2006 10:12 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Another PIPE how to -2 This list has the smartest guys around, so I have another PIPE how to. I have an input that looks like this: aaa=apple,bbb=ball,ccc=(cat,cow,candle),ddd=dog What I want

Re: Another PIPE how to -2

2006-11-28 Thread Rob van der Heij
At first it looked easy just using SPLIT but I can't figure out how to handle the (cat,cow,candle) as one entity. How about this? x:if nlocate ,=, | insert /,/ | x: | joincont leading /,/ keep Rob

Re: Another PIPE how to -2

2006-11-28 Thread Rob van der Heij
My apologies for using if in the solution, but it it's a lot easier to try it on the command line - yes, I did test it :-)

Re: Another PIPE how to -2

2006-11-28 Thread Brian Nielsen
, Thomas [EMAIL PROTECTED] wrote: This list has the smartest guys around, so I have another PIPE how to. I have an input that looks like this: aaa=apple,bbb=ball,ccc=(cat,cow,candle),ddd=dog What I want is an output stem that looks like this: aaa=apple, bbb=ball, ccc=(cat,cow,candle), ddd=dog

Another PIPE how to

2006-11-08 Thread Huegel, Thomas
Title: Another PIPE how to Hi Plummers, I have a little PIPE question. I have an exec where I build a stem as follows. field1 = HELLO field2 = GOODBY . . field99 = THE END TABLE.0101 = field1 TABLE.0202 = field2 . . . TABLE.2480 = field99 SAY TABLE.0101 will say 'HELLO' SAY TABLE.0202

Re: Another PIPE how to

2006-11-08 Thread Miguel Delapaz
I don't believe there is an option to do what you're asking. The STEM stage isn't stripping off the leading 0. It's starting at TABLE.1 and working its way up to TABLE.(0+TABLE.0). Is there any reason your code needs to specify the leading zeroes when setting the fields in TABLE.? Or perhaps some

Re: Another PIPE how to

2006-11-08 Thread Huegel, Thomas
. -Original Message-From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED]On Behalf Of Miguel DelapazSent: Wednesday, November 08, 2006 11:44 AMTo: IBMVM@LISTSERV.UARK.EDUSubject: Re: Another PIPE how toI don't believe there is an option to do what you're asking. The STEM stage

Re: Another PIPE how to

2006-11-08 Thread Schuh, Richard
]On Behalf Of Huegel, Thomas Sent: Wednesday, November 08, 2006 9:53 AM To: IBMVM@LISTSERV.UARK.EDU Subject: Re: Another PIPE how to The indexes are actually screen addresses (SBA's). once I have built and displayed the screen I may need to go back and redisplay the screen. ie If some fields

Re: Another PIPE how to

2006-11-08 Thread Miguel Delapaz
Okay. If you don't mind massaging the indicies a bit I've got something that *should* work: /* TEST EXEC Created by MIGUELD at 12:22:08 (EST) on 11/08/06 */ TABLE. = /* Initialize the TABLE stem to nulls */ TABLE.0 = 12480

Re: Another PIPE how to

2006-11-08 Thread Rich Greenberg
On: Wed, Nov 08, 2006 at 11:16:27AM -0600,Huegel, Thomas Wrote: } Hi Plummers, } } I have a little PIPE question. } } I have an exec where I build a stem as follows. } } field1 = HELLO } field2 = GOODBY } . } . } field99 = THE END } TABLE.0101 = field1 } TABLE.0202 = field2 } . } . } . }