Your SAS programs, embedded in web apps and elsewhere

Manipulating the default Execution options page

Reply
New Contributor
Posts: 2

Manipulating the default Execution options page

Is there a way to manipulate the execution options page that you get as a default when running SAS Stored Processes. We typically want to override some of the defaults (display result in a new window [NO]) and hide some of the choices "Show SAS Log", "Show Execution time", "Show execution trace", etc.

Although there is mention in the documentation that this page can be manipulated I can not seem to find the way to do this.

Any help will be greatly appreciated.

Paul Smeekens
OZ zorgverzekeringen
N/A
Posts: 0

Re: Manipulating the default Execution options page

We are also very interested in being able to adjust the available execution options. We would like to surface stored processes and parameter metadata in the BI Portal, but do not want to allow all those execution options to all users. Any documentation on how to accomplish this would be greatly appreciated.

Ryan Cherland
Univ of Kansas
SAS Employee
Posts: 285

Re: Manipulating the default Execution options page

Currently you can hide some, but not all of these items by adding input parameters with names that correspond to the items. For example, the input parameter named "_ODSDEST" corresponds to item labeled "Output type".

Here is a list of the things you can hide, and the properties of the input parameters you need to add in order to hide them:

To hide the "Output type" item:

Label:
SAS variable name: _ODSDEST
Visible: No
Type: String
Default value:

To hide the "ODS style" item:

Label:
SAS variable name: _ODSSTYLE
Visible: No
Type: String
Default value:

To hide the "Graphics device" item:

Label:
SAS variable name: _GOPT_DEVICE
Visible: No
Type: String
Default value:

To hide the "Show SAS Log", "Show execution time", and "Show execution trace" items:

Label:
SAS variable name: _DEBUG
Visible: No
Type: String
Default value:

This must be done for each individual stored process.

We hope to have better support for customization in a future release.

Vince DelGobbo
SAS R&D
SAS Employee RMP
SAS Employee
Posts: 52

Re: Manipulating the default Execution options page

Paul,

You can easily create a customised JSP to mimic the options page. When a stored process is run a search is made for a similar named jsp. If this is found then this jsp is displayed instead of the default execution options screen.
I can send some examples if needed.

Richard
SAS Super FREQ
Posts: 8,743

Re: Manipulating the default Execution options page

This Tech Support note outlines how to avoid getting the execution options page: one way is to generate a custom jsp and another way is to make a URL display portlet:
http://support.sas.com/techsup/unotes/SN/018/018281.html
cynthia
Ask a Question
Discussion stats
  • 4 replies
  • 238 views
  • 0 likes
  • 5 in conversation