Previous topic |
Next topic |
Contents |
Glossary |
Contact z/OS |
PDF
Batch processing and JES: Scenario 2 z/OS concepts |
|
Suppose that you want to make a backup of one master file and then update the master file with records read in from another file (the update file). If so, you need a job with two steps:
In this scenario, what kind of functions are needed in the operating system to meet your requirements? Your JCL must have two steps, the first one indicating the resources for the backup program, and the second for the update program.
Figure 1 illustrates the resources needed for each step. Logically, the second step will not be executed if the first one fails for any reason. The second step will have a // DD SYSOUT statement to indicate the need for output spooling. The jobs are allowed to start only when there are enough resources available. In this way, the system is made more efficient: JES manages jobs before and after running the program; the base control program manages jobs during processing. |
Copyright IBM Corporation 1990, 2010
|