Explanation : Declaration of a fileref named 'test' referring to the 'houses.source' entry of the 'sashelp.assist' catalog. The 'catalog' engine is specified to access this type of internal SAS storage.
Copied!
filename test catalog 'sashelp.assist.houses.source' ;
1
filename test catalog 'sashelp.assist.houses.
2
source' ;
3
2 Code Block
DATA STEP
Explanation : DATA step without an output table (_null_). It reads the file referenced by 'test' and writes each read line directly to the log using the 'put _infile_' statement.
Copied!
data _null_ ;
infile test ;
input ;
put _infile_ ;
run ;
1
DATA _null_ ;
2
INFILE test ;
3
INPUT ;
4
put _infile_ ;
5
RUN ;
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.