Converting SAS/IntrNet into SAS Stored Processes

1

Earlier in the year, I attempted to convert to a SAS Stored Process a SAS IntrNet program that used statements such as:
data _null_;
set datatable;
put 'html code here' variable item;
run;

However, it doesn't work when simply removing the SAS IntrNet headers
(such as options, and
ods html body=_webout path=&_tmpcat (url=&_replay) rs=none
style=seaside;
statements)
and replacing with %stpbegin & ending with %stpend.

There is an undocumented workaround available (that I didn't tell you - wink wink).
Just modify your SAS IntrNet file's ods html body statement to:

ods html body=_webout(no_bottom_matter) path=&_tmpcat (url=&_replay)
style=sasweb; ods html close;
,
start your data _null with:

data _null_;
file _webout;

and add prior to the ods html close statement:

ods html body=_webout(no_top_matter) path=&_tmpcat (url=&_replay)
style=sasweb;

Share

About Author

Angela Hall

Senior Technical Architect

Angela offers tips on using the SAS Business Intelligence solutions. She manages a team of SAS Fraud Framework implementers within the SAS Solutions On-Demand organization. Angela also has co-written two books, 'Building BI using SAS, Content Development Examples' & 'The 50 Keys to Learning SAS Stored Processes'.

Back to Top