BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I'm getting the error below (Log Output) when I try to run this code:
%include "C:\Documents and Settings\htmlscroll\htmlscroll.tpl";
ods tagsets.htmlscroll file="C:\Documents and Settings\htmlscroll\scroll.html" options(scroll_batch_size='6');
proc print data=sashelp.class;
run;
ods tagsets.htmlscroll close;

Log Output:

626 ods tagsets.htmlscroll file="C:\Documents and
_______
180
626 ! Settings\htmlscroll\scroll.html"
626 ! options(scroll_batch_size='6');
ERROR 180-322: Statement is not valid or it is used out of proper order.
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
I expect that your INCLUDE file has an open comment or some other problem cause. Suggest adding the code below ahead of your INCLUDE for desk-checking opportunity:

OPTIONS SOURCE SOURCE2 MACROGEN SYMBOLGEN MPRINT;

Normally you should want to see your SAS code as it is being compiled and executed through your SAS program logic - though it would depend on what statements are defined and what DATA/PROC processing actually occurs in the INCLUDE code.

Scott Barry
SBBWorks, Inc.
Cynthia_sas
Diamond | Level 26
Hi:
Following Scott's suggestion is a good idea. However, the HTMLSCROLL code is quite lengthy and if the SAS Log does not reveal anything obvious, your next "stop" should be to open a track with Tech Support on this issue.

cynthia
How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1269 views
  • 0 likes
  • 3 in conversation