cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Learn how to build custom Python data connectors and further customize JMP’s Data Connector Framework with the Python Data Connector Demo, available now in the JMP Marketplace!
  • See how to move from signal modeling to system modeling at the first JMP Aerospace Analytics webinar. Register. June 18, 1 p.m. US Eastern Time.

Discussions

Solve problems, and share tips and tricks with other JMP users.
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

Recommended Articles