%MAXARR (Maximum Element in an Array)
%MAXARR(array {: start-index {:number-of-elements}})
%MAXARR returns the index of the maximum value in the array, or the subsection of the array identified by the start-element operand and the number-of-elements operand.
See %MAXARR and %MINARR (Maximum or Minimum Element in an Array) for detailed information about both %MAXARR and %MINARR.