ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzaks_5.4.0.1/rzakswriter.htm

78 lines
7.3 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="concept" />
<meta name="DC.Title" content="Spooling writers" />
<meta name="abstract" content="A writer is an i5/OS program that takes spooled files from an output queue and produces them on an output device. The spooled files that have been placed on a particular output queue will remain stored in the server until a writer is started to the output queue." />
<meta name="description" content="A writer is an i5/OS program that takes spooled files from an output queue and produces them on an output device. The spooled files that have been placed on a particular output queue will remain stored in the server until a writer is started to the output queue." />
<meta name="DC.Relation" scheme="URI" content="rzaksspoolfileabout.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksoutputsp.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksoutputq.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksoutputq2.htm" />
<meta name="DC.Relation" scheme="URI" content="rzakswriter2.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksinputsp.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksinputsp2.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksinldf.htm" />
<meta name="DC.Relation" scheme="URI" content="rzaksidfoc.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2004-2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rzakswriter" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Spooling writers</title>
</head>
<body id="rzakswriter"><a name="rzakswriter"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Spooling writers</h1>
<div><p>A writer is an i5/OS™ program that takes spooled files from an output
queue and produces them on an output device. The spooled files that have
been placed on a particular output queue will remain stored in the server
until a writer is started to the output queue.</p>
<p>The writer takes spooled files one at a time from the output queue, based
on their priority. The writer processes a spooled file only if its entry
on the output queue indicates that it has a ready (RDY) status. You can display
the status of a particular spooled file using the Work with Output Queue (<span class="cmdname">WRKOUTQ</span>)
command.</p>
<p>If the spooled file has a ready status, the writer takes the entry from
the output queue and prints the specified job or file separators or both,
followed by the output data in the file. If the spooled file does not have
a ready status, the writer leaves the entry on the output queue and goes on
to the next entry. In most cases the writer will continue to process spooled
files (preceded by job and file separators) until all files with a ready status
have been taken from the output queue.</p>
<p>The <span class="parmname">AUTOEND</span> parameter on the start writer commands
determines whether the writer continues to wait for new spooled files to become
available to be written, end after processing one file, or end after all spooled
files with ready status have been taken from the output queue.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzaksspoolfileabout.htm" title="Spooling is a system function that saves data for later processing or printing. This data is stored in a spooled file. Spooled files work in a similar manner to tape files or other device files. Spooled files allow you to manage your data targeted for externally attached devices such as a printer.">Spooled files</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rzaksoutputsp.htm" title="Output spooling can be used for both printer and diskette devices. Output spooling sends job output to disk storage instead of sending it directly to a printer or diskette output device. Output spooling allows the job that produces the output to continue processing without consideration for the speed or availability of output devices.">Output spooling</a></div>
<div><a href="rzaksoutputq.htm" title="Batch and interactive job processing can result in spooled output records that are to be processed on an output device, such as a printer or diskette drive. These output records are stored in spooled files until they can be processed. There can be many spooled files for a single job.">Output queues and spooled files</a></div>
<div><a href="rzaksoutputq2.htm" title="The server is shipped with the defaults on commands to use the default output queue for the server printer as the default output queue for all spooled output. The server printer is defined by the QPRTDEV server value.">Default server output queues</a></div>
<div><a href="rzakswriter2.htm" title="There are many commands that you can use to control spooling writers.">Summary of spooling writer commands</a></div>
<div><a href="rzaksinputsp.htm" title="Input spooling takes the information from the input device, prepares the job for scheduling, and places an entry in a job queue. Using input spooling, you can typically shorten job run time, increase the number of jobs that can be run sequentially, and improve device throughput.">Input spooling</a></div>
<div><a href="rzaksinputsp2.htm" title="The following commands may be used when submitting jobs to the server. The start reader commands may be used for spooling job input; the submit job commands do not use spooling. For detailed descriptions of these commands, see the CL topic in the iSeries Information Center.">Summary of job input commands</a></div>
<div><a href="rzaksidfoc.htm" title="The following considerations apply to opening inline data files:">Open considerations for inline data files</a></div>
</div>
<div class="reltasks"><strong>Related tasks</strong><br />
<div><a href="rzaksinldf.htm" title="An inline data file is a data file that is included as part of a batch job when the job is read by a reader or a submit jobs command. You use SBMDBJOB or STRDBRDR to queue up a CL batch stream (stream of CL commands to be executed or run). That CL batch stream can include data to be placed into &#34;temporary&#34; files (inline files). When the job ends, the inline files are deleted.">Use an inline data file</a></div>
</div>
</div>
</body>
</html>