Will RUNRMTCMD hold the host session until the program execution completes in the remote machine?

40 pts.
Tags:
CLP
iSeries
iSeries programming commands
Remote iSeries partition
Run Remote Command
RUNRMTCMD
Hi, When executing RUNRMTCMD to run a long runnibg program in a remote iSeries partition, will the session on the host machine be held until the long running program completes in the remote partition? Any chance that a 'fire and forget' kind of effect can be achieved? i.e. I would like to have control back as soon as possible. Thanks Regard Fred

Answer Wiki

Thanks. We'll let you know when a new response is added.

Chandlerbing818 -

> Any chance that a ‘fire and forget’ kind of effect can be achieved? i.e.
> I would like to have control back as soon as possible.

Use the Submit Job (SBMJOB) command.

It is a very complex command, so just the SBMJOB and the procedure to call is not a real option in my opinion.
This command places a job in a queue (a list of procedures to be run in sequence). There are many options that relate to the job environment.

? SBMJOB will give you an idea of the options available.

MIS

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • mcl
    Not sure how complex it can be if you are running it from a command line. Unless you are running commands that are interactive or just won't run in batch a batch job may be the way to go. If it is a series of commands, you could always put it all in a CL and submit that. Depending on your system, you might find it runs a lot quicker as a batch job. Regards Mike
    2,740 pointsBadges:
    report
  • Chandlerbing818
    MIS, SBMJOB is the answer to my problem. Thanks. We are running RUNRMTCMD in the batch job and it will take another half an hour for the batch run to run waiting for RUNRNTCMD to complete. SBMJOB will save the half an hour.
    40 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following