ibm-information-center/dist/eclipse/plugins/i5OS.ic.dbp_5.4.0.1/rbafofmtsltu.htm

60 lines
4.4 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="Control how records are added to a file with multiple formats" />
<meta name="abstract" content="To add a record to a multiple format logical file, you need to identify the member of the based-on physical file to which you want the record written." />
<meta name="description" content="To add a record to a multiple format logical file, you need to identify the member of the based-on physical file to which you want the record written." />
<meta name="DC.subject" content="multiple format logical file, adding records, DTAMBRS parameter" />
<meta name="keywords" content="multiple format logical file, adding records, DTAMBRS parameter" />
<meta name="DC.Relation" scheme="URI" content="rbafocrlff.htm" />
<meta name="DC.Relation" scheme="URI" content="rbafoformt.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="rbafofmtsltu" />
<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> Control how records are added to a file with multiple formats</title>
</head>
<body id="rbafofmtsltu"><a name="rbafofmtsltu"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1"> Control how records are added to a file with multiple formats</h1>
<div><p>To add a record to a multiple format logical file, you need to
identify the member of the based-on physical file to which you want the record
written.</p>
<p>If the application you are using does not allow you to specify a particular
member within a format, each of the formats in the logical file needs to be
associated with a single physical file member. If one or more of the based-on
physical files contain more than one member, you need to use
the DTAMBRS parameter, described in <a href="rbafologfm.htm#rbafologfm">Define logical file members</a>,
to associate a single member with each format. Finally, give each format in
the multiple format logical file a unique name. If the multiple format logical
file is defined in this way, then when you specify a format name on the add
operation, you target a particular physical file member into which the record
is added.</p>
<p>When you add records to a multiple-format logical file and your application
program uses a file name instead of a record format name, you need to write
a format selector program. </p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafocrlff.htm" title="A multiple format logical file lets you use related records from two or more physical files by referring to only one logical file. Each record format is always associated with one or more physical files. You can use the same physical file in more than one record format.">Create a logical file with more than one record format</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="rbafoformt.htm" title="If your application uses a file name instead of a record format name for records to be added to the database, and if the file used is a logical file with more than one record format, you need to write a format selector program to determine where a record should be placed in the database.">Identify which record format to add in a file with multiple formats</a></div>
</div>
</div>
</body>
</html>