59 lines
3.8 KiB
HTML
59 lines
3.8 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="Journal entry layout of LOB columns" />
|
|
<meta name="abstract" content="These commands return a buffer that gives the user addressability to LOB data that had been journaled." />
|
|
<meta name="description" content="These commands return a buffer that gives the user addressability to LOB data that had been journaled." />
|
|
<meta name="DC.subject" content="LOBs (Large Objects), journal entry layout" />
|
|
<meta name="keywords" content="LOBs (Large Objects), journal entry layout" />
|
|
<meta name="DC.Relation" scheme="URI" content="rbafylobs.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="rbafylobjournal" />
|
|
<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>Journal entry layout of LOB columns</title>
|
|
</head>
|
|
<body id="rbafylobjournal"><a name="rbafylobjournal"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Journal entry layout of LOB columns</h1>
|
|
<div><p>These commands return a buffer that gives the user
|
|
addressability to LOB data that had been journaled.</p>
|
|
<div class="section"><ul><li>Receive Journal Entry (RCVJRNE) CL command, when the value *TYPEPTR is
|
|
specified for the ENTFMT keyword</li>
|
|
<li>Retrieve Journal Entries (QjoRetrieveJournalEntries) API</li>
|
|
</ul>
|
|
<p> The layout of the LOB columns in these entries is as follows:</p>
|
|
<ul><li>0 to 15 bytes of hex zeros</li>
|
|
<li>1 byte of system information set to '00'x</li>
|
|
<li>4 bytes holding the length of the LOB data addressed by the pointer, below</li>
|
|
<li>8 bytes of hex zeros</li>
|
|
<li>16 bytes holding a pointer to the LOB data stored in the Journal Entry.</li>
|
|
</ul>
|
|
<p>The first part of this layout is intended to 16 byte boundary align
|
|
the pointer to the LOB data. The number of bytes in this area depends on
|
|
the length of the columns that proceed the LOB column. Refer to the section
|
|
above on the Display Layout of LOB Columns for an example of how the length
|
|
of this first part is calculated.</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbafylobs.htm" title="The VARCHAR, VARGRAPHIC, and VARBINARY data types have a limit of 32 KB (where KB equals 1024 bytes) of storage. While this may be sufficient for small to medium-size text data, applications often need to store large text documents. They might also need to store a wide variety of additional data types such as audio, video, drawings, mixed text and graphics, and images. There are three data types to store these data objects as strings of up to 2 GB (where GB equals 1 073 741 824 bytes).">Use large objects (LOBs)</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |