What is the difference between informat and format statement?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What versions of SAS have you used (on which platforms)?

1240


How can I remove header from output data set?

2325


explain the difference between alternate key, business key, foreign key, generated key, primary key, retained key and surrogate key ? : Sas-di

804


What is the difference between match merge and one to one merge?

909


how does sas handle missing values in sort order? : Sas programming

718


What is the difference between one to one merge and match merge? Give an example.

802


How can you create a macro variable with in data step? : sas-macro

773


What do you know about symput and symget?

939


What Proc glm does?

839


This entry was posted in General. Bookmark the permalink. Post a comment or leave

4330


What is PROC in SAS?

807


what is PhaseIII, ODS, TLG, Macro and Proc in SAS

4127


Explain data_null_?

800


Difference between SAS STATA & SPSS?

873


What is the difference between input and infile statement?

876