82 lines
5.1 KiB
HTML
82 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="Create a package on a non-DB2 UDB for iSeries" />
|
|
<meta name="abstract" content="When you create a program and SQL package for a non-DB2 UDB for iSeries, and try to use SQL statements that are unique to that relational database, the CRTSQLxxx GENLVL parameter should be set to 30." />
|
|
<meta name="description" content="When you create a program and SQL package for a non-DB2 UDB for iSeries, and try to use SQL statements that are unique to that relational database, the CRTSQLxxx GENLVL parameter should be set to 30." />
|
|
<meta name="DC.subject" content="package, creating, errors during, creating on a non-, UDB for, DB2, iSeries, errors during, unsupported precompiler options, required precompiler options for DB2 Common Server, considerations for packages, precompiler command, CRTSQLxxx" />
|
|
<meta name="keywords" content="package, creating, errors during, creating on a non-, UDB for, DB2, iSeries, errors during, unsupported precompiler options, required precompiler options for DB2 Common Server, considerations for packages, precompiler command, CRTSQLxxx" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafysqlpack2.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="rbafypackconsider2" />
|
|
<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>Create a package on a non-DB2 UDB for iSeries</title>
|
|
</head>
|
|
<body id="rbafypackconsider2"><a name="rbafypackconsider2"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Create a package on a non-<span class="keyword">DB2 UDB for iSeries</span></h1>
|
|
<div><p>When you create a program and SQL package for a non-<span class="keyword">DB2<sup>®</sup> UDB for iSeries™</span>,
|
|
and try to use SQL statements that are unique to that relational database,
|
|
the CRTSQLxxx GENLVL parameter should be set to 30.</p>
|
|
<div class="section"><p>The program will be created unless a message with a severity level
|
|
of greater than 30 is issued. If a message is issued with a severity level
|
|
of greater than 30, the statement is probably not valid for any relational
|
|
database. For example, undefined or unusable host variables or constants that
|
|
are not valid generate a message severity greater than 30.</p>
|
|
</div>
|
|
<div class="section"><p>The precompiler listing should be checked for unexpected messages
|
|
when running with a GENLVL greater than 10. When you are creating a package
|
|
for a DB2
|
|
Universal Database™, you must set the GENLVL parameter to a value less
|
|
than 20. </p>
|
|
</div>
|
|
<div class="section"><p>If the RDB parameter specifies a system that is not a <span class="keyword">DB2 UDB for iSeries</span> system, then the following
|
|
options should not be used on the CRTSQLxxx command:</p>
|
|
<ul><li>COMMIT(*NONE)</li>
|
|
<li>OPTION(*SYS)</li>
|
|
<li>DATFMT(*MDY)</li>
|
|
<li>DATFMT(*DMY)</li>
|
|
<li>DATFMT(*JUL)</li>
|
|
<li>DATFMT(*YMD)</li>
|
|
<li>DATFMT(*JOB)</li>
|
|
<li>DYNUSRPRF(*OWNER)</li>
|
|
<li>TIMFMT(*HMS) if TIMSEP(*BLANK) or TIMSEP(',') is specified</li>
|
|
<li>SRTSEQ(*JOBRUN)</li>
|
|
<li>SRTSEQ(*LANGIDUNQ)</li>
|
|
<li>SRTSEQ(*LANGIDSHR)</li>
|
|
<li>SRTSEQ(library-name/table-name)</li>
|
|
</ul>
|
|
</div>
|
|
<div class="section"> <div class="note"><span class="notetitle">Note:</span> When connecting to a DB2 Universal Database™ server,
|
|
the following additional rules apply:</div>
|
|
</div>
|
|
<div class="section"> <ul><li>The specified date and time formats must be the same format</li>
|
|
<li>A value of *BLANK must be used for the TEXT parameter</li>
|
|
<li>Default schemas (DFTRDBCOL) are not supported</li>
|
|
<li>The CCSID of the source program from which the package is being created
|
|
must not be 65535; if 65535 is used, an empty package is created.</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafysqlpack2.htm" title="There are many considerations to think about when you are creating an SQL package.">Considerations for creating an SQL package</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |