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)')
Example for a remote run command until completion:
I'm happy to send you the presentation info if interested.
Richard Schoen | Director of Document Management Technologies, HelpSystems
T: + 1 952-486-6802
RJS Software Systems | A Division of HelpSystems
Visit me on: Twitter | LinkedIn
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