06-28-2016 01:23 PM
i have these two data sets i want an output of
plz help me with any logic if possible.
06-29-2016 08:24 AM
Thanks for providing us an excellent example of use of multiple set statments for combining datasets having many to many relationship. is there any alternative way? Just curious to know to increase the knowledge base.
06-29-2016 09:26 AM
Well, I suppose you could get the same observations, but in a different order, this way:
do _i_=_n_ to _nobs_ by 3;
if _i_ <= _nobs_ then do;
set test point=_i_ nobs=_nobs_;
It's untested code, but looks like it should work.
Need further help from the community? Please ask a new question.