Page 67 - SAS_manual
P. 67
After execute the above code check the path there is a text file class.txt.
Program 6.21:
In the above code there is _null_ in 1 line. This is used fornot to create the dataset. Again you can notice
st
that there is double slash (//) present before run statement, which is used to give space between the
executed report.
Output: After using // Before using //
Global statements
Statements which can be executed independent of data step or proc step (proc print) all these statements
are effective for only current session.
Libname is used to create library.
Filename is used to create file references.
Syntax:
Libname name “location”;
Filename name “location/filename.txt”;
Note: name must be as per naming rule.
You can use the above syntax like:
LIBNAME practice “location”;
FILENAME myfile “location / file1.txt”;
SAS HANDBOOK | VISIT:: http://nikhilanalytics.com 67