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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What would be the value of month at the end of data step execution and how many observations would be there?

570


What are the different versions of sas that you have used until now? : sas-grid-administration

723


Mention the validation tools used in SAS?

652


how are numeric and character missing values represented internally? : Sas programming

613


is data integration and etl programming is same? : Sas-di

570






Explain append procedure?

630


Are you sensitive to code walk-throughs peer review or QC review?

2595


How you can read the variables that you need?

651


What are the data types that sas contain?

649


What are the five ways to do a table lookup in sas? : sas-grid-administration

586


how to debug and test the sas program? : Sas-administrator

569


what are 5 ways to perform a table lookup in sas? : Sas-administrator

757


How do you use the do loop if you don’t know how many times you should execute the do loop?

747


What sas features do you use to check errors and data validation?

680


what is ae onset date n what is RDS

1931