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



If you're interested in playing with a little Java and some CL I did a recent session on building CL system commands with Java.

One of the sample Java/CL commands runs a remote command line on any system via JT400 and returns the results.

So you can either simply submit a remote command or wait until completion.

Example for a remote SBMJOB:
IBMISAMP2 CMDLINE('SBMJOB CMD(REMOTECMD) JOB(REMOTECMD)')
HOST('1.1.1.1')
USER('rmtuser')
PASS()
DLTSTDOUT(*NO)
PRTSTDOUT(*YES)

Example for a remote run command until completion:
IBMISAMP2 CMDLINE('REMOTECMDLINE')
HOST('1.1.1.1')
USER('rmtuser')
PASS()
DLTSTDOUT(*NO)
PRTSTDOUT(*YES)

I'm happy to send you the presentation info if interested.

Regards,

Richard Schoen | Director of Document Management Technologies, HelpSystems
T: + 1 952-486-6802
RJS Software Systems | A Division of HelpSystems
richard.schoen@xxxxxxxxxxxxxxx
www.rjssoftware.com
Visit me on: Twitter | LinkedIn
------------------------------
message: 5
date: Thu, 01 Oct 2015 09:49:37 -0600
from: CRPence <crpbottle@xxxxxxxxx>
subject: Re: Submitting job on a different system

On 30-Sep-2015 19:16 -0600, Vinay Gavankar wrote:

What are the different ways to submit a job from one iseries box to
another iseries box (running the same OS version).

I was looking at SBMRMTCMD, but the Help text says it is mostly used
for managing data base files on the remote system.

I just want to issue a SBMJOB command on remote system. I don't
expect any output of that command to come back to the originating
system




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.