You need a client. Do you have knowledge on linux or unix scripting?
(In linux or unix , more programming flexibilities and fun :) )
from any directory , you can run this and see if bteq say is available or not:
find / -name "bteq*" -type f -print 2>/dev/null
or you can just see if some td elements are there or not :
try with this ksh script.