TEST.PRG is the calling program, SUBSET.PRG is the proc file. It would be just as easy to include a third parm in the call to SUBSET which would evaluate as a logical variable for more consistency. For some reason, the current version of SUBSET won't accurately flag identical strings. I can only claim fatigue (it was about 11 PM, guys!) as the cause of this anomaly.