58 lines
3.3 KiB
HTML
58 lines
3.3 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>Printer file return codes</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="rzaluprtfretcodes"></a>
|
|
<h3 id="rzaluprtfretcodes">Printer file return codes</h3>
|
|
<p>The major and minor return codes for printer files are set in the I/O feedback
|
|
area of the printer file. Return codes report the results of each operation.
|
|
The appropriate return code is available to the application program that
|
|
issued the operation. The program then checks the return code and acts appropriately.
|
|
Refer to your high-level language documentation for information about how
|
|
to access these return codes.</p>
|
|
<p>The return code is a 4-digit value: the first two digits contain the major
|
|
code, and the last 2 digits contain the minor code. With some return codes,
|
|
a message is also sent to the job log or the system operator message queue
|
|
(QSYSOPR). You can refer to the message for additional information. Message
|
|
IDs followed by an asterisk (*) can be received by applications while spooling
|
|
output.</p>
|
|
<a name="wq349"></a>
|
|
<div class="notetitle" id="wq349">Note:</div>
|
|
<div class="notebody">Return codes that refer to a condition on the printer are
|
|
available to the application program only when printing with SPOOL = *NO specified
|
|
in the printer file. When SPOOL = *YES has been specified, the printer writer
|
|
program is the program communicating with the printer, not your application
|
|
program.</div>
|
|
<p>See the following for a description of major codes and related minor return
|
|
codes:</p>
|
|
<ul>
|
|
<li><a href="rzalumaj00.htm#rzalumaj00">Major code 00 (00xx)</a></li>
|
|
<li><a href="rzalumaj80.htm#rzalumaj80">Major code 80 (80xx)</a></li>
|
|
<li><a href="rzalumaj81.htm#rzalumaj81">Major code 81 (81xx)</a></li>
|
|
<li><a href="rzalumaj82.htm#rzalumaj82">Major code 82 (82xx)</a></li>
|
|
<li><a href="rzalumaj83.htm#rzalumaj83">Major code 83 (83xx)</a></li></ul>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|