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

 

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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