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

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

0 Answers  


whenever we using the merging through data set merging ,we can get note in log like this "MERGE STATEMENT HAS MORE THAN ONE ONE DATASET BY REPEATED BY VAIABLES" but the output has come in good manner,whenever in in sql(full join) we can get cartion product.so How do overcome this problem in sql?

1 Answers   Accenture,


is QUALCOMM using SAS ?

1 Answers  


in ods is there any lib's

2 Answers   SAS,


What do the sas log messages “numeric values have been converted to character” mean? What are the implications?

0 Answers  






Difference between informat and format?

0 Answers  


what other SAS features do you use for error trapping and data validation?

3 Answers   Quintiles,


what are some good sas programming practices for processing very large data sets? : Sas programming

0 Answers  


What are symbol tables?Differemce between Local N Global Symbol tables.....

2 Answers   TCS,


What would you change about your job?

0 Answers   Oracle,


What are the different operating system platforms in which we can use sas? : sas-grid-administration

0 Answers  


Diff between proc sql merge and join?

1 Answers   HSBC, Sristek,


Categories