What is the difference between informat and format statement?



What is the difference between informat and format statement?..

Answer / ankit singh

Formats tells sas how to write the data to the output dataset and converts numeric to character value.
e.g. data out;
x=0;
format x date9.;
run;
Informats directs SAS to how to read the data from the source and converts charater to numeric value.;

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SAS Interview Questions

what is proc Index? and what is proc document?

0 Answers   Mind Tree,


how do you want missing values handled? : Sas programming

0 Answers  


what is portability of sas programmes?

2 Answers   Capital One,


Name validation tools used in SAS

0 Answers  


what is the difference between compiler and interpreter? give any one example (software product) that act as a interpreter?

36 Answers   Accenture, College School Exams Tests, CTS, IBM, IHRD, Infosys, Sylhet Engineering College, TCS, Wipro,






When looking for data contained in a character string of 150 bytes, which function is the best to locate that data: scan, index, or indexc?

7 Answers  


What is program data vector (pdv) and what are its functions?

0 Answers  


Describe the ways in which you can create a macro variable?

0 Answers  


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

5 Answers  


what is option year cuttoff in sas

2 Answers   L&T,


What is the good sas programming practices for processing large data sets?

0 Answers  


how can you put a "trace" in your program? : Sas programming

0 Answers  


Categories