ibm-information-center/dist/eclipse/plugins/i5OS.ic.apis_5.4.0.1/edit1.htm

76 lines
3.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Copyright" content="Copyright (c) 2006 by IBM Corporation">
<title>Edit Function APIs</title>
<!-- Begin Header Records ============================================ -->
<!-- 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. -->
<!-- Change History: -->
<!-- YYMMDD USERID Change description -->
<!-- Intro file restructured for V5R2 -->
<!-- 031111 JETAYLOR replaced API and/or Exit listings with -->
<!-- pagegenerator output from javascript array -->
<!--End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<h2>Edit Function APIs</h2>
<p>The Edit Function APIs create and use edit masks.</p>
<p>An <strong>edit mask</strong> is a byte string that tells the edit machine
instruction or the Edit (QECEDT) API how to format a numeric value into a
readable character string. An edit mask can format a numeric value so that
languages that cannot use machine instructions directly can take advantage of
this function. The edit mask is defined by the Edit Code (EDTCDE) and Edit Word
(EDTWRD) keywords in DDS.</p>
<p>An <strong>edit code</strong> is a standard description of how a number
should be formatted. There are many standard edit codes defined by the system.
Users can define several edit codes the way they want with the use of the
Create Edit Description (CRTEDTD) command.</p>
<p>An <strong>edit word</strong> is a user-defined description of how a number
should be formatted. An edit word usually is used when one of the standard edit
codes or user-defined edit codes is not sufficient for a particular
situation.</p>
<p>For more information on these terms, see the <a href="../rzahg/rzahgdds.htm">DDS</a> topic</p>
<p>The Edit Function APIs are:</p>
<!-- ***** NOTE ***** Do not manually update text or links in this section. -->
<!-- Updates made in this section *will* be overlaid by automated tools -->
<!-- Notify User Technologies of needed updates to be made in XML for API finder.-->
<!--***************API BEGIN PASTE***************-->
<ul>
<li><A HREF="QECCVTEC.htm">Convert Edit Code</A> (QECCVTEC) translates an edit code specification into an edit mask, which is a byte string used to format a numeric value into a readable character string.</li>
<li><A HREF="QECCVTEW.htm">Convert Edit Word</A> (QECCVTEW) translates an edit word specification into an edit mask. This is useful when one of the standard or user-defined edit codes does not provide the editing required.</li>
<li><A HREF="QECEDT.htm">Edit</A> (QECEDT) uses an edit mask to transform a numeric from its internal format to a character form suitable for displaying.</li>
</ul>
<!--***************API END PASTE***************-->
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="#Top_Of_Page">Top</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>