Computing.Net > Forums > Unix > Execute .ksh from Windows using pli

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Execute .ksh from Windows using pli

Reply to Message Icon

Name: lbf864
Date: March 26, 2008 at 14:34:27 Pacific
OS: W2K
CPU/Ram: n/a
Product: IBM
Comment:

I have written a batch file that calls plink and goes from my Windows box to a UNIX box (successfully). It also calls a .scr file (using plink's "-m") with my list of commands once inside the UNIX environment. An example of my .scr:

cd CONTROLS
cd Script
cd Run_These
./LOAD1.ksh

Everything is successful until the LAST line. When I call the LOAD1.ksh, I get the following error:
./LOAD1.ksh[25]: myunixbox: not found

Anyone have a suggestion as to what the heck I am doing wrong? A huge thanks ahead of time.



Sponsored Link
Ads by Google

Response Number 1
Name: lbf864
Date: April 1, 2008 at 13:01:46 Pacific
Reply:

Solved it myself dudes!

The problem was in my .ksh. I call a program and the .exe couldn't be found!

All I had to do was give a PATH in the first line of the .scr and she was a success!!!!

HA ha!


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home


Sponsored links

Ads by Google


Results for: Execute .ksh from Windows using pli

How to Remove LILO from Windows NT boot www.computing.net/answers/unix/how-to-remove-lilo-from-windows-nt-boot-/2230.html

Print from windows www.computing.net/answers/unix/print-from-windows/931.html

Viewing large log files www.computing.net/answers/unix/viewing-large-log-files/6329.html