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

What is the maximum length of the macro variable?

0 Answers  


What is criteria for adverse events and treatment-emergent adverse events?

2 Answers   Accenture,


define table lookup and how may ways it can be done...explian

3 Answers  


what is sas metadata server? : Sas-di

0 Answers  


Hi , which book should i refer to for preaparing SAS statistical Exam. Searched a lot on books but still did n't find relevant books

2 Answers  






What is the purpose of _error_?

1 Answers   Quintiles,


what is the diff. b/w proc means and proc summary?

12 Answers   CitiGroup,


hi here is a problem can anybody solve this? i want to report the data through third party file. by using data _null_ or proc report or macro automation process. but i want to insert the 'titles and footnotes' in between the data and also starting of 2nd and ending of 2nd and starting of 3rd and ending of the 3rd page. tell me how and write the code?

0 Answers   Cognizant,


What system options would you use to help debug a macro? : sas-macro

0 Answers  


How would you combine 3 or more tables with different structures?

7 Answers  


What are the default statistics that proc means produce?

0 Answers  


what is the difference between the SAS v8 and SAS v9?

7 Answers   TCS,


Categories