Date: Tue, 29 Jul 2003 09:34:03 -0700
Reply-To: Carey Smoak <carey.smoak@ROCHE.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Carey Smoak <carey.smoak@ROCHE.COM>
Organization: http://groups.google.com/
Subject: array processing
Content-Type: text/plain; charset=ISO-8859-1
Hi SAS-Lers,
I am submitting this question for a co-worker of mine.
Suppose you have a dataset that has 10,000 observations and three
variable (VarA, VarB and VarC). Suppose that you want to create a new
dataset with a single variable that appends VarB and then VarC to
VarA. This new dataset would have 30,000 observations. Is there a
way to use array processing to accomplish this task? My co-worker has
made several attempts at using arrays, but has not been successful.
Of course, this can be done with several data steps, but my co-worker
is trying to find a more efficient solution using arrays.
Regards,
Carey G. Smoak
Roche Molecular Systems, Inc.
|