BookmarkSubscribeRSS Feed
VinayBabu
Calcite | Level 5

Hi All,

I am creating a shared prompt in SAS MC.  Prompt Type is text andMethod of Populating Prompt (User Select Value From A Dynamic List) I pointeddata source to a lookup table.  This lookup table has 200,000 records. When I trying to test this prompt it is showing ERROR message. "Error Occurred Assigning Libref: Java,util.NoSuchElementException"

Can I create a prompt using a lookup table which has 200,000 rows? What is the maximum number of values I can display in a prompt?

Thanks,

Vinay.

1 REPLY 1
TriciaA
Calcite | Level 5

I'm not aware of a limit - but I imagine that too many values are going to cause a problem.  Off the top of my head seems like in Information Map Studio suggest you limits the choices to a 100 values.  This may be more of a design issue (if you don't mind me saying).  As an end user, I would have a hard time picking from a list of 200000 choices.  You might want to consider adding some extra grouping and using a cascaded prompt. 

I talk about cascading prompts in this blog post, if you need some extra help:

Stored Process: Need to prompt based on the first prompt value?

I notice that the error indicates it didn't like the LIBREF - so I'd be curious if the lookup table location had the necessary permissions.

Hope this helps

Tricia

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1194 views
  • 0 likes
  • 2 in conversation