Abstract. We characterize the solutions of the indeterminate moment problem associated with the continuous g-Hermite polynomials when q > 1 in terms of their Stieltjes transforms. The extremal measures are found explicitly. An analog of the Askey-Wilson integral is evaluated. It involves integrating a kernel, similar to the Askey-Wilson kernel, against any solution of the -Hermite moment problem, provided that certain integrability conditions hold. This led to direct evaluation of several q-beta integrals and their discrete analogs as well as a generalization of Bailey's 6 y/^ sum containing infinitely many parameters. A system of biorthogonal rational functions is also introduced.