The SCA$QUERY_GET_NAME routine returns the name of a query. This routine will become obsolete in a future version of SCA.