× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Yes, I am able to ping the address's

So I do a ping 10.0.0.150 it works...

When I try

strqsh cmd('rexec -u usernm -p password xxx.xxx.xxx.xxx dir')

it fails with

"rexec: 001-2246 Host xxx.xxx.xxx.xxx cannot be found."



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Monday, January 17, 2011 2:10 PM
To: Midrange Systems Technical Discussion
Subject: Re: strqsh rexec command question

Vern,

If there is no rexec running on that PC one should get:
rexec: 001-2245 Error found issuing command to remote host
gdspc74.dekko-1.
A remote host refused an attempted connect operation.

If it cannot find the PC by IP address you should get:
rexec: 001-2246 Host 10.10.1.123 cannot be found.

I would try pinging it from the i itself.

if the ping fails:
- verify the IP address
- verify that the reason the IP address works from your PC and not the i
is not because
+ your pc is on some vpn, different subnet, etc.
- from where the ping works try:
tracert xxx.xxx.xxx.xxx
- from the i try
traceroute 'xxx.xxx.xxx.xxx'
Spelling of that command varies by platform.

You may have to change some routings or whatnot on your i. Let us know
before we give you TMI.

i commands above were ran on 7.1 of i.
My PC is running 7.1 of IBM Access for i. I'm not finding that service
running on there. I thought I used to have it. I don't know if the
upgrade killed it or what.


Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.