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
Describe the function and untility of the most difficult SAS macro that you have written.
Briefly explain input and put function?
If you could design your ideal job, what would it look like?
Explain data step in SAS
how sas deals with business intelligence? : Sas-bi
Mention what is the difference between nodupkey and nodup options?
Mention common programming errors committed in sas ?
What is by-group processing?
What is the function of output statement in a SAS Program?
Explain what is the use of proc gplot?
why is sas considered self-documenting? : Sas programming
How to specify variables to be processed by the freq procedure?
what is the difference between: x=a+b+c+d; and x=sum (of a, b, c ,d);? : Sas programming
how does sas handle missing values in functions? : Sas programming
Why and when do you use proc sql?