Thanks everyone for the different suggestions.
Here is the complete scenario (my apologies for not mentioning this before):
System A will be running a job, which which will update 2 files. These 2
files are being MIMIXed to System B. Once the processing of job is
the MIMIX has also completed*, the job on System A should fire off a job on
I want to make sure that MIMIX has completed the updates as there is lot of
MIMIX activity going on between the 2 systems and there can be a lag.
I was thinking of creating a new 'control' file and write the required
SBMJOB command to a record in that file from the job in System A, once its
processing is complete. The control file would be MIMIXed *in same MIMIX
group* to System B (I was told that this would ensure that this record
would update on System B only after all records updated previously on
System A have been updated on System B). On System A, I would have a
*INSERT Trigger on the control file, and the Trigger processing program
would execute whatever command is in the record.
Do you think this will work or are there any obvious flaws? I am basing
this on the information about how MIMIX works for files in the same MIMIX
Group, of which I have no personal knowledge.
On Thu, Oct 1, 2015 at 1:09 PM, Richard Schoen <
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
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives