This paper proposes a methodological framework to develop a data-driven process control using pure industrial production data from a cast iron foundry, despite the limitation of complete casting traceability. The aim is to help sand foundries to produce good castings. A reference foundry, which produces mainly automotive and oven parts with automatic sand molding and pouring machines, was selected. Past data, where only good castings were produced, were extracted from the database to determine parameter control limits (upper and lower control limits) with the aid of statistical approach. To identify critical process parameters associated with casting defects, process data from the zero and high scrap production batches were systematically compared. This method clearly identified unstable parameters without exact synchronization between inline and part quality data. Molding sand moisture, temperature and compactability, liquidus temperature of the melt, phosphorus content, carbon equivalent and pouring temperature were found to be the critical parameters to be stabilized. Finally, a regression model for predicting and controlling of molding sand moisture and liquidus temperature of the melt was created. The determined boundaries and the models were helpful for the foundry in assisting ongoing production control and correction of process inputs to achieve target casting quality.