67 lines
5.0 KiB
HTML
67 lines
5.0 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 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="Monitor database file errors in a program" />
|
||
|
<meta name="abstract" content="When your database applications perform actions on your database files, you should monitor messages about file errors that the program detected so that you can take the proper actions to prevent the errors." />
|
||
|
<meta name="description" content="When your database applications perform actions on your database files, you should monitor messages about file errors that the program detected so that you can take the proper actions to prevent the errors." />
|
||
|
<meta name="DC.subject" content="database file, handling errors in a program, program, handling database file errors, correcting errors, displaying, errors, error, database file, handling in programs, correcting" />
|
||
|
<meta name="keywords" content="database file, handling errors in a program, program, handling database file errors, correcting errors, displaying, errors, error, database file, handling in programs, correcting" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafoprocess.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafosyshnderr.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafoefferrmsg.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbafodtrmsgmon.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rbafohedfp" />
|
||
|
<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>Monitor database file errors in a program</title>
|
||
|
</head>
|
||
|
<body id="rbafohedfp"><a name="rbafohedfp"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Monitor database file errors in a program</h1>
|
||
|
<div><p>When your database applications perform actions on
|
||
|
your database files, you should monitor messages about file errors that the
|
||
|
program detected so that you can take the proper actions to prevent the errors.</p>
|
||
|
<p>Each high-level language (HLL) provides its own procedure for monitoring
|
||
|
these messages, and you should see the documentation for the HLL you are using
|
||
|
to implement error message monitoring.</p>
|
||
|
<div class="p">One or more of the following events occur when error conditions are detected
|
||
|
during processing of a database file: <ul><li>Messages can be sent to the program message queue for the program processing
|
||
|
the file.</li>
|
||
|
<li>An inquiry message can be sent to the system operator message queue.</li>
|
||
|
<li>File errors and diagnostic information can appear to your program as return
|
||
|
codes and status information in the file feedback area.</li>
|
||
|
</ul>
|
||
|
For example, the <span class="keyword">COBOL</span> language
|
||
|
sets a return code in the file status field if it is defined in the program.</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rbafosyshnderr.htm">System handling of error messages</a></strong><br />
|
||
|
If you do not monitor for messages, the system handles the error.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rbafoefferrmsg.htm">Effect of error messages on file positioning</a></strong><br />
|
||
|
If a message is sent to your program while your program is processing a database file member, the position in the file is not lost.</li>
|
||
|
<li class="ulchildlink"><strong><a href="rbafodtrmsgmon.htm">Determine which messages you want to monitor</a></strong><br />
|
||
|
If your programming language allows you to monitor error messages, you can choose which messages you want to monitor. Here is a small sample of the error messages you can monitor.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafoprocess.htm" title="These topics discuss how to make your database files process more efficiently on the i5/OS operating system, how to open, manipulate, and close database files, and how to monitor and manage error messages related to your database files.">Process database files</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|