Date: Wed, 5 May 2004 22:54:37 -0400
Reply-To: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject: Re: another newbie question / SET
I think we need more info on the failure of the first approach. Is HCONDALL
created, but empty, or not even created? What does log show for this DATA
step?
You should not need a macro for this task.
On Wed, 5 May 2004 11:47:25 -0400, Dennis, Helen <hdennis@DOE.K12.DE.US>
wrote:
>Thanks so much for your patient help yesterday. Now I am trying to stack
five data sets using the SET command, and although I get no error message,
I also get no results. Each data set has 10,000 records and 10
variables.Any suggestions?
>
>DATA hcondall;
> SET helmcond1 helmcond2 helmcond3 helmcond4 helmcond5;
>Run;
>
>I also tried this:
>
>%MACRO appnhelm;
>%DO k= 2 %TO 5;
>DATA helmdata1;
> set helmdata1 helmdata&k;
> run;
>%END
>
>%appenhelm;
>run;
>
>
>Helen C. Dennis
>Education Associate
>Assessment and Analysis Group
>Delaware Department of Education
>P.O. Box 1402
>Dover, DE 19903-1402
>Tel: (302)739-6700 Fax: (302) 739-3092
>email: hdennis@doe.k12.de.us
|