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
SAS Super FREQ
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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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