An extension of the DQA algorithm to convex stochastic programs