Suppose i have a millions of record and i have to select 1st record and last records. Without using user written code how to implement in sas Data integration studio.
Can you elaborate your question? Is your dataset contains unique columns with keys? If you do not have duplicate data then may be possible to find using extract and join(using having min and max date value).
I've never had occasion to use Data Integration Studio. But the DATA step code below seems extremely simple:
data want;
do ptr=1,last;
set sashelp.class nobs=last point=ptr;
output;
end;
stop;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 16. Read more here about why you should contribute and what is in it for you!
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.
Find more tutorials on the SAS Users YouTube channel.