<?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="TEXT (Text) keyword in printer files" /> <meta name="abstract" content="Use this record- or field-level keyword to supply a text description (or comment) for the record format or field that is used for program documentation." /> <meta name="description" content="Use this record- or field-level keyword to supply a text description (or comment) for the record format or field that is used for program documentation." /> <meta name="DC.subject" content="TEXT (Text) keyword" /> <meta name="keywords" content="TEXT (Text) keyword" /> <meta name="DC.Relation" scheme="URI" content="rzakdmstprkey.htm" /> <meta name="copyright" content="(C) Copyright IBM Corporation 2001, 2006" /> <meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2001, 2006" /> <meta name="DC.Format" content="XHTML" /> <meta name="DC.Identifier" content="rzakdmstztext" /> <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>TEXT (Text) keyword in printer files</title> </head> <body id="rzakdmstztext"><a name="rzakdmstztext"><!-- --></a> <!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script> <h1 class="topictitle1">TEXT (Text) keyword in printer files</h1> <div><p>Use this record- or field-level keyword to supply a text description (or comment) for the record format or field that is used for program documentation.</p> <div class="section"><p>The format of the keyword is:</p> <pre>TEXT('description')</pre> <p>The text must be enclosed in single quotation marks. If the length of the text is greater than 50 positions, only the first 50 characters are used by the high-level language compiler.</p> <p>Option indicators are not valid for this keyword.</p> </div> <div class="section"><h4 class="sectiontitle">Example</h4><p>The following example shows how to specify the TEXT keyword at the record and field levels.</p> <pre>|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00010A R CUSMST TEXT('Customer Master Record' 00020A FLD1 3 0 TEXT('ORDER NUMBER FIELD') A</pre> </div> </div> <div> <div class="familylinks"> <div class="parentlink"><strong>Parent topic:</strong> <a href="rzakdmstprkey.htm" title="See the valid keyword entries for defining printer files in this topic.">Keyword entries for printer files (positions 45 through 80)</a></div> </div> </div> </body> </html>