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

52 lines
3.3 KiB
HTML
Raw 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="Use device source files" />
<meta name="abstract" content="Tape and diskette files can be created as source files. When device files are used as source files, the record length must include the sequence number and date fields." />
<meta name="description" content="Tape and diskette files can be created as source files. When device files are used as source files, the record length must include the sequence number and date fields." />
<meta name="DC.subject" content="device source file, using, source file, device" />
<meta name="keywords" content="device source file, using, source file, device" />
<meta name="DC.Relation" scheme="URI" content="rbafosrcwrk.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="rbafosrcdev" />
<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>Use device source files</title>
</head>
<body id="rbafosrcdev"><a name="rbafosrcdev"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Use device source files</h1>
<div><p>Tape and diskette files can be created as source files. When device
files are used as source files, the record length must include the sequence
number and date fields. </p>
<p>Any maximum record length restrictions must consider these additional 12
characters. For example, the maximum record length for a tape record is 32 766.
If data is to be processed as source input, the actual tape data record has
a maximum length of 32 754 (which is 32 766 minus 12).</p>
<p>If you open source device files for input, the system adds the sequence
number and date fields, but there are zeros in the date fields.</p>
<p>If you open a device file for output and the file is defined as a source
file, the system deletes the sequence number and date before writing the data
to the device.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafosrcwrk.htm" title="These topics describe how to enter and maintain data using various methods.">Work with source files</a></div>
</div>
</div>
</body>
</html>