Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


At compile time when a SAS data set is read, what items are
created?

Answers were Sorted based on User's Feedback



At compile time when a SAS data set is read, what items are created?..

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

At compile time when a SAS data set is read, what items are created?..

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

At compile time when a SAS data set is read, what items are created?..

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

At compile time when a SAS data set is read, what items are created?..

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

Post New Answer

More SAS Interview Questions

How will you assign all the variables of an dataset into a macro variable separated by a space? For example if a dataset has variables A,B,C. Assign them to a macro variable X as X=A B C

3 Answers   Accenture, Oracle,


Which is the best training Institute for SAS Business Intelligence course?

6 Answers  


To what type of programms have you used scratch macros?

0 Answers   Novartis,


What data sets do you need to produce the report?

2 Answers   Novartis,


In sas admin differentiate between roles and capabilities? : sas-grid-administration

0 Answers  


How do you generate random samples?

5 Answers  


What is the sas data set? : sas-grid-administration

0 Answers  


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

0 Answers   SAS,


explain the concepts and capabilities of business object? : Sas-bi

0 Answers  


What is the difference between INPUT and INFILE ?

0 Answers  


In this question, I rename the numeric variable phone to numphone and then try use phone=put(numphone,comma16.) to store the numeric value numphone as a string value in phone. But I get a warning tha numphone already exists and in the data sat phone doesnt exist and numphone is set to missing. Why? data names_and_more; input Name $20. Phone : comma16. Height & $10. Mixed & $8.; Name = tranwrd(Name,' ',' '); rename phone = numphone; phone = put(numphone,comma16.); datalines; Roger Cody 9,087,821,234 5ft. 10in. 50 1/8 Thomas Jefferson 3,158,488,484 6ft. 1in. 23 1/2 Marco Polo 8,001,234,567 5Ft. 6in. 40 Brian Watson 5,183,551,766 5ft. 10in 89 3/4 Michael DeMarco 4,452,322,233 6ft. 76 1/3 ;

1 Answers  


What do you feel about hardcoding?

3 Answers   Pfizer,


Categories