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


Please Help Members By Posting Answers For Below Questions

What is the role of unrestrictive users? : sas-grid-administration

809


What is the maximum and minimum length of macro variable

951


what is function of retain statment

1812


Tell me about % include and % eval? : sas-macro

916


What was the last computer book you purchased? Why?

2113


why is sas considered self-documenting? : Sas programming

889


what do the sas log messages "numeric values have been converted to character" mean? : Sas programming

799


What are the advantages of using sas?

887


how will you locate the sas platform applications? : Sas-bi

823


explain about sas business intelligence? : Sas-bi

853


Mention the difference between ceil and floor functions in sas?

927


How does the internal authentication work in sas? : sas-grid-administration

850


Name validation tools used in SAS

927


how would you create a data set with 1 observation and 30 variables from a data set with 30 observations and 1 variable? : Sas programming

1123


Explain the difference between informat and format with an example.

950