Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Posts
    119

    Unanswered: Running a unix job from visual basic

    HI,

    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?

    Thanks.

  2. #2
    Join Date
    Sep 2009
    Location
    Ontario
    Posts
    1,057
    Provided Answers: 1
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •