I am working on SAS program where I needed to create many data sets and I have successfully created data sets from CD_1 to CD_1001000 by using following sas command CD='CD_1':'CD_1001000'; do s=1 to 100; do k = 1 to 1000; sk=catt(s,k); skn=inputn(sk,'6.',6,0); call execute('create ' + CD[skn] +' from ' + C[skn] + ';'); call execute('append from ' + C[skn] + ';') ; call execute('close ' + CD[skn] + ';' ); After doing this when want to combine all these data sets I got out of memory error in log window, I am using following command to combine data sets Data CCD; set CD_:; rename COL1=C; run; Please help
... View more