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

 

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 1467 views
  • 2 likes
  • 6 in conversation