what is the difference between informat$8. $char8.

Answers were Sorted based on User's Feedback



what is the difference between informat$8. $char8...

Answer / sas learner

The informat $8. is almost identical to the $CHAR8. informat. However, $CHARw. does not trim leading blanks nor does it convert a single period in an input field to a blank, while $w. does both.

This is from sas help document..

Is This Answer Correct ?    5 Yes 0 No

what is the difference between informat$8. $char8...

Answer / chandrakanth

I do not know whether you made a typo, I am explaining you question as is

informat$8.-SAS takes this as a character variable called informat with total length defined as 8

(If I assume, it is $informat8. (not informat$8.)in your question it is the general form of informats to represent a character informat, likewise a numeric informat represented as informatw.d and date as informatw. w being the width and d being the decimal places)

whereas

$char8. is one kind of informat for a character variable whose length is 8...

Please let me know if you are not satisfied with answer...will explain in detail...

Is This Answer Correct ?    4 Yes 2 No

what is the difference between informat$8. $char8...

Answer / sundeep

informat is as same as $char but we use informat in defining a type(character or date) and $char is used only for specifying character length

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More SAS Interview Questions

why is the use of Retrive statement and give me with example?

1 Answers   ME,


Name statements that are execution only.

4 Answers  


i want to upload titles and footnotes to excel file?how it is possible?

1 Answers  


Briefly explain input and put function?

0 Answers  


what are some problems you might encounter in processing missing values? In data steps? Arithmetic? Comparisons? Functions? Classifying data? : Sas programming

0 Answers  






i have a null dataset with 20 variables. i want to upload the variables which contain name like a or k or anything in another dataset.how can we create the dataset?

3 Answers   L&T,


what is the effect of the options statement errors=1? : Sas programming

0 Answers  


Differentiate between proc means and proc summary.

0 Answers  


explain the key concept of sas? : Sas-administrator

0 Answers  


What are the implications?

0 Answers   Quintiles,


what do you mean by data staging area? : Sas-di

0 Answers  


If you need the value of a variable rather than the variable itself what would you use to load the value to a macro variable?

2 Answers  


Categories