76 lines
4.5 KiB
HTML
76 lines
4.5 KiB
HTML
<?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 xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" 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. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-09-06" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<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))' />
|
|
<title>Order of spooled files on an output queue</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="rzaluosfoq"></a>
|
|
<h4 id="rzaluosfoq">Order of spooled files on an output queue</h4>
|
|
<p>The order of spooled files on an output queue is mainly determined by the
|
|
status of the spooled file. A spooled file that is being processed by a writer
|
|
might have a status of printing (PRT status), writer (WTR status), pending
|
|
to be printed (PND status), or being sent (SND status). Spooled files with
|
|
a status of PRT, WTR, PND, or SND are placed at the top of the output queue.
|
|
A spooled file being processed by the writer might have a held (HLD) status
|
|
if a user has held the spooled file but the writer is not yet finished processing
|
|
the file. All other spooled files with a status of RDY are listed on the output
|
|
queue after the file being processed by a writer, followed by deferred spooled
|
|
files (DFR status), and then followed by spooled files with a status other
|
|
than RDY or DFR.</p>
|
|
<p>Each group of spooled files (RDY and non-RDY files) is further sorted by: </p>
|
|
<ol type="1">
|
|
<li>The output priority of the spooled file.</li>
|
|
<li>A date and time field (time stamp).</li>
|
|
<li>The SCHEDULE parameter value of the spooled file. Files with SCHEDULE(*JOBEND)
|
|
specified are grouped together and placed after other spooled files of the
|
|
same job that have SCHEDULE(*IMMED) or SCHEDULE(*FILEEND) specified.</li>
|
|
<li>The spool number of the spooled file.</li></ol>
|
|
<p>For output queues with SEQ(*JOBNBR) specified, the date and time field
|
|
is the date and time that the job that created the spooled file entered the
|
|
system. (A sequential job number and time of day value are also assigned to
|
|
the job when it enters the system.) That is how the spooled files are sorted
|
|
on the queue.</p>
|
|
<p>For first-in-first-out (*FIFO) output queues, the date and time change
|
|
to the current system date and time when: </p>
|
|
<ul>
|
|
<li>A spooled file is created by opening a device file.</li>
|
|
<li>The output priority of the job that created the spooled file is changed.</li>
|
|
<li>The status of the spooled file changes from non-RDY to RDY.
|
|
<a name="wq9"></a>
|
|
<div class="notetitle" id="wq9">Note:</div>
|
|
<div class="notebody">The date and time do not change when the reason the status changes from RDY
|
|
to WTR or from WTR to RDY is because the writer was canceled. Also, the date
|
|
and time do not change when the status changes from RDY to DFR, or from DFR
|
|
to RDY.</div></li>
|
|
<li>A spooled file is moved to another output queue that has SEQ(*FIFO) specified.</li></ul>
|
|
<p>Because of the automatic sorting of spooled files, different results occur
|
|
when SEQ(*JOBNBR) is specified for an output queue than when SEQ(*FIFO) is
|
|
specified. For example, when a spooled file is held and then immediately
|
|
released on an output queue with SEQ(*JOBNBR) specified, the spooled file
|
|
will end up where it started. However, if the same spooled file were held
|
|
and then immediately released on an output queue with SEQ(*FIFO) specified,
|
|
the spooled file would be placed at the end of the spooled files that have
|
|
the same priority and a status of RDY.</p>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|