Error: Variable SQADatapoolOpen undefined
I have a couple scripts that successfully used iterations through datapools for inputs 6 weeks ago. Now these same scripts have the compilation errors "Error: Variable SQADatapoolOpen undefined." and the "Error: Unknown function: SQADatapoolFetch" "Unknown function: SQADatapoolValue" and "Unknown function: SQADatapoolClose" for the ensuing calls. These errors occur on 3 Win2000 client platforms but not a 4th - the scripts compile just fine on that one. The only difference I can think of is that the 3 error PCs had a previous evaluation copy of Robot installed on them (and uninstalled before the current licensed versions were installed on them over 4 months ago). The 4th PC (which runs the scripts was a clean install on a clean machine. The only other environment change is that our license server PC died a couple weeks ago and the license server was moved to a new machine (with the appropriate reconfigurations). And these same scripts run fine on the Rational Customer Service machines. Uninstalling all Rational products, cleaning the Registry (deleting Rational Software keys in HKEY_LOCAL_MACHINES, _CURRENT_USERS AND _USERS\.DEFAULT) and re-installing as suggested by CS did nothing. So I'm wondering if there is some other Registry Key that has been missed.
Thanks in advance.
Re: Error: Variable SQADatapoolOpen undefined
EUREKA! My boss finally solved it right after my previous post. (Sorry if this is considered spam.)
The sqautil.sbh file was corrupted on both my local machine and in the network project directories - so when I compared the 2, they matched in their corrupt state. Re-installation only fixed the local file but Robot was using the corrupted network file, as it should. The corrupted versions were missing all declarations of SQADatapool, SQAEnvCreate and the '$include "DpConst.sbh" statement. However, this discovery brings up 2 more questions:
1. Is a sqautil.sbh file created upon installation and then the other declarations automatically added by Robot as those functionalities (SQADatapool, SQAEnvCreate, etc.) are used?
2. Was the corrupted file copied from my local drive to the network or the reverse? And how do we prevent this from happening in the future? How might the original corruption have been caused?