BookmarkSubscribeRSS Feed
SterlingParamore
Calcite | Level 5
When I open up Excel and connect to a SAS server through AMO, a WORK library is created. Is there any way for a stored process that is executing during that AMO session to determine the file path to where the AMO WORK library is?
3 REPLIES 3
Vince_SAS
Rhodochrosite | Level 12
This is not specific to AMO/STP, but does it give you what you want?

[pre]%let WORKPATH=%sysfunc(pathname(work));[/pre]

Vince DelGobbo
SAS R&D
SterlingParamore
Calcite | Level 5
Vince,

Thanks, but no. The WORK library in AMO is different from the WORK library that gets created when the STP runs. I was just wondering if there was any way that the STP that is called could be aware of where the WORK directory is that exists in AMO.

Thanks,
Sterling
SterlingParamore
Calcite | Level 5
What I'm looking for is a way to have two stored processes talk to each other when they're run through the same AMO session so that I can have multiple stored processes output to multiple worksheets in the same workbook.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1385 views
  • 0 likes
  • 2 in conversation