I am looking for alternatives to running a large file from the data server that requires a search. The main program in NC memory currently handles the tool changes and sends each tool to a laser measuring device before running. This is doen to account for any thermal growth. Currently if there are 15 tools, then there are also 15 different macro programs on the data server. Would like to get this down to one with the ability to search into the program with a macro variable. Have already tried the basic GOTO statement, but macro commands are now allowed in DNC mode from the data server.