69 lines
4.6 KiB
HTML
69 lines
4.6 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="Display layout of LOB columns" />
|
||
|
<meta name="abstract" content="When a row of data from a table holding LOB columns is displayed using CL commands such as Display Physical File Member (DSPPFM), the LOB data stored in that row will not be displayed. Instead, the database shows a special value for the LOB columns." />
|
||
|
<meta name="description" content="When a row of data from a table holding LOB columns is displayed using CL commands such as Display Physical File Member (DSPPFM), the LOB data stored in that row will not be displayed. Instead, the database shows a special value for the LOB columns." />
|
||
|
<meta name="DC.subject" content="LOBs (Large Objects), display layout of columns" />
|
||
|
<meta name="keywords" content="LOBs (Large Objects), display layout of columns" />
|
||
|
<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="rbafydisplaylobcol" />
|
||
|
<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>Display layout of LOB columns</title>
|
||
|
</head>
|
||
|
<body id="rbafydisplaylobcol"><a name="rbafydisplaylobcol"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Display layout of LOB columns</h1>
|
||
|
<div><p>When a row of data from a table holding LOB columns is displayed
|
||
|
using CL commands such as Display Physical File Member (DSPPFM), the LOB
|
||
|
data stored in that row will not be displayed. Instead, the database shows
|
||
|
a special value for the LOB columns.</p>
|
||
|
<div class="section"><p>The layout of this special value is as follows:</p>
|
||
|
<ul><li>13 to 28 bytes of hexadecimal zeros.</li>
|
||
|
<li>16 bytes beginning with *POINTER and followed by blanks.</li>
|
||
|
</ul>
|
||
|
<p>The number of bytes in the first portion of the value is set to the
|
||
|
number needed to 16 byte boundary align the second part of the value.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>For example, say you have a table that holds three columns: ColumnOne
|
||
|
Char(10), ColumnTwo CLOB(40K), and ColumnThree BLOB(10M). If you were to
|
||
|
issue a DSPPFM of this table, each row of data looks as follows.</p>
|
||
|
<ul><li>For ColumnOne: 10 bytes filled with character data.</li>
|
||
|
<li>For ColumnTwo: 22 bytes filled with hexadecimal zeros and
|
||
|
16 bytes filled with '*POINTER '.</li>
|
||
|
<li>For ColumnThree: 16 bytes filled with hexadecimal zeros and 16 bytes
|
||
|
filled with '*POINTER '.</li>
|
||
|
</ul>
|
||
|
<p>The full set of commands that display LOB columns in this way is:</p>
|
||
|
<ul><li>Display Physical File Member (DSPPFM)</li>
|
||
|
<li>Copy File (CPYF) when the value *PRINT is specified for the TOFILE keyword</li>
|
||
|
<li>Display Journal (DSPJRN)</li>
|
||
|
<li>Retrieve Journal Entry (RTVJRNE)</li>
|
||
|
<li>Receive Journal Entry (RCVJRNE) when the values *TYPE1, *TYPE2, *TYPE3
|
||
|
and *TYPE4 are specified for the ENTFMT keyword.</li>
|
||
|
</ul>
|
||
|
</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>
|