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

83 lines
5.7 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?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="Create source files without DDS" />
<meta name="abstract" content="If many of the parameters of the Create Source Physical File (CRTSRCPF) command default to values that you usually want for a source file, you can create the source file without data description specifications (DDS)." />
<meta name="description" content="If many of the parameters of the Create Source Physical File (CRTSRCPF) command default to values that you usually want for a source file, you can create the source file without data description specifications (DDS)." />
<meta name="DC.subject" content="source file, creating, without DDS" />
<meta name="keywords" content="source file, creating, without DDS" />
<meta name="DC.Relation" scheme="URI" content="rbafocrtsrcpf.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="rbafosrclen" />
<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 source files without DDS</title>
</head>
<body id="rbafosrclen"><a name="rbafosrclen"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Create source files without DDS</h1>
<div><p>If many of the parameters of the Create Source Physical File (CRTSRCPF)
command default to values that you usually want for a source file, you can
create the source file without data description specifications (DDS).</p>
<p>When you create a source physical file without using DDS, but by specifying
the record length (RCDLEN parameter), the source created contains three fields: <em>SRCSEQ</em>, <em>SRCDAT</em>,
and <em>SRCDTA</em> (The record length must include 12 characters for sequence
number and date-of-last-change fields so that the length of the data portion
of the record equals the record length minus 12.) The data portion of the
record can be defined to contain more than one field (each of which must be
character or zoned decimal). If you want to define the data portion of the
record as containing more than one field, you must define the fields using
DDS.</p>
<p>A record format consisting of the following three fields is automatically
used for a source physical file created using the CRTSRCPF command:</p>
<table cellpadding="4" cellspacing="0" border="1" class="tableborder"><tr><td>
<table cellpadding="4" cellspacing="0" summary="" width="100%" border="0"><thead align="left"><tr><th align="left" valign="bottom" width="14.898989898989898%" id="d0e40">Field</th>
<th align="left" valign="bottom" width="25%" id="d0e42">Name</th>
<th align="left" valign="bottom" width="29.797979797979796%" id="d0e44">Data type and length</th>
<th align="left" valign="bottom" width="30.303030303030305%" id="d0e46">Description</th>
</tr>
</thead>
<tbody><tr><td align="left" valign="top" width="14.898989898989898%" headers="d0e40 ">1</td>
<td align="left" valign="top" width="25%" headers="d0e42 ">SRCSEQ</td>
<td align="left" valign="top" width="29.797979797979796%" headers="d0e44 ">Zoned decimal, 6 digits, 2 decimal positions</td>
<td align="left" valign="top" width="30.303030303030305%" headers="d0e46 ">Sequence number for record</td>
</tr>
<tr><td align="left" valign="top" width="14.898989898989898%" headers="d0e40 ">2</td>
<td align="left" valign="top" width="25%" headers="d0e42 ">SRCDAT</td>
<td align="left" valign="top" width="29.797979797979796%" headers="d0e44 ">Zoned decimal, 6 digits, no decimal positions</td>
<td align="left" valign="top" width="30.303030303030305%" headers="d0e46 ">Date of last update of record</td>
</tr>
<tr><td align="left" valign="top" width="14.898989898989898%" headers="d0e40 ">3</td>
<td align="left" valign="top" width="25%" headers="d0e42 ">SRCDTA</td>
<td align="left" valign="top" width="29.797979797979796%" headers="d0e44 ">Character, any length</td>
<td align="left" valign="top" width="30.303030303030305%" headers="d0e46 ">Data portion of the record (text)</td>
</tr>
</tbody>
</table>
</td></tr></table>
<div class="note"><span class="notetitle">Note:</span> For all IBM-supplied database source files, the length of the data portion
is 80 bytes. For IBM-supplied device source files, the length of the data
portion is the maximum record length for the associated device.</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafocrtsrcpf.htm" title="This example shows how to create a source file using the Create Source Physical File (CRTSRCPF) command and using the command defaults.">Create a source file using the Create Source Physical File (CRTSRCPF) command</a></div>
</div>
</div>
</body>
</html>