LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (July 2003, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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.


Back to: Top of message | Previous page | Main SAS-L page