What is the difference between an informat and a format?
Name three informats or formats.
Answer Posted / vemula
informat is an instruction given to sas to read the data
values into variables
ex: date9.
ddmmyyw.;
char6.;
format is and instruction given to sas to print the
variable in to datavalues
ex; date8.
ddmonyy.;
commaw.;
dollarw.;
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
If a variable contains only numbers, can it be a character data type?
how to do user inputs and command line arguments in sas?
Which command is used to save logs in the external file?
What are the limitations for memory allocation for SAS variables
What is PDV?
Describe the function and untility of the most difficult SAS macro that you have written.
Name validation tools used in SAS
What is the maximum length of the macro variable?
What is a method for assigning first.VAR and last.VAR to the BY group variable on unsorted data?
What is a put statement?
What are all the problems you faced while validating tables and reports?
How necessary is it to be creative in your work?
what is the primary data source for the wrs? : Sas-bi
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.
Name few SAS functions?