World Library  
Flag as Inappropriate
Email this Article

Job (software)

Article Id: WHEBN0006478027
Reproduction Date:

Title: Job (software)  
Author: World Heritage Encyclopedia
Language: English
Subject: CDC 6000 series, GLite
Collection:
Publisher: World Heritage Encyclopedia
Publication
Date:
 

Job (software)

In a batch processing computer system, a job stream, jobstream, or simply job is the sequence of job control language statements (JCL) and data (called instream data) that comprise a single "unit of work for an operating system".[1] A job consists of the execution of one or more programs. Each program execution, called a job step, jobstep, or step, 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.

In the IBM z/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 the files and devices to be used.

Example

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

  • Read a file of data containing employee id numbers and hours worked for the current pay period. Validate the data to check that the employee numbers are valid and that the hours worked are reasonable.
  • 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.
  • Print payroll checks using the data created in the previous step.
  • 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.

References


This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and USA.gov, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for USA.gov and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
 
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
 
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.
 


Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.