A worldwide study with extension in patients with type 2 diabetes mellitus to assess the safety and tolerability as well as the effects of treatment with an investigational drug for weight loss on body weight.