The content (HTML) is statically generated via PUT statements.
1 Code Block
DATA STEP Data
Explanation : Uses the DATA _NULL_ step to write HTML character strings directly to the '_webout' fileref, which corresponds to the HTTP output stream to the client.
Copied!
data _null_;
file _webout;
put '<head><title>Hello World!</title></head>';
put '<body>';
put '<h1>Hello World!</h1>';
put '</body>';
put '</html>';
put '<html>';
run;
1
DATA _null_;
2
file _webout;
3
put '<head><title>Hello World!</title></head>';
4
put '<body>';
5
put '<h1>Hello World!</h1>';
6
put '</body>';
7
put '</html>';
8
put '<html>';
9
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.