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[*])

 

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2044 views
  • 2 likes
  • 6 in conversation