OBJECTIVES: I. Determine the maximum tolerated dose of 506U78 in patients with hematologic malignancies and renal or hepatic impairment. II. Establish dosing guidelines for this drug in this patient population. III. Determine the toxicities and pharmacokinetics of this drug in these patients.