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 |
Did you used proc lifetest? when?
2 Answers Accenture, Parexel, Quintiles,
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
how many data types in sas? : Sas-administrator
What is the work of tranwrd function?
Give some examples where proc report’s defaults are different than proc print’s defaults?
what can you learn from the sas log when debugging? : Sas programming
Under what circumstances would you code a SELECT construct instead of IF statements?
how can u convert this 25-jul-2010 from numeric to charcter?
We have a string like this "kannafromsalembut" ,from this i want to get only "fromsal" (but one condition with out using substring function)here we can not use scan because in the given string there is no delimeter? so give ans without out using substring ?
How to convert HTML file into SAS dataset?
How can you create a macro variable with in data step? : sas-macro
If you use a symput in a data step, when and where can you use the macro variable? : sas-macro