What is your "process" that needs to be aborted?? Reading the data? Displaying the data? Running a regression? Producing counts of the various codes? What program or procedure code composes your process? Is this variable the ONLY variable in the data set?
A bit more information from you is needed in order to provide meaningful suggestions.