Insulin dependence and pancreatic enzyme replacement therapy are independent prognostic factors for long-term survival after operation for chronic pancreatitis.