Search notes:

SAS statements: do (iterative)

items

data _null_;

  /* Without declaring the lenght of day,
     day names would be cut after the sixth
     character because 'Monday' would initialize
     the length to 6. Or so... */
  length day $ 9;

  do day='Monday','Tuesday','Wednesday', 'Thursday', 'Friday';
     put day;
  end;
  
run;
Github repository about-SAS, path: /programming/statements/do/iterative/items.sas

compound loop specification

data _null_;

  do i = 10 to 12,
         19, 20, 21,
          5 to 25 by 6;

     put i=;
  end;

run;
Github repository about-SAS, path: /programming/statements/do/iterative/compound-loop-specification.sas

See also

SAS statements

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/Companie...', 1759415569, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/statements/do/iterative/index(71): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78