ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

ssh command error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ssh command error

    Hello Experts,

    I'm trying to setup a shell script from Linux server to stop the job on i5os/as400 server. Below is the script
    HTML Code:
    ssh user@xx.xx.xx.xxx ENDJOB JOB \(i5os/I5OSDRV\) OPTION\(*IMMED\)"
    when i run the above script from linux serevr, i'm getting "ENDJOB JOB \(i5os/I5OSDRV\) OPTION\(*IMMED\): not found" error. I also tried "ENDJOB JOB \(i5os/I5OSDRV\)" command after i ssh to the server but getting "ENDJOB: not found" error.

    Could some one point me to the right direction here. My goal is basically stop/start the job from remote linux server. Thanks.
Working...
X