At compile time when a SAS data set is read, what items are
created?
Answers were Sorted based on User's Feedback
Answer / chiranjeevi.p
SAS compiles the code⢠At compile time when a SAS data set
is read, what items are created?Automatic variables are
created. Input Buffer, PDV and Descriptor Informationā¢
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / dharmendra sharma
Sas process data steps in two phase.
1) Compilation phase
2) Execution Phase
Compilation phase :- When sas see the 'DATA' statement it get to know that it needs to process this data-steps. During this compilation phase SAS did some pre-house preparation. In this case it set aside some portion of memory for storing sas dataset.
It initially creates input buffer that holds one line (observation) one time.
For this first it read INFILE from the dataset statement and then get to know that all types of variable we are going to read from the infile. It then find out that which variable is of what type and what it the record length. If we are reading list input (infile seperated using space delimeters) then it will assign 8 bytes length to each variable.
for characher 8 bytes means ---->>> 8 character.
for Numeric 8 bytes means ---->>> 14 to 15 significant digits.
Then this all information is stored in to the Descriptor portion. Here Compilation phase ended.
At the starting of Execution phase. Sas reads values from the input buffer and then stores these information in data variables one by one. And the values are stored in PDV, which write value in dataset at the end of the datastep --->>> because automatically sas put a OUTPUT statement at the end of each datastep.
During compilation phase sas also creates two variable autmatically:-
_N_ and _ERROR_
:) I hope we can have some good understanding related to PDV and Input buffer and Descriptor portion.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / priya
During compilation phase:
When an existing dataset is read, PDV and descriptive portion of output dataset will be created.
Input Buffer will be created only when a raw data file is being read.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / mallikarjuna reddy
only PDV is generated at compilation time, where as _N_
_ERROR_ are generated at execution time only.
| Is This Answer Correct ? | 5 Yes | 7 No |
How do you connect the desktop application to metadata server? : sas-grid-administration
Does anybody has SAS Platform Administration certification dumps. pls send to hariithepalli@gmail.com
how do you test for missing values? : Sas programming
explain what is factor analysis? : Sas-administrator
1.How to draw pivot tables in Excel by using SAS and in which version we can use VB script for to draw pivot tables in Excel? Answer with example data. 2.What are the advantages of _NULL_ in Data steps? Can we use _NULL_ in Proc steps also? 3. How to call the macro variable into Data Steps? 4. Can we draw pivot tables in Excel using Proc SQL? Please post answers for the above questions with suitable examples, and how to use VB script for Excel using SAS.
what is option year cuttoff in sas
What is the basic structure of a sas program?
explain the difference between proc means and proc summary?
what is intially documentation for a sas programmer?
· What are some good SAS programming practices for processing very large data sets?
What are the efficacy variables in your study?
2 Answers Accenture, Quintiles,
how to remove duplicates using proc sql?