BookmarkSubscribeRSS Feed
wkossack_nspirehealth_com
Calcite | Level 5

I have a report that generates a spreadsheet with multiple tabs.  The code works on 9.2 32 bit server 2003 but when moved to 64 bit 9.3 I get a style error

I've narrowed it down to on part of the code that creates the error

WARNING: In Event: style_over_ride, Invalid Expression:

ERROR: WHERE clause operator requires numeric variables.

the ods part of the code is as follows.  what has changed from 9.2 to 9.3?

ods tagsets.ExcelXP options(embedded_footnotes='yes'  embedded_titles='yes'

suppress_bylines='yes' sheet_interval='bygroup' sheet_label=' '

width_fudge='.75' orientation='landscape'

                                          absolute_column_width='68.5,90.5,150.5,130.5,100.5,100,68.5,68.5,68.5,68.5,68.5,68.5,68.5'

                                  autofit_height='yes' frozen_headers='3' center_horizontal ='yes');

proc print...

run;

quit;

ods tagsets.excelxp close;

run;quit;

ods listing;

4 REPLIES 4
ballardw
Super User

Your error is in a WHERE statement, not shown.

The warning about a style override means some appearance may not be as desired in teh output and the overrides are not shown.


wkossack_nspirehealth_com
Calcite | Level 5

yep...someone wrote a custom template and some other code long ago I think the where was in there maybe because when I took it out the problem went away

Cynthia_sas
Diamond | Level 26

Hi:

When you have code that involves a custom template and involves TAGSETS.EXCELXP and different behavior between 9.2 and 9.3, then you have the perfect set of reasons to work with SAS Tech Support.

cynthia

wkossack_nspirehealth_com
Calcite | Level 5

calling SAS is part of my plan.

today I went through as much of the code as I could to see what worked and try to make adjustments.  I think many of the custom stuff is now doable in SAS....some of this stuff was written years ago.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 2007 views
  • 0 likes
  • 3 in conversation