Apparently "system" isn't in the path.
So I did:
cd /bin
system -I "DSPLIBL"
That works fine. Cool !!
Should "system" be available from anywhere or do I need to set up a default path ?
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
-----Original Message-----
From: Richard Schoen
Sent: Monday, January 8, 2018 4:04 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: SSH and Putty Question with IBMi
I'm using Putty from Windows and I had tried system command.
I get connected and can run other commands on the command like bash and node commands just fine.
System doesn't seem to work:
$ 'system dsplibl'
system dsplibl: not found
Do I need a specific path set up to find the system command ?
Regards,
Richard Schoen
Director of Document Management
e. richard.schoen@xxxxxxxxxxxxxxx
p. 952.486.6802
w. helpsystems.com
-----Original Message-----
message: 3
date: Mon, 8 Jan 2018 15:18:35 -0600
from: David Gibbs <david@xxxxxxxxxxxx>
subject: Re: SSH and Putty Question with IBMi
On 1/8/2018 2:56 PM, Richard Schoen wrote:
I have set up the SSH daemon and can connect with putty just fine. Good !
Can I run any IBMi commands like SBMJOB, etc ?
Yes.
plink -pw yourpassword userid@host 'system dsplibl'
david
As an Amazon Associate we earn from qualifying purchases.