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 (March 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 20 Mar 2002 09:31:31 -0800
Reply-To:   seeliger <seeliger@MERCURY.COR.EPA.GOV>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   seeliger <seeliger@MERCURY.COR.EPA.GOV>
Subject:   Re: Using MERGE with identical data set names
In-Reply-To:   <4FF126AF9EE8D4118D720003470BE9E10229B7F4@exmc4.urmc.rochester.edu>
Content-Type:   TEXT/PLAIN; charset=US-ASCII

On Wed, 20 Mar 2002, Cacialli, Doug wrote:

> %macro sleep_merge; > %do i = 1 to &maxvar; > data sleeptime1; > merge sleeptime1 sleeptime&i; > by id; > run; > %end; > %mend sleep_merge;

This looks a tad slow, you might punch it up some by merging all at once, a la:

%MACRO sleeptime; data sleeptime; merge %DO i=1 %TO &maxvar; sleeptime&i; %END; ; by id; run; %MEND sleeptime; %sleeptime;

-- Curt Seeliger, Data Ranger CSC, EPA/WED contractor 541/754-4638 seeliger.curt@epa.gov


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