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 will calendar procedure do?

0 Answers  


how do you validate tables abd reports?

2 Answers   Accenture, Quintiles,


How can you put a "trace" in your program?

2 Answers   Quintiles,


what is intially documentation in sas?

1 Answers   Accenture,


If you?re not wanting any SAS output from a data step, how would you code the data statement to prevent SAS from producing a set?

1 Answers  






What are the joins,types of joins and thier functions?

7 Answers   SAS,


How do you debug and test your SAS programs? What can you learn from the SAS log when debugging? How do you test for missing values? How would you create multiple observations from a single observation? What are some good SAS programming practices for processing very large data sets? Briefly describe 5 ways to do a "table lookup" in SAS. Why is SAS considered self-documenting? Are you sensitive to code walk-throughs, peer review, or QC review? What other SAS features do you use for error trapping and data validation? How does SAS handle missing values in: assignment statements, functions, a merge, an update, sort order, formats, PROCs?

2 Answers  


how to change the execute of macro

0 Answers   Mind Tree,


what is treatment emergent events and treatment emregent adverse event

0 Answers  


what is the formula to measure Baseline

3 Answers   Sristek,


what is metadata? : Sas-bi

0 Answers  


Have you ever linked SAS code, If so, describe the link and any required statements used to either process the code or the step itself?

4 Answers  


Categories