What is the Program Data Vector (PDV) and What are its
functions?
Answer Posted / sas - user
Program data vector (pdv) is a temporary memory location.
While execution it stores the temporary values in the pdv
and after execution it displays only the final output.
For example:
do i = 1 to 10 by 2;
end;
The values of i that are stored in the pdv everytime the
loop executes are 1, 3, 5, 7, 9, 11. Everytime the
execution of the loop takes place, it over-writes the
previous value in the pdv. But at the end of execution, the
value of i is 11.
Thus pdv temporarily stores the values of i during
execution but displays the lastly over-written value.
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are pdv and it functions?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
what are the new features included in the new version of sas i.e., Sas 9.1.3? : Sas programming
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
what is the use of proc contents and proc print in sas? : Sas-administrator
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
what can you learn from the sas log when debugging? : Sas programming
For clinical entire study how many tables will create approx?
Explain the use of proc print and proc contents?
How will you generate test data with no input data?
how does sas handle missing values in a merge? : Sas programming
Explain substr function?
Difference between SAS STATA & SPSS?
Compare sas with other data analytics tools.
This entry was posted in General. Bookmark the permalink. Post a comment or leave