on error lnDS = lnDS - 1 lnDS = MAX for x = 1 to MAX lcSetDS = "set datasession to " + str(x) &lcSetDS endfor ?lnDS