212 lines
5.7 KiB
HTML
212 lines
5.7 KiB
HTML
|
<!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>Convert 64-Bit Integer to Character String (CEE4JNTS) API</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 -->
|
||
|
<!-- ILE5A SCRIPT A converted by B2H R4.1 (346) (CMS) by NLJONES at -->
|
||
|
<!-- RCHVMX on 25 Feb 1999 at 15:07:42 -->
|
||
|
<!-- Edited by Kersten Oct 2001 -->
|
||
|
<!-- End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<!--Java sync-link-->
|
||
|
<script type="text/javascript" language="Javascript" src="../rzahg/synch.js">
|
||
|
</script>
|
||
|
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
|
||
|
<h2>Convert 64-Bit Integer to Character String (CEE4JNTS) API</h2>
|
||
|
|
||
|
<div class="box" style="width: 65%;">
|
||
|
<br>
|
||
|
Required Parameter Group:<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
<table width="100%">
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP" width="10%">1</td>
|
||
|
<td align="LEFT" valign="TOP" width="50%">integer</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">Input</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">INT8</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">2</td>
|
||
|
<td align="LEFT" valign="TOP">sign</td>
|
||
|
<td align="LEFT" valign="TOP">Input</td>
|
||
|
<td align="LEFT" valign="TOP">INT4</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">3</td>
|
||
|
<td align="LEFT" valign="TOP">length</td>
|
||
|
<td align="LEFT" valign="TOP">I/O</td>
|
||
|
<td align="LEFT" valign="TOP">INT4</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP">4</td>
|
||
|
<td align="LEFT" valign="TOP">output_string</td>
|
||
|
<td align="LEFT" valign="TOP">Output</td>
|
||
|
<td align="LEFT" valign="TOP">VSTRING</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
Omissible Parameter:<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
<table width="100%">
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="TOP" width="10%">5</td>
|
||
|
<td align="LEFT" valign="TOP" width="50%">fc</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">Output</td>
|
||
|
<td align="LEFT" valign="TOP" width="20%">FEEDBACK</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
Service Program Name: QLEMF<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Default Public Authority: *USE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: Yes<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The Convert 64-Bit Integer to Character String (CEE4JNTS) API converts a
|
||
|
64-bit binary integer to its character string equivalent.</p>
|
||
|
|
||
|
<!-- Please NOTE: DO NOT DELETE THIS SECTION if this API has no authorities and locks. -->
|
||
|
<!-- Instead, use the commented out coding below to indicate NONE. -->
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<!-- Use this if there are no authorities and locks. -->
|
||
|
<p>None.</p>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<h3>Required Parameter Group</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>integer (input)</strong></dt>
|
||
|
|
||
|
<dd>A 64-bit integer that needs to be formatted.<br>
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>sign (input)</strong></dt>
|
||
|
|
||
|
<dd>A 32-bit binary integer of one of the following values.
|
||
|
|
||
|
<table cellpadding="5">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><em>0</em></td>
|
||
|
<td align="left" valign="top">Parameter 1 is an unsigned 64-bit integer</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top"><em>1</em></td>
|
||
|
<td align="left" valign="top">Parameter 1 is a signed 64-bit integer</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>length (I/O)</strong></dt>
|
||
|
|
||
|
<dd>A 32-bit binary integer representing the length of the output string
|
||
|
provided.
|
||
|
|
||
|
<p>On return, this parameter will contain the number of bytes used to represent
|
||
|
the string.</p>
|
||
|
</dd>
|
||
|
|
||
|
<dt><strong>output_string (output)</strong></dt>
|
||
|
|
||
|
<dd>A character string that is the result of formatting the 64-bit integer. The
|
||
|
string is left-justified. The condition CEE3470 will be signaled to the
|
||
|
condition manager if output is truncated.
|
||
|
|
||
|
<p>The output_string will not contain the plus character (+) if the integer
|
||
|
provided is unsigned.</p>
|
||
|
|
||
|
<p>The output_string length should contain enough space to store the resulting
|
||
|
string. The maximum storage needed is 20 bytes based on a maximum value of
|
||
|
18446744073709551615 and a minimum value of -9223372036854775808.</p>
|
||
|
</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
<h3>Omissible Parameter</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>fc (output)</strong></dt>
|
||
|
|
||
|
<dd>A 12-byte feedback code passed by reference. If specified as an argument,
|
||
|
feedback information (a condition token) is returned to the calling procedure.
|
||
|
If not specified, and the requested operation was not successfully completed,
|
||
|
the condition is signaled to the condition manager.</dd>
|
||
|
</dl>
|
||
|
|
||
|
<br>
|
||
|
<h3>Feedback Codes and Conditions</h3>
|
||
|
|
||
|
<table cellpadding="3">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<td align="LEFT" valign="TOP">CEE0000</td>
|
||
|
<td align="LEFT" valign="TOP">The API completed successfully</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="LEFT" valign="TOP">Severity: 00</td>
|
||
|
<td align="LEFT" valign="TOP"> </td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td>CEE3470</td>
|
||
|
<td align="LEFT" valign="TOP">The resulting string is truncated</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="LEFT" valign="TOP">Severity: 30</td>
|
||
|
<td align="LEFT" valign="TOP"> </td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<hr>
|
||
|
API introduced: V2R3
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
|
||
|
"ile1a1.htm">ILE CEE APIs</a> | <a href="aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|
||
|
|