Environment: SAS BASE 9.4, EG 7.15 HF3 (7.100.5.6132) (64-bit)
I am trying to add a text_prompt to an Information Map using:
insert text_prompt
displayed_text="Select Code:"
name="CODE"
id="codePrompt"
selection_type=single
value_displayed=yes
allow_user_values=no
column="table_name"."column_name";
2 problems !!!
1) Cant get the syntax for column= correct (wont execute to create Information Map , always get "cant find table" no matter what referencing I try)
2) If I use dataitem= as in
insert text_prompt
displayed_text="Select Code:"
name="CODE"
id="codePrompt"
selection_type=single
value_displayed=yes
allow_user_values=no
dataitem="dataItemID";
The map creates OK and I can use in EG but it WILL not display the dynamic list of possible prompt values.
Any help appreciated
Does your "table name" reference contain the full folder path of the infomap, as in this example from the doc?
insert text_prompt
displayed_text="Select countries that apply:"
id="countryPrompt"
value_displayed=yes
allow_user_values=yes
column="/Shared Data/CUSTOMER"."Country”
label_column="Postal_Code" /format=”custom-format”
default_values=('CANADA' 'GERMANY');insert
Do you have the option to use SAS Information Map Studio to define a prompt the way that you want it, and then use PROC INFOMAPS and the INFOMAP libname engine to see how it's defined (to inform your coding)? See some tips in this blog post.
I have tried the following and it works fine:
insert text_prompt
displayed_text="Select CODE:"
name="CODEID"
id="codePrompt"
selection_type=single
value_displayed=yes
allow_user_values=no
values=(("200000" "Chosen") ("1"));
Still cant get it to work.
Kindly read this , if any help. http://support.sas.com/kb/36/193.html
Thanks for the info. I am using EG 7.1 and Base SAS 9.4 so the prompted filters should work.
Thanks
no worries.
Did you got your problem solved? if so please let me know the solution.
No solution yet, I have a track open with SAS Support. I will let you know.
Thanks
Hi @dosborne : has SAS Support finally resolved your problem with the prompt ?
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 16. Read more here about why you should contribute and what is in it for you!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: