moved PA_ClearVariable to OD EXECUTE CURSOR.