DWBA calculations of continuum spectra of nuclear reactions