BookmarkSubscribeRSS Feed
singhshashank33
Calcite | Level 5

Hi Team,

I have this shell script here i want to change the remote directory path but am failed as i don't know how to change the highlighted part and how to get it. Please help me to understand how to get the drive address for the change of the remote directory. 

 

 

(REMOTE_DIR='/Qlikview_BPA_Dep/DepositsData' ## Directory where WBC data will be transferred to


#REMOTE_DIR='/Qlikview_BPA_Dep/DepositsData' ## Directory where WBC data will be transferred to

 

FROM_DATADIR=/var/opt/sas/data/pop/Discovery/Deposits/Prod/SASDATA/W/ALLB_BAU)

 

Regards 

Shashank Singh 

 

2 REPLIES 2
ChrisNZ
Tourmaline | Level 20

> FROM_DATADIR=/var/opt/sas/data/pop/Discovery/Deposits/Prod/SASDATA/W/ALLB_BAU

 

This is a unix path. How is powershell accessing a local unix path?

 

More context would be useful.

ScottBass
Rhodochrosite | Level 12

@singhshashank33 wrote:

Hi Team,

I have this shell script here i want to change the remote directory path but am failed as i don't know how to change the highlighted part and how to get it. Please help me to understand how to get the drive address for the change of the remote directory. 

 

 

(REMOTE_DIR='/Qlikview_BPA_Dep/DepositsData' ## Directory where WBC data will be transferred to


#REMOTE_DIR='/Qlikview_BPA_Dep/DepositsData' ## Directory where WBC data will be transferred to

 

FROM_DATADIR=/var/opt/sas/data/pop/Discovery/Deposits/Prod/SASDATA/W/ALLB_BAU)

 

Regards 

Shashank Singh 

 


How is the description you've provided even remotely related to the subject "Running SAS EG project using power shell scripts"?  Your subject and "description" (such that it is) are completely different.

 

Re: your subject:  try scheduling your EG project, then converting the VBScript into Powershell.  It should be rather trivial to do the conversion.

 

Re: your description:  wouldn't have a clue what you're trying to do, or what your problems are in whatever it is you're trying to do.


Please post your question as a self-contained data step in the form of "have" (source) and "want" (desired results).
I won't contribute to your post if I can't cut-and-paste your syntactically correct code into SAS.

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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