What is the Program Data Vector (PDV) and What are its
functions?
Answer Posted / murray
The PDV can also contain user invoked temporary variables
such as IN, END and FIRST.by and LAST.by.
In a nutshell, IN indicates if an observation originated in
a specified input data set, END indicates if an observation
is the last observation in a specified input data set, and
FIRST.by and LAST.by indicate if an observation is either
the first or last observation of any specified BY variables
(the data set must first be sorted accordingly). See SAS
help for more details.
These automatic vars (_N_ and _ERROR_) and temporary
variables are not written to the output data set, however
their values can be assigned to user defined variables.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
name some data transformation used in sas di? : Sas-di
what is the difference between unique key and primary key? : Sas-di
What are the different types of sas functions?
What is the basic structure of a sas program?
how many display types available in sas bi dashboard? : Sas-bi
How do you delete duplicate observations in sas?
what is sas and what are the functions? : Sas-administrator
what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi
What do you code to create a macro? : sas-macro
describe about physical data integration? : Sas-di
What function CATX syntax does?
what is information maps?
Can you execute a macro within a macro? Describe. : sas-macro
what is operational data and operational system? : Sas-di
what is the use of proc sql? : Sas programming