64 lines
4.2 KiB
HTML
64 lines
4.2 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="Default collection name" />
|
|
<meta name="abstract" content="You can specify a default collection name to be used by an SQL program by supplying this name for the DFTRDBCOL parameter on the CRTSQLxxx command when you precompile the program." />
|
|
<meta name="description" content="You can specify a default collection name to be used by an SQL program by supplying this name for the DFTRDBCOL parameter on the CRTSQLxxx command when you precompile the program." />
|
|
<meta name="DC.subject" content="default collection name, naming convention" />
|
|
<meta name="keywords" content="default collection name, naming convention" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbal1naming.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbal1sqlpkg.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../cl/crtsqlpkg.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="rbal1defaultc" />
|
|
<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>Default collection name</title>
|
|
</head>
|
|
<body id="rbal1defaultc"><a name="rbal1defaultc"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Default collection name</h1>
|
|
<div><p>You can specify a default collection name to be used by an SQL
|
|
program by supplying this name for the DFTRDBCOL parameter on the CRTSQL<em>xxx</em> command
|
|
when you precompile the program.</p>
|
|
<div class="section"><p>The DFTRDBCOL parameter provides the program with
|
|
the collection name as the library for an unqualified file if the *SYS naming
|
|
convention is used, or as the collection for an unqualified table if the *SQL
|
|
naming convention is used. If you do not specify a default collection name
|
|
when you precompile the program, the rules for unqualified names apply for
|
|
each naming convention. The default relational database collection name only
|
|
applies to static SQL statements.</p>
|
|
</div>
|
|
<div class="section"><p>You can also use the DFTRDBCOL parameter on the <span class="cmdname">Create
|
|
Structured Query Language Package (CRTSQLPKG)</span> command to change
|
|
the default collection of a package. After an SQL program is compiled, you
|
|
can create a new SQL package to change the default collection. </p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal1naming.htm" title="SQL objects are created and maintained as iSeries server objects.">Naming of distributed relational database objects</a></div>
|
|
</div>
|
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
|
<div><a href="rbal1sqlpkg.htm" title="You can enter the Create SQL Package (CRTSQLPKG) command to create an SQL package from a compiled distributed relational database program. You can also use this command to replace an SQL package that was created previously.">Use the Create SQL Package (CRTSQLPKG) command</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../cl/crtsqlpkg.htm">Create Structured Query Language Package (CRTSQLPKG) command</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |