× 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.


  • Subject: Calling a program on the i via OpenSSH
  • From: smith5646midrange@xxxxxxxxx
  • Date: Fri, 1 Feb 2019 15:26:29 -0500
  • Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IsoQHGHC; spf=pass (google.com: domain of smith5646midrange@xxxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=smith5646midrange@xxxxxxxxx; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:thread-index:mime-version:message-id:date:subject :to:from:dkim-signature; bh=XA18UzVjf7sypTqF7gBpUnZHdWeVK47uBQFTornnFdQ=; b=P1WFhgmWbp9wXozyynbFWvNUfG2Ujq61m64Dab6RhjZoiph2CsQ1dN7fPJvNwVN/FC Q1E84X+YvXgMa4NwKmcmgVr/HrkSp2BIaaTDa3YkHLxODQO5UZaW1YUFjHn7MCm5TLst upzQEllTXYQKo4yFGnZK3w19dkPdmZnY1WkLOYdJDNa5+IL2qIdvpU++LaOs+asLPHrd mTnFyrb8ptiAoNi5avBEQScx/N54bCEcrzWy90ZuXDyuHsxF+pK6Mc8eb67Q8+Qq9DhL ZrsdXk5t5HeX7NxOpiI2S41dWHmgmSvr4MnoGlY0b6TQBdiT4jZ+ZZZNSN0fewqeF1/C Z48g==
  • Arc-seal: i=1; a=rsa-sha256; t=1549052793; cv=none; d=google.com; s=arc-20160816; b=hCypK4gN7a5u6C4SiprnN5eX8O+8vXM525zYBLwoY2JQd2dZninlCSnCtD8sA0wdzI tFsQhesibRE6On4t+egrTIeE7ef2lpQ7mhPb1BHtSaZBmD3TGpugLTPcUV0KDJaHuZrc W3j+srcgjlix5+V1YMBna5s2R0Q9Ht7oQ97vmy0P1hbgpkAblUV/NlO68EPN6yDoNgLm hV7B6PH8b0oWnmwMNdKlHvgMoVLk2E2/RbwjGMtLvJB28R3bdq4g6Y6F5XTA4O+TiehK XHgAK4K8MRU7NKK276OLsV4rQHb+QuHfRMCTNpI9b36T9pCt7iGxe6BG4q21XVnqcGvT j1pg==
  • List-archive: <https://archive.midrange.com/midrange-l/>
  • List-help: <mailto:midrange-l-request@lists.midrange.com?subject=help>
  • List-id: Midrange Systems Technical Discussion <midrange-l.lists.midrange.com>
  • List-post: <mailto:midrange-l@lists.midrange.com>
  • List-subscribe: <https://lists.midrange.com/mailman/listinfo/midrange-l>, <mailto:midrange-l-request@lists.midrange.com?subject=subscribe>
  • List-unsubscribe: <https://lists.midrange.com/mailman/options/midrange-l>, <mailto:midrange-l-request@lists.midrange.com?subject=unsubscribe>

I have no clue what I am really talking about here so please bear with me.
My end goal for this request is for a Windows server to connect to an IBM I
and issue the command and receive the results without any user intervention
via a "windows script".



I already have OpenSSH running on the i and I can log in with PuTTY.



Now my request.



Can anyone provide a sample program (or point me to one), preferably written
in RPGLE that can be run on the iSeries from a Windows 10 PuTTY session and
have it return data back to the PuTTY session? I would be OK if it just
returned "Hello World". In the real world, I will need to generate data and
return it to the caller but Hello World would get me started.



Just in case my request is not clear (because I don't know 100% what I am
asking for), here are the steps I think I need.

1. Start PuTTY on a Windows 10 machine
2. Connect to my IBM i
3. CALL HELLOWORLD on the IBM I <-- if you can provide the correct
syntax too, that would be great
4. See "Hello World" in my PuTTY window.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.