Hi: Without your data or a sample of your data, it is hard to understand what you mean when you say that you get an error when you submit on a UNIX command line. Since I don't have Unix to test with, I wouldn't be able to test your code in Unix anyway, but if you posted data with your code, someone might be able to help you. Looking at your code, I don't see where you create work.instructions and I don't understand why you keep using OUT= with PROC REPORT. So clearly there is something in your process that I am not understanding clearly. In this case, I think you need to open a track with Tech Support so they can look at your data, look at all your code and try to replicate your issue on a Unix system. cynthia
... View more