BookmarkSubscribeRSS Feed
andrewp_82
Calcite | Level 5

Hi

I am using the proc stdrate to calculate Incidence Rate Ratios (IRRs). The code looks like this:

ods graphics on;

proc stdrate data = exposed_reduced refdata = richmond_reduced

             method=indirect

             stat=rate

             ;

   population event=observed_total total=pyear_total ;

   reference event=observed_total total=pyear_total ;

   strata post_strata rank_strata agegrp_cancer_1 year_cancer / smr ;

run;

ods graphics off;

However, I am getting the following error:

java.lang.ArrayIndexOutOfBoundsException

ERROR: Physical file does not exist, S:\SAS\SAS Temporary Files\_TD5952_WINSASAPP_\_D8C36FB10FE46E89B6E9441823BB839.bmp.

From my searching it appears the problem occurs when you have relational data and have a large number of rows to report.

Any ideas how to get around this?

Thank you!

Andrew

1 REPLY 1
Reeza
Super User

Java errors usually relate to graphics, try turning odd graphics off.

But I'd contact tech support to see what's going on. If you're running on a server the server may not have the right java installed.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

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
  • 1 reply
  • 1104 views
  • 0 likes
  • 2 in conversation