cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JMP is taking Discovery online, April 16 and 18. Register today and join us for interactive sessions featuring popular presentation topics, networking, and discussions with the experts.
Choose Language Hide Translation Bar
soheila
Level I

subscripted key not in map{1} in access or evaluation of 'key' , key

Hi! i am using JMP to access SAS on demand for soem path analysis. once i hit run it gives me this message: how can i fix this?

subscripted key not in map{1} in access or evaluation of 'key' , key

Thank you!

1 REPLY 1
Craige_Hales
Super User

Re: subscripted key not in map{1} in access or evaluation of 'key' , key

I can't answer the complete question, but I might be able to point you in the right direction:

The message is from JMP's scripting language, JSL.  A "map" is an associative array that can be indexed with character strings (keys), unlike a matrix that can only be indexed with integers.  The "key" is the index to the associative array, and the message means no value has been stored using that key.  If you have the JSL, the variable name you are looking for is "key" (based on the message you got).  Using show(key); in the JSL might tell you what's wrong.

Guessing in the dark: the key that isn't found appears in your data incorrectly.

Craige