What is the Program Data Vector (PDV)? What are its functions?
Answer Posted / raj
It is a logical area in memory where SAS builds a data set,
one observation at a time. When a program executes, SAS
reads data values from the input buffer or creates them by
executing SAS language statements. The data values are
assigned to the appropriate variables in the program data
vector. From here, SAS writes the values to a SAS data set
as a single observation.
Along with data set variables and computed variables, the
PDV contains two automatic variables, _N_ and _ERROR_. The
_N_ variable counts the number of times the DATA step
begins to iterate. The _ERROR_ variable signals the
occurrence of an error caused by the data during execution.
The value of _ERROR_ is either 0 (indicating no errors
exist), or 1 (indicating that one or more errors have
occurred). SAS does not write these variables to the output
data set.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
how can you put a "trace" in your program? : Sas programming
What function CATX syntax does?
What is PDV?
please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??
what is enterprise guide? What is the use of it? : Sas programming
AE datasets names? how many types?
What is a put statement?
Give e an example of..
Describe the function and untility of the most difficult SAS macro that you have written.
describe how to adjust the performance of data integrator? : Sas-di
Describe the function and untility of the most difficult SAS macro that you have written.
What is auto call macro and how to create a auto call macro? What is the use of it? How to use it in sas with macros? : sas-macro
: and & modifiers.
What are the statements in proc sql?
Tell e how how dealt with..