30.06.2013 Views

File Management - IBM

File Management - IBM

File Management - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

spooled files, refer to the Work <strong>Management</strong> book. To control the storage used on<br />

your system see “Spooling library” on page 167.<br />

Command examples for additional spooling support<br />

Input spooling<br />

You can define some functions to provide additional spooling support. Example<br />

source and documentation for the commands, files, and programs for these<br />

functions are part of library QUSRTOOL, which is an optionally installed part of<br />

the OS/400 program.<br />

Input spooling takes the information from the input device, prepares the job for<br />

scheduling, and places an entry in a job queue. Using input spooling, you can<br />

usually shorten job run time, increase the number of jobs that can be run<br />

sequentially, and improve device throughput.<br />

The main elements of input spooling are:<br />

Job queue<br />

An ordered list of batch jobs submitted to the system for running and from<br />

which batch jobs are selected to run.<br />

Reader<br />

A function that takes jobs from an input device or a database file and<br />

places them on a job queue.<br />

When a batch job is read from an input source by a reader, the commands in the<br />

input stream are stored in the system as requests for the job, the inline data is<br />

spooled as inline data files, and an entry for the job is placed on a job queue. The<br />

job information remains stored in the system where it was placed by the reader<br />

until the job entry is selected from the job queue for processing by a subsystem.<br />

Figure 15 shows this relationship.<br />

Input Reader<br />

Job Queue<br />

Disk Storage<br />

(job input)<br />

Subsystem<br />

Processing<br />

Figure 15. Relationship of Input Spooling Elements<br />

RSLH145-0<br />

Chapter 5. Working with spooled files 159

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!