BookmarkSubscribeRSS Feed
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?



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




Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

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.

Get the $99 certification deal.jpg



Back in the Classroom!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 2 in conversation