Hi,
I am trying to run a sas prog on a remote server using ssh.
I have got the command that I am using in the below paragraph. With it, I was able to run shell scripts but when I tried 'sas' it errored out. I have got my keys exchanged so when I say ssh serverA I automatically connect to my remote server. (Note: All the commands in the quotations run one by one when they hit a semi-colon).
When I run the below I get an error ksh: sas: not found.
ssh serverA "cd /directory/sas; pwd;ls; sas avi.sas"
Any help would be appreciated. I was thinking to do this in the above fashion. If there are any other suggestions on how to run a sas job on a remote server, please enlighten me.
Thanks,
Cool_avi