Hi, first of all, I am so glad to find this forum and hopefully in the future it will be my turn to help other new users (like me). I am very new to JMP, and I inherited a set of JMP files and scripts that I need to ramp up on very quickly.
I have a file that has ODBC connection to a SQL server and accesses a SQL table.
Here is the SQL:
select a.*
from table1 a
join table2 g
on a.col1=g.col1
where [Criteria is met]
This is the JSL:
Open Database("DRIVER=SQL Server;SERVER=server\server;UID=;APP=2007 Microsoft Office system;WSID=comp_name;DATABASE=database;Trusted_Connection=Yes", "select *
from table1 a
join table2 g
on a.col1=g.col1
where [Criteria is met]
In the online help, it says that there will be a SOURCE that can be executed to re-import the data:
[...]
When you import data from an ODBC database, within the data table, note the following:
There is a script called Source that you can run to re-import and refresh the data.
A table variable is added that might contain user ID and password information. There is a JSL-only preference that can be set to prevent including this possibly sensitive information. See the Scripting Guide for more details.
But when I try to run the script, it asks or looks for a file. Why is it looking for a file?
Thanks in advance.