What is the difference between an informat and a format?
Name three informats or formats.
Answer Posted / chiranjeevi
Informat:
1)It should appear only datastep.
2)it is used for SAS special instructions to read the
special data values.it can be used either in the input
statements,else by using a separate statement called 'informat'.
syntax:informat<variable name>>type of informat>
or
input<variable name><type of informat>
format:
1)it should appear only proc step.
2)it is used to write or print the special data values in
the output window.
syntax:format<variable name><type of format>.
informats:1)date formats
a)datew.
b)ddmmyyw.
c)commaw.
d)percent(%)
formats and informats both are same only.
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
Explain by-group processing?
i want for interview question & answer plz it need immediate send t my mail raviprakashmot@gmal.cm
how do you test for missing values? : Sas programming
what are 5 ways to perform a table lookup in sas? : Sas-administrator
What is a put statement?
for whom is sas data integration studio designed? : Sas-di
data data1; input dt account; format dt date9.; cards; 1745 1230 1756 1120 1788 1130 1767 1240 ; data data2; input startdt enddt total; format startdt date9. enddt date9.; cards; 1657 1834 12300 1557 1758 16800 1789 1789 12300 1788 1345 12383 1899 1899 13250 ; proc sql; create table data3 as select * from data1 as x left join data2 as y on x.dt>=y.startdt and x.dt<=y.enddt; quit; Here, we are getting cartision product. But,I want left join report consisting of this program. It should not get duplicate values. you can modify the program also.
What do you know about sas data set?
What would you change about your job?
What is the SAS data set?
How does proc sql work?
explain the difference between proc means and proc summary?
What can you learn from the SAS log when debugging?
how could you generate test data with no input data? : Sas programming
Give e an example of..