what is pdv? how it is related to input buffer in sas?

Answer Posted / nanda katepalli

PDV is the program Data Vector. It takes each observation at
a time and allocates the length given in the input
statement.The allocation of spaces is done in the
compliation phase and the variables goes in it at the
execution phase.
Example:Builder builds the house but it is used by the people.
It has 2 variables by default which are _n_ and _error_.
_n_ gives us the observation number.
_error_ if their is no error then it is 0 or else it shows 1
even though we have 'n' no.of errors.
And then it creates 'n' no.of variables specified in the
data statement.
Input buffer is only needed for non sas files to
read the raw data and store in it. Where as, sas files do
not need the input buffer.
Example: Converting an Excel file into a sas file i.e while
converting it needs some space for storage.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different versions of sas that you have used until now? : sas-grid-administration

727


what is enterprise guide? What is the use of it? : Sas programming

533


What is the use of PROC gplot?

634


what is snowflake schema? : Sas-di

694


What versions of SAS have you used (on which platforms)?

1011






what are input dataset and output dataset options? : Sas programming

561


How do dates work in SAS data?

682


How long can a macro variable be? A token? : sas-macro

715


What is program data vector (pdv)?

629


To what type of programms have you used scratch macros?

2132


Explain proc sort?

664


what is sas metadata repository? : Sas-bi

596


What are the different servers in sas? : sas-grid-administration

596


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable? : sas-macro

593


Describe the ways in which you can create a macro variable?

622