I am trying to run the SAS stored process report where it will ask prompts for data,variable values.
Based on the user prompt selection,the report will run and downloads report using excel sheet.
So excel sheet downloads fine if we select multiple prompt values like 'A','B'.. for variable prompt
but not works for single variable value like only 'A' prompt value and excel gets downloaded but gives errors while opening excel as below
"the file can not be opened because of errors the errors are listed in temproray internet file "
we are creating variable prompt as below
prompt type :text
Methods for populating prompt : user select values from a static list
Number Of values : multiple values (defined added 'A' ,'B' under list of values)
How you set the parameter depends on how you are executing the stored process. You can add a new parameter to the stored process named _DEBUG and specify log,trace for the default value. Or if you are executing the stored process by directly accessing a URL, then add &_DEBUG=log,trace to the end of the URL.
Here is some documentation that might help:
If you still need assistance with this, then I suggest that you open a track with our technical support department:
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.
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.