What is the difference between an informat and a format?
Name three informats or formats.

Answers were Sorted based on User's Feedback



What is the difference between an informat and a format? Name three informats or formats...

Answer / ramesh babu

Informats are instractions which help to SAS to read
datavalues (Non Standard values) into variables (Standard
values)

Eg: $upcaseW.
commaW.d
dateW.

Formats are instractions which help to SAS to write Standard
values into Non Standard values.

Eg: $upcaseW.
commaW.d
dateW.

Is This Answer Correct ?    2 Yes 5 No

What is the difference between an informat and a format? Name three informats or formats...

Answer / 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

What is the difference between an informat and a format? Name three informats or formats...

Answer / harish

formates ,informates r comma.,percentage,date.these 3 r
differant types formates&informates.

formates is used for reading of data
informates is used for the printing of data.

Is This Answer Correct ?    1 Yes 23 No

Post New Answer

More SAS Interview Questions

I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

0 Answers  


What are SAS/ACCESS and SAS/CONNECT?

0 Answers  


who is the best SAS clinical Trainer in Hyderabad?

3 Answers  


How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set?

2 Answers  


firstobs and obs are working only option wise,but we are using infile statement with firstobs and obs in a statement wise? so firstobs,obs working at options and statemnts or not?

1 Answers  






how to read the variables in sas? : Sas-administrator

0 Answers  


What statement do you code to tell SAS that it is to write to an external file? What statement do you code to write the record to the file?

2 Answers   Accenture,


Which date functions advances a date time or date/time value by agiven interval?

3 Answers  


Explain how merging helps to combine data sets.

0 Answers  


How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?

0 Answers  


How to get any kind of data in SAS? Is it possible to take data from notepad in SAS?

7 Answers   GSK, TNS,


Code a PROC SORT on a data set containing State, District and County as the primary variables, along with several numeric variables.

7 Answers   Accenture,


Categories