The SCA$QUERY_GET_OCCURRENCE routine successively returns every occurrence in a query result. It provides one pass through all of the occurrences. This routine will become obsolete in a future version of SCA. The SCA$GET_OCCURRENCE routine supersedes this routine.