Answer Posted / mallikarjuna raju
This is an automatic variable of PDV that returns the no of
observations that it has iterated.There are such variables
like _Error_,end=,in=,first.by-variable,last.by-variable,..etc
All these variables will not be displayed in the target output.
Ex:
Data new;
set <existed>;
if _n_>=2 and <=6 then output;
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
how do you debug and test your sas programs? : Sas programming
What is program data vector (pdv)?
How would you code a macro statement to produce information on the sas log? This statement can be coded anywhere? : sas-macro
Will it bother you if the guy at the next desk times the frequency and duration of your bathroom or coffee breaks on the grounds that ?you are getting paid twice as much as he is??
What is the difference between INPUT and INFILE ?
Can you execute macro within another macro? : sas-macro
Approximately what date is represented by the SAS date value of 730?
What is the difference between input and infile statement?
I have a dataset concat having a variable a b & c. How to rename a b to e & f?
For what purposes have you used sas macros? : sas-macro
explain the concepts and capabilities of business object? : Sas-bi
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
Difference between nodup and nodupkey options?
what do the sas log messages "numeric values have been converted to character" mean? : Sas programming
Are you involved in writing the inferential analysis plan? Tables specfications?