11-15-2013 07:05 PM
Several proc sort procedures in my code properly sort datasets with a large number of observations (30 million +). However, once it reaches a certain dataset, the proc sort stalls. The program doesn't crash, the log doesn't update, and the dataset doesn't sort. The locked outfile file appears in the output libname location, however the size is 0 kbs. This is a simple procedure: proc sort, by variables, and run command. This dataset is quite larger than the others, but not by much. The by variables exist and have normal values. Any clue as to what may be happening?
11-15-2013 08:12 PM
FWIW: If you are on a Window's server, and your data are on a different drive than the one where you have SAS installed, you may want to try moving the file onto the same drive where SAS is installed and trying it from there. I.e., it may be a Window's problem!
11-18-2013 01:30 PM
Maybe try running the sort with fewer records to see if there isn't something other than the size causing the long response, E.g.:
proc sort data=have(obs=100)