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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

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

View all other training opportunities.

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