function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mceruttimcerutti 

Search abends with maxrows = -1

When making a call to the search API, I am setting the max rows parameter to -1 to indicate that I want all of the results returned.  This is causing the call the abend.  The documentation states that maxrows is optional, but, since it is an integer, using a negative is the only way to indicate that it is not supplied.

Using -1 in the Query call works as I expected.