BookmarkSubscribeRSS Feed
primmer3001
Calcite | Level 5
I have changed the last 2 arrays as advised and that is working now. But the MAX function is now say 'ERROR 71-185: The MAX function call does not have enough arguments.'
Patrick
Opal | Level 21

I can execute your exact code without that error. Read what @Tom tells you. That's likely the issue here.

 

You could try:

  max_value = max(arrs_inst_2 - arrs_inst_&m.);

or...

max(.,of array_name[*])

 

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

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 16 replies
  • 3479 views
  • 2 likes
  • 6 in conversation