Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Job stream

From Wikipedia, the free encyclopedia
Definition of unit of work in a batch processing environment

In anon-interactive computer system, particularlyIBMmainframes, ajob stream,jobstream, or simplyjob is the sequence ofjob control language statements (JCL) and data (calledinstream data) that comprise a single "unit of work for an operating system".[1] The termjob traditionally means a one-off piece of work, and is contrasted with abatch (executing the same steps over many inputs), but non-interactive computation has come to be called "batch processing", and thus a unit of batch processing is often called ajob, or by the oxymoronic termbatch job; seejob for details. Performing a job consists ofexecuting one or moreprograms. Each program execution, called ajob step,jobstep, orstep, is usually related in some way to the others in the job. Steps in a job are executed sequentially, possibly depending on the results of previous steps, particularly in batch processing.

The term "job stream" is particularly associated with mainframes; in theIBMz/OS operating system, a job is initiated by a// JOB and terminated by the next// JOB or// statement. Each job step consists of one// EXEC statement indicating the program to be executed and usually multiple// DD statements defining thefiles and devices to be used.

Example

[edit]

A simple example of a job stream is a system to print payroll checks which might consist of the following steps, performed on a batch of inputs:

  1. Read a file of data containing employee id numbers and hours worked for the current pay period (batch of input data). Validate the data to check that the employee numbers are valid and that the hours worked are reasonable.
  2. Compute salary and deductions for the current pay period based on hours input and pay rate and deductions from the employee's master record. Update the employee master "year-to-date" figures and create a file of records containing information to be used in the following steps.
  3. Print payroll checks using the data created in the previous step.
  4. Update bank account balance to reflect check numbers and amounts written.

Each step depends on successful completion of the previous step. For example, if incorrect data is input to the first step the job might terminate without executing the subsequent steps to allow the payroll department to correct the data and rerun the edit. If there are no errors the job will run to completion with no manual intervention.

See also

[edit]

References

[edit]
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Job stream" – news ·newspapers ·books ·scholar ·JSTOR
(February 2016) (Learn how and when to remove this message)
  1. ^IBM Corporation."Glossary of z/OS terms and abbreviations - job". RetrievedFebruary 18, 2013.
Stub icon

Thismainframe computer-related article is astub. You can help Wikipedia byadding missing information.

Retrieved from "https://en.wikipedia.org/w/index.php?title=Job_stream&oldid=1000678500"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp