generate code for data statements