cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
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