"JOIN" was good, it just didn't go far enough :-)
Regards,
Richard Schuh
________________________________
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas
Sent: Thursday, July 10, 2008 9:21 AM
To: [email protected]
Subject: Re: More simple REXX/PIPES
Perfect Richard..
My brain was stuck on 'JOIN *'
Now it all fits.
-----Original Message-----
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] Behalf Of Schuh, Richard
Sent: Thursday, July 10, 2008 11:08 AM
To: [email protected]
Subject: Re: More simple REXX/PIPES
Will "Join keylength 2" work?
Regards,
Richard Schuh
________________________________
From: The IBM z/VM Operating System
[mailto:[EMAIL PROTECTED] On Behalf Of Huegel, Thomas
Sent: Thursday, July 10, 2008 8:58 AM
To: [email protected]
Subject: More simple REXX/PIPES
This shouldn't be very hard, but I seem to be a
little slow today.. can't find my Geritol.
I can do this with a bunch of 'IF''s and 'DO's
but I was looking for something prettier.
REXX or a PIPE, it doesn't matter.
I have input that looks like this:
01 data-a
01 data-b
01 data-c
01 data-d
02 data-a
02 data-b
02 data-c
02 data-d
.
.
99 data-x
.
xx data-a is always unique.
I want to create a variable that looks something
like this:
X.01 data-a data-b data-c data-d
X.02 data-a data-b data-c data-c
or since data-a is unique I could name the
variable data-a and have data-b data-c data-d in the var... then I'd
have to keep track of all of the names (data-a).
Anyone see a super simple way to do this with
pretty code?