cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • Use JMP Clinical with CDISC-compliant data. Review studies, ID safety and efficacy signals & communicate findings with interactive graphics. Register to see how. Aug. 27, 2 pm US ET.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Tom_P
Level III

Add-in: Log Error

I read through post:discussion1 but still I could not resolve my error.

The full script is large so I just condensed it down to a few lines.

When I create the add-in, the Log says:  Name Unresolved: DSN in access or evaluation of 'DSN' , DSN/*###*/

 

Clear Log();
::DSN = "a64";  
::connection      = eval insert("DSN="||"^DSN^"||";UID=stuff;PWD=place;"); 
ct                = Open("C:\Users\tom_p\Desktop\user-interface\UI_counter.jmp");  
::count_a         = ct:Table_Count[ 1 ];

 

Any ideas how to overcome? I tried DSN removing the global variable colon,colon (DSN="a64";) and it did not fix the issue. I'm running JMP 16.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Add-in: Log Error

By chance are you using names default to here(1)?  If so JMP might be looking for here:DSN instead of ::DSN.  Give this a try:

 

::connection      = eval insert("DSN="||"^::DSN^"||";UID=stuff;PWD=place;"); 

this is what your script might be looking for:

::connection      = eval insert("DSN="||"^here:DSN^"||";UID=stuff;PWD=place;"); 

View solution in original post

2 REPLIES 2
ih
Super User (Alumni) ih
Super User (Alumni)

Re: Add-in: Log Error

By chance are you using names default to here(1)?  If so JMP might be looking for here:DSN instead of ::DSN.  Give this a try:

 

::connection      = eval insert("DSN="||"^::DSN^"||";UID=stuff;PWD=place;"); 

this is what your script might be looking for:

::connection      = eval insert("DSN="||"^here:DSN^"||";UID=stuff;PWD=place;"); 
Tom_P
Level III

Re: Add-in: Log Error

Once i saw your definition, i realized i had left "checked":  Use the "Here" namespace for unqualified JSL variable names in the menu items tab.  Unchecking that box let the program load and run.

 

Your 1st option worked as well

Thanks!

Recommended Articles