I have two data sets A and B; A has 1000 observations and B has 40 observations. They have no commom variables. I want to create a data set C that has 1000x40 observations, for each observation of data A having 40 observations of data B. My code is below: Data C; do i=1 to 1000; set A; do j=1 to 40 set B; output; end; end; Run; Data c has only 40 observations. The log display: only 2 observations from data A; 40 observations from B; Can you help me to fix this problem? Thank you, Zhu
... View more