BookmarkSubscribeRSS Feed
Rakeon
Quartz | Level 8

Hi,

I am following this step : 

 
But I have a problem to find the SASStoredProcess's path.
How can I find it?
 
thanks,
6 REPLIES 6
CarmineVerrell
SAS Employee

What software of SAS are you using?

Rakeon
Quartz | Level 8

Hi,
SAS Enterprise Guide, SAS VA, SAS DataIntegration, SAS Management Console.

CarmineVerrell
SAS Employee

 

So based on the link you sent, you are trying to call a stored process via a Hyperlink.

 

First, you need to determine what the stored process web application location is.

Which looks like this…  http://yourserver/SASStoredProcess

Make sure the link above works before combing it with the stored process name and location.

 

The rest of the link to the SP would look something like this… “do?_program=/WebApps/Sales/WeeklyStoredProcess”

You can get this location of your stored process by right-clicking on the stored process from the SAS Folders section in Enterprise Guide and then eventually combining the two.

 

Hope this helps.

Carmine

AnandVyas
Ammonite | Level 13

If you are talking about the below snippet, the path it is referring to is under SAS metadata folders. You will have to check where was the STP registered and use that. If you don't have access, check with your site admin to help you with the path.

 

The SAS Stored Process Web Application will look for a custom input form if you add the parameter _ACTION=FORM to the Web application URL. Custom input forms are JSPs under the input folder in the SASStoredProcess directory. For example, the Shoe Sales by Region sample stored process can be accessed with:

   http://yourserver/SASStoredProcess/do?
      _program=/Samples/Stored+Processes/
      Sample:+Shoe+Sales+by+Region&_action=form
FrankPoppe
Quartz | Level 8

If you add the directive _debug=log to the URL when running any Stored Process from the browser, you will get the complete SAS Log in the browser, and this will start with a listing of automatic macro variables from which you can deduct where SAS finds the code.

 

And when creating links within a Stored Process to other Stored Process on your system, use those macro variables. Links then will still work when you have to move everything, or when your environment is being updated.

Rakeon
Quartz | Level 8

Hi,

Finally, I have found the folder input in this path:
/sas/sashome/SASWebInfrastructurePlatform/9.4/Static/wars/sas.storedprocess/input/Samples

 

Thanks for the support,

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 6 replies
  • 1330 views
  • 4 likes
  • 4 in conversation