I've been figuirng out how to run a unix job from visual basic or windows dos command prompt using sshg3. Some codes in the job is not recognized. Eror "command not found" appears. The job runs successfully when run in TECTIA (unix).
This is my syntax:
sshg3 -t username@ipaddress#port -Ppassword unix_directory/jobname
Is there something wrong with my syntax? What should be the correct syntax?
Probably the PATH value is different because there is no terminal environment.
Add "env > /tmp/mylog" to at the beginning of the script, and then look at the log file to see if you need to add any values explicitly in your script.