Desktop productivity for business analysts and programmers

Proc Export in SAS/EG

Accepted Solution Solved
Reply
Contributor
Posts: 29
Accepted Solution

Proc Export in SAS/EG

[ Edited ]

Hi ,

 

My EG is installed in remote and created some projects connecting remote servers and saved in local folders. The problem here is I need to export the extracts from these projects automatically to the location where the projects are saved.

 

I can do this using base sas ,using SAS_EXECFILEPATH and proc export but not sure how to do it in EG.

 

Any help in this is much appreciated.


Accepted Solutions
Solution
‎11-21-2017 05:08 AM
SAS Employee
Posts: 199

Re: Proc Export in SAS/EG

Hi @Reddi

 

The _CLIENTPROJECTPATH macro variable will give you "The full path and filename for the project".

After removing the filename, you'll have the path you're looking for.

Further details about macro-variables are available with Special automatic macro variables available in SAS Enterprise Guide.

 

Hope that helps you.

 

Cheers,
Damo

View solution in original post


All Replies
Solution
‎11-21-2017 05:08 AM
SAS Employee
Posts: 199

Re: Proc Export in SAS/EG

Hi @Reddi

 

The _CLIENTPROJECTPATH macro variable will give you "The full path and filename for the project".

After removing the filename, you'll have the path you're looking for.

Further details about macro-variables are available with Special automatic macro variables available in SAS Enterprise Guide.

 

Hope that helps you.

 

Cheers,
Damo

☑ This topic is solved.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 144 views
  • 1 like
  • 2 in conversation