 PURPOSE: This phase II trial is studying how well giving cetuximab together with oxaliplatin and gemcitabine followed by surgery or external-beam radiation therapy and capecitabine works in treating patients with locally advanced, nonmetastatic pancreatic cancer that cannot be removed by surgery. 