Please, anyone, let me know the style or an example of using
'by='/'by' variable of a PDV(Program Data Vector)
Answer Posted / rajesh
list of 'by' variables tell SAS how data is stored in
source dataset or how it is to be represented in
output/output dataset.
PDV is used to write the observations in output dataset and
it does not get impected from any BY variable as data in
SAS always read sequencely. If BY vaialbes are there then
it just ensures that source dataset is sorted on list of BY
variables. It does not impact other thing.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is a method for assigning first.var and last.var to the by groupvariable on unsorted data? : Sas programming
what is the use of proc contents and proc print in sas? : Sas-administrator
Name and describe few sas character functions that are used for data cleaning in brief.
what is scheduling and how will u implement it. In scheduling 5 jobs r running if there is an error occured at 3rd job and how will u check and waht necessary steps will u take not to repeat the same mistake
What does P-value signify about the statistical data?
How to import multiple xls files into sas. Out of those files, how to get different values from a single variable and how to find number of rows per value type? We can do this using group by for one xls file with proc sql. Was wondering how I can achieve this for multiple files at the same time. Any ideas?
Enlist the functions performed by sas.
What are the difference between ceil and floor functions in sas?
What is the use of PROC gplot?
Difference between SAS STATA & SPSS?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
Describe the function and untility of the most difficult SAS macro that you have written.
What is the purpose of _character_ and _numeric_?
how does sas handle missing values in assignment statements? : Sas programming
How can I remove header from output data set?