Answer Posted / chandra sekar
_N_ gives the record number. You can access any record in
the dataset using _N_ if you know the record number. It is
set as 1 for the first record and incremented for every
subsequent record. It is an automatic variable and is not
visible when you open a dataset. This can also be used to
subset a data. For ex, if you want to access the first 100
records then you can say "if _N_ <= 100".
| Is This Answer Correct ? | 63 Yes | 2 No |
Post New Answer View All Answers
Can you explain the process of calendar?
In sas admin differentiate between roles and capabilities? : sas-grid-administration
Explain the difference between using drop = data set option in set and data statement?
Assuming {et} is randomly drawn from N(0,1) and e0 = 0, generate 200 observations of xt = et − 0.5e(t−1) and draw a line graph of xt.
what are the benefits of data integration? : Sas-di
what are the categories that sas informats are used to the place the data? : Sas-administrator
Explain append procedure?
How do you specify the number of iterations and specific condition within a single do loop?
what is transformation in sas data integration? : Sas-di
I am preparing SAS Certified Advanced Programmer for SAS 9 in 2014. If anybody has the latest dumps for this exam, please mail me at dhiman.mukherjee@gmail.com
Explain the special input delimiters used in sas programming.
What are the ways to do a “table lookup” in sas?
explain the key concept of sas? : Sas-administrator
describe how to adjust the performance of data integrator? : Sas-di
What are the different servers in sas? : sas-grid-administration