87 lines
5.1 KiB
HTML
87 lines
5.1 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="reference" />
|
||
|
<meta name="DC.Title" content="How do you interpret an SQLCODE and the associated tokens reported in a DBM SQL0969N error message?" />
|
||
|
<meta name="abstract" content="The client support used with DB2 Universal Database for Linux, UNIX and Windows returns message SQL0969N when reporting host SQLCODEs and tokens for which it has no equivalent code." />
|
||
|
<meta name="description" content="The client support used with DB2 Universal Database for Linux, UNIX and Windows returns message SQL0969N when reporting host SQLCODEs and tokens for which it has no equivalent code." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rbal1xplat.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../cl/dspmsgd.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="rbal1faqinterpsqlcode" />
|
||
|
<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>How do you interpret an SQLCODE and the associated tokens reported
|
||
|
in a DBM SQL0969N error message?</title>
|
||
|
</head>
|
||
|
<body id="rbal1faqinterpsqlcode"><a name="rbal1faqinterpsqlcode"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">How do you interpret an SQLCODE and the associated tokens reported
|
||
|
in a DBM SQL0969N error message?</h1>
|
||
|
<div><p>The client support used with <span>DB2
|
||
|
Universal Database™ for Linux<sup>®</sup>, UNIX<sup>®</sup> and Windows<sup>®</sup></span> returns message SQL0969N
|
||
|
when reporting host SQLCODEs and tokens for which it has no equivalent code.</p>
|
||
|
<div class="section"><p>Here is an example of message SQL0969N: </p>
|
||
|
<pre>SQL0969N There is no message text corresponding to SQL error
|
||
|
"-7008" in the Database Manager message file on this workstation.
|
||
|
The error was returned from module "QSQOPEN" with original
|
||
|
tokens "TABLE1 PRODLIB1 3".</pre>
|
||
|
</div>
|
||
|
<div class="section"><p>Use the <span class="cmdname">Display Message Description (DSPMSGD)</span> command
|
||
|
to interpret the code and tokens: </p>
|
||
|
<pre>DSPMSGD SQL7008 MSGF(QSQLMSG)</pre>
|
||
|
</div>
|
||
|
<div class="section"><p>Select option 1 (Display message text) and the server presents
|
||
|
the Display Formatted Message Text display. The three tokens in the message
|
||
|
are represented by &1, &2, and &3 in the display. The reason code
|
||
|
in the example message is 3, which points to Code 3 in the list at the bottom
|
||
|
of the display.</p>
|
||
|
<pre class="screen"><strong> Display Formatted Message Text</strong>
|
||
|
System: RCHASLAI
|
||
|
Message ID . . . . . . . . . : SQL7008
|
||
|
Message file . . . . . . . . : QSQLMSG
|
||
|
Library . . . . . . . . . : QSYS
|
||
|
|
||
|
Message . . . . : &1 in &2 not valid for operation.
|
||
|
Cause . . . . . : The reason code is &3. A list of reason codes follows:
|
||
|
-- Code 1 indicates that the table has no members.
|
||
|
-- Code 2 indicates that the table has been saved with storage free.
|
||
|
-- Code 3 indicates that the table is not journaled, the table is
|
||
|
journaled to a different journal than other tables being processed under
|
||
|
commitment control, or that you do not have authority to the journal.
|
||
|
-- Code 4 indicates that the table is in a production library but the user
|
||
|
is in debug mode with UPDPROD(*NO); therefore, production tables may not be
|
||
|
updated.
|
||
|
-- Code 5 indicates that a table, view, or index is being created into a
|
||
|
production library but the user is in debug mode with UPDPROD(*NO);
|
||
|
therefore, tables, views, or indexes may not be created.
|
||
|
<strong>More...</strong>
|
||
|
Press Enter to Continue.
|
||
|
|
||
|
F3=Exit F11=Display unformatted message text F12=Cancel
|
||
|
</pre>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1xplat.htm" title="This topic collection concentrates on describing iSeries support for distributed relational databases in a network of iSeries servers (a like environment).">User FAQs</a></div>
|
||
|
</div>
|
||
|
<div class="relref"><strong>Related reference</strong><br />
|
||
|
<div><a href="../cl/dspmsgd.htm">Display Message Description (DSPMSGD) command</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|