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 2000, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 14 Mar 2000 14:17:37 -0500
Reply-To:     Michael.Thomas@EQUIFAX.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Michael Thomas <Michael.Thomas@EQUIFAX.COM>
Subject:      Reading two SAS datasets in one DATA step
Content-type: text/plain; charset=us-ascii

Et al,

I am missing something here but what I am trying to do (unsuccessfully) is to read the dataset nostrt for every observation in armstr. What is happening is that (I think) SAS is only reading the first observation from ARMSTR before stopping the DATA step.

I think it is a simple mistake I am making but I just can't quite see it..... maybe one of you guru-types can point me in the right direction

data nstrtdt(keep=Merch_No Change1-Change4 Strt_Dt); set armstr end=eof1; /* 190,000 obs */ do until(eof1); set nostrt end=eof2; /* 600 obs */ if aMerchNo=Merch_No or aMerchNo=Change1 or aMerchNo=Change2 or aMerchNo=Change3 or aMerchNo=Change4 then do; Strt_Dt = astrtdt; output; end; end; run;

TIA Michael


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