I have some code below with the @ sign that devides the data set into two datasets; first and second (using the @ sign):
data first second; INPUT x y @; OUTPUT first; INPUT x y; OUTPUT second; DATALINES; 1 2 3 4 9 10 5 6 7 8 ; PROC PRINT data=first; Title 'first'; RUN; PROC PRINT data=second; Title 'second'; RUN;
When I replace the @ sign with @@ I am getting the same result but I was assuming I would not. I am wondering why the two different code produce the same output. Thank you for any advise.
Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.