That probably cracks the internal structures and causes a memory-related crash. If you supplied some example data from data.final_master_&P. (data step, please!) we might be able to optimize what you are trying to do. Maxims of Maximally Efficient SAS ProgrammersHow to convert datasets...