Submitting batch jobs: Difference between revisions

From Try-AS/400
Jump to navigation Jump to search
(IBM Link)
(Extended)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{FIXME|Search for and add information about the JCL Clone OS/400 is using.}}
{{FIXME|Search for and add information about the JCL Clone OS/400 is using.}}
OS/400 shares some concepts with Mainframe operating systems, such as MVS (now z/OS). One of this possibilities is to '''submit Batch jobs to a remote machine'''<ref>There's also a local-only equivalent called <code>SBMDBJOB</code>.</ref><ref><code>SBMDBJOB</code> is a somewhat extended version of the stock <code>SBMJOB</code>.</ref>.
OS/400 shares some concepts with Mainframe operating systems, such as MVS (now z/OS). One of this possibilities is to '''submit Batch jobs to a remote machine''' with the <code>SBMNETJOB</code>command.<ref>There's also a local-only equivalent called <code>SBMDBJOB</code>.</ref><ref><code>SBMDBJOB</code> is a somewhat extended version of the stock <code>SBMJOB</code>.</ref>


== Preparation ==
== Preparation ==
Line 14: Line 14:
Finally, provide entries to the ''Network Job Entry Table'', what to do with Remote Jobs coming in.
Finally, provide entries to the ''Network Job Entry Table'', what to do with Remote Jobs coming in.
  WRKNETJOBE
  WRKNETJOBE
Jobs are executed with the authority of the default user in the job description used in the BCHJOB line. If you want your jobs to be executed with your rights, you need to duplicate the batch job description, and change the default username to your user profile.<ref>Interestingly, it's not allowed to use *RQD as parameter, when it would help the most.</ref>


== Weblinks ==
== Weblinks ==
* [https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/cl/bchjob.htm BCHJOB (Batch Job)] description
* [https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_72/cl/bchjob.htm BCHJOB (Batch Job)] description, IBM
* [https://www.itjungle.com/2012/03/07/fhg030712-story02/ Interpreted CL Members], ITJungle


== Footnotes ==
== Footnotes ==

Latest revision as of 18:17, 14 April 2020

Qsicon Fixme.png This article isn't finished yet or needs to be revised. Please keep in mind that thus it may be incomplete.

Reason: Search for and add information about the JCL Clone OS/400 is using.

OS/400 shares some concepts with Mainframe operating systems, such as MVS (now z/OS). One of this possibilities is to submit Batch jobs to a remote machine with the SBMNETJOBcommand.[1][2]

Preparation

For the facility to work, first configure SNA Distribution Services.

Next, decide what the receiving machine should do when there are remote jobs being submitted:

  • Reject incoming requests,
  • File into the user's network file storage[3] (default),
  • Search the network job entry table what to do.
CHGNETA JOBACN(*REJECT|*FILE|*SEARCH)

Finally, provide entries to the Network Job Entry Table, what to do with Remote Jobs coming in.

WRKNETJOBE

Jobs are executed with the authority of the default user in the job description used in the BCHJOB line. If you want your jobs to be executed with your rights, you need to duplicate the batch job description, and change the default username to your user profile.[4]

Weblinks

Footnotes

  1. There's also a local-only equivalent called SBMDBJOB.
  2. SBMDBJOB is a somewhat extended version of the stock SBMJOB.
  3. To be seen in WRKNETF.
  4. Interestingly, it's not allowed to use *RQD as parameter, when it would help the most.