BookmarkSubscribeRSS Feed
JJP1
Pyrite | Level 9

Hi,


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)

3 REPLIES 3
Vince_SAS
Rhodochrosite | Level 12

Try adding a parameter named _DEBUG with a value of log,trace, and then look in the SAS log to see if there are errors that need to be corrected.

 

Vince DelGobbo

SAS R&D

JJP1
Pyrite | Level 9

Hi Vince,

I am new to SAS stored processs,so may i request to please help how can we add the debug option please.

 

Thanks

Vince_SAS
Rhodochrosite | Level 12

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:

 

https://go.documentation.sas.com/?docsetId=stpug&docsetTarget=dbgsrvlt.htm&docsetVersion=9.4#n15ji04...

 

If you still need assistance with this, then I suggest that you open a track with our technical support department:

 

https://support.sas.com/ctx/supportform/createForm

 

Vince DelGobbo

SAS R&D

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 3 replies
  • 950 views
  • 0 likes
  • 2 in conversation