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
Name some categories in sas 9? : sas-grid-administration
hi all, I need the SAS DI DUMP(A00 260) for attending the certification. if any one have, pls provide it.Please Email to vrpotluri@hotmail.com. Thanks - Ramana
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
What are the difference between the sas data step and sas procs?
how would you create multiple observations from a single observation? : Sas programming
What is the difference between SAS functions and procedures?
explain the difference between proc means and proc summary?
How can sas program be validated?
what is PhaseIII, ODS, TLG, Macro and Proc in SAS
Mention how to limit decimal places for the variable using proc means?
how to create the AE dataset by using SDTMIG specifications and SAP plan by using UNIX platform?
how does sas handle missing values in formats? : Sas programming
how we can create a FLAG datasets? Ex:-ID age_group no_persons 1 to 10 10 to 20 3 11 to 20 21 to 30 7 21 to 3o 31 to 40 5
Mention what is SAS data set?
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;