SAS ‘DO’ Loops

The DO Statement in SAS for looping or iteration is used along with while and until special cases. Also, you need to tell SAS whether you need the output of each iteration, for that you need to include the output; statement. You always need to finish it by keyword end; Variables on which DO is… Continue reading SAS ‘DO’ Loops

Published
Categorized as SAS

INFORMAT Statement in SAS

INFORMAT statement is used to define default input format for a variable or a number of variables in sequence at once. See an Example below: Here, two sequential variables FirstName and LastName have the informat parameter of $10 meaning Alphanumeric 10 character length. n1 and n2 are nuleric variables which have been defined to have… Continue reading INFORMAT Statement in SAS