Search notes:

SAS: _numeric_ / _character_ / _all_

SAS has three specially named variable lists: _numeric_, _character_ and _all_, respectively.
They refer to numeric, chararacter or all variables in a data step.
Apparently, _character_ can be abbreviated with _char_.

example: proc print

In the following example, proc print is instructed to only print the numerical or character variables in a data set.
data nums_and_chars;
  num_one   =  42 ;
  chr_two   ='foo';
  num_three =  99 ;
  num_four  =  -1 ;
  num_five  =   . ;
  chr_six   ='bar';
  chr_seven ='baz';
  output;
run;

/* Print variables with numeric type: */
proc print
     data = nums_and_chars;
     var    _numeric_;
run;
/*
                     num_
  Obs    num_one    three    num_four    num_five
  
   1        42        99        -1           .   
*/

/* Print variables with charact type: */
proc print
     data = nums_and_chars;
     var    _char_;
run;
/*
                               chr_
  Obs    chr_two    chr_six    seven
  
   1       foo        bar       baz 
*/
Github repository about-SAS, path: /programming/variables/list/numeric-character-all/proc-print.sas

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...', 1759415441, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/Companies-Products/SAS/programming/variables/list/numeric-character-all/index(77): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78