Interview Questions   Tutorials   Discussions   Programs   Videos   

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




511
views
asked mar September 20, 2014 06:30 AM  

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


           

1 Answers



 
answered By vishnoiprem   0  

Informat - the format used to read the variable from raw data INFORMAT refers to the sometimes optional SAS informat name. The w indicates the width (bytes or number of columns) of the variable. The d is used for numeric data to specify the number of digits to the right of the decimal place.

Format - the format used to print the values of the variable The format is a SAS format or a user-defined format that was previously defined with the VALUE statement in PROC FORMAT. For more information about user-defined formats, see The FORMAT Procedure in Base SAS Procedures Guide. specifies the format width, which for most formats is the number of columns in the output data.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert