I am trying to use plink to connect to aix box from windows and trying to compile the code. it successfully connects to the box, but when compilation starts its not able to any of the paths which are mentioned in".profile" file. Hence it doesnt understand the common variables. Can some one help me with this problem? How to set plink session based .profile file?
Command used : plink -pw buildpoc buildpoc@10.41.44.202 -m command.txtCommand.txt contains: cd scripts pwd /prod/f1/buildpoc/scripts/buildlibs.scr bb
Error shown is: [E:\Putty]sc.bat rem plink -pw buildpoc buildpoc@10.41.44.202 plink -pw buildpoc buildpoc@10.41.44.202 -m command.txt /prod/f1/buildpoc/scripts /usr/bin/sh: xlC_r: not found. <<<<<<<<<<<<< which is present in /user/vacpp/bin Running for make file libmakefile.aix52 Removing libraries -- COMPILING LIBRARYS --
xlC_r -c -bmaxdata:2147483648 -g -M -DOCI_80 -I/c/include -I/rdbms/
-I/plsql/public -I/rdbms/public athread.C

Try: plink -l buildproc -pw buildpoc 10.41.44.202 -m command.txt
Sorry, it didnt work.
I tried moving all system variables from .profile to make file (as include file) just to check.
In that case it works but fails in some places.Please help..
