Begin the DATA Null step and declare the local variable obj. The DATA _NULL_
statement begins the DATA step. The DECLARE statement assigns obj as the variable
that identifies the object. The DECLARE statement also creates an instance. The SET
statement reads the observations from the Sashelp.Class data set.
title "Using a Variable Name to Display Data";
data _null_;
set sashelp.class ;
dcl odsout obj();
Specify the DATA set variables to use. Each DATA argument in the FORMAT_TEXT
method specifies a variable from the Sashelp.Class data set. The FORMAT_TEXT
method is executed once for each iteration of the data set and the values ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.