Search results with tag "Proc contents"
028-30: Storing and Using a List of Values in a ... - SAS
support.sas.comabout a SAS table. We can build a data set with this information by using PROC CONTENTS. proc contents data=sashelp.class noprint out=metaclass; run; The resulting data set (METACLASS) will have one row for each variable that was found in the original data set (SASHELP.CLASS). options nocenter nodate; SUGI 30 Coders' Corne r
SAS CHEAT SHEET - Ivy Professional School
ivyproschool.comdata libname.newdata; proc contents libname.dataset; set libname.olddata; run; format x y 10.2; x= log (age); y= height^2; run; to view the data in the output 2. window 2. string functions proc print data libname.new; to get the length of the variable ...
PROC TEMPLATE: The Basics Lauren Haworth, Genentech, Inc ...
support.sas.comproc contents data=sashelp.class short; run; ods html close; the resulting file will look like this: The code for this output is in sample program 1. Submit this code yourself and review the results. Depending on the setup of your system, the results may pop up in a browser within the SAS display manager, or you may need to go to the Results ...