This function returns a set of statistical IDs associated with
the statistical group IDs supplied in the query string, for the specified
Gateway daemon.
Detail
This function is called with a gateway token,
a query string of statistical group IDs, and a result set token pointer. The
result set created can be parsed with functions
getFirstId and
getNextId, or used to generate a query string with
getIdQuery.