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

600 lines
13 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>Return Default Date and Time Strings for Country or Region (CEEFMDT) 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 -->
<!-- ILE4A SCRIPT A converted by B2H R4.1 (346) (CMS) by NLJONES at -->
<!-- RCHVMX on 25 Feb 1999 at 10:53:17 -->
<!--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>Return Default Date and Time Strings for Country or Region (CEEFMDT) API</h2>
<div class="box" style="width: 60%;">
<br>
&nbsp;&nbsp;Omissible Parameter:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">1</td>
<td align="left" valign="top" width="40%">country/region_code</td>
<td align="left" valign="top" width="25%">Input</td>
<td align="left" valign="top" width="25%">CHAR2</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Required Parameter:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">2</td>
<td align="left" valign="top" width="40%">datetime_str</td>
<td align="left" valign="top" width="25%">Output</td>
<td align="left" valign="top" width="25%">VSTRING</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Omissible Parameter:<br>
<!-- iddvc RMBR -->
<br>
<table width="100%">
<tr>
<td align="center" valign="top" width="10%">3</td>
<td align="left" valign="top" width="40%">fc</td>
<td align="left" valign="top" width="25%">Output</td>
<td align="left" valign="top" width="25%">FEEDBACK</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Service Program Name: QLEAWI<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Default Public Authority: *USE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The Return Default Date and Time String for Country or Region (CEEFMDT) API returns
the default date and time picture strings for the country or region specified in the
country/region_code parameter.</p>
<br>
<h3>Omissible Parameter</h3>
<dl>
<dt><strong>country/region_code (input)</strong></dt>
<dd>The 2-character string that represents the country or region code. See <a href=
"#TBLCNTRYID">Country/Region Codes</a> for values. If this value is blank, the default
country or region code is used.</dd>
</dl>
<!-- 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</h3>
<dl>
<dt><strong>datetime_str (output by descriptor)</strong></dt>
<dd>The default date and time picture string for the country or region code is placed
into this character string variable.</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, 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">&nbsp;</td>
</tr>
<tr>
<td align="left" valign="top">CEE3470</td>
<td align="left" valign="top">The resulting string is truncated</td>
</tr>
<tr>
<td align="left" valign="top">Severity: 20</td>
<td align="left" valign="top">&nbsp;</td>
</tr>
<tr>
<td align="left" valign="top">CEE3471</td>
<td align="left" valign="top">The country/region_code identifier is not valid for
CEEFMDT</td>
</tr>
<tr>
<td align="left" valign="top">Severity: 30</td>
<td align="left" valign="top">&nbsp;</td>
</tr>
<tr>
<td align="left" valign="top">CEE9902</td>
<td align="left" valign="top">Unexpected user error occurred in &amp;1</td>
</tr>
<tr>
<td align="left" valign="top">Severity: 30</td>
</tr>
<tr>
<td align="left" valign="top">&nbsp;</td>
</tr>
</table>
<br>
<h3>Country/Region Code Identifiers</h3>
<p>The following table lists the country or region code identifiers.</p>
<p><strong><a name="TBLCNTRYID">Country/Region Codes</a></strong></p>
<table border cellpadding="3">
<tr>
<th align="left" valign="top">Country/Region</th>
<th align="left" valign="top">ID</th>
</tr>
<tr>
<td align="left" valign="top">Albania</td>
<td align="left" valign="top">AL</td>
</tr>
<tr>
<td align="left" valign="top">Algeria</td>
<td align="left" valign="top">DZ</td>
</tr>
<tr>
<td align="left" valign="top">Argentina</td>
<td align="left" valign="top">AR</td>
</tr>
<tr>
<td align="left" valign="top">Australia</td>
<td align="left" valign="top">AU</td>
</tr>
<tr>
<td align="left" valign="top">Austria</td>
<td align="left" valign="top">AT</td>
</tr>
<tr>
<td align="left" valign="top">Bahrain</td>
<td align="left" valign="top">BH</td>
</tr>
<tr>
<td align="left" valign="top">Belgium</td>
<td align="left" valign="top">BE</td>
</tr>
<tr>
<td align="left" valign="top">Bolivia</td>
<td align="left" valign="top">BO</td>
</tr>
<tr>
<td align="left" valign="top">Brazil</td>
<td align="left" valign="top">BR</td>
</tr>
<tr>
<td align="left" valign="top">Bulgaria</td>
<td align="left" valign="top">BG</td>
</tr>
<tr>
<td align="left" valign="top">Canada</td>
<td align="left" valign="top">CA</td>
</tr>
<tr>
<td align="left" valign="top">Chile</td>
<td align="left" valign="top">CL</td>
</tr>
<tr>
<td align="left" valign="top">Colombia</td>
<td align="left" valign="top">CO</td>
</tr>
<tr>
<td align="left" valign="top">Costa Rica</td>
<td align="left" valign="top">CR</td>
</tr>
<tr>
<td align="left" valign="top">Countries of the former Yugoslavia<br>
</td>
<td align="left" valign="top">YU</td>
</tr>
<tr>
<td align="left" valign="top">Czech Republic</td>
<td align="left" valign="top">CZ</td>
</tr>
<tr>
<td align="left" valign="top">Denmark</td>
<td align="left" valign="top">DK</td>
</tr>
<tr>
<td align="left" valign="top">Dominican Republic</td>
<td align="left" valign="top">DO</td>
</tr>
<tr>
<td align="left" valign="top">Ecuador</td>
<td align="left" valign="top">EC</td>
</tr>
<tr>
<td align="left" valign="top">Egypt</td>
<td align="left" valign="top">EG</td>
</tr>
<tr>
<td align="left" valign="top">El Salvador</td>
<td align="left" valign="top">SV</td>
</tr>
<tr>
<td align="left" valign="top">Finland</td>
<td align="left" valign="top">FI</td>
</tr>
<tr>
<td align="left" valign="top">France</td>
<td align="left" valign="top">FR</td>
</tr>
<tr>
<td align="left" valign="top">Germany</td>
<td align="left" valign="top">DE</td>
</tr>
<tr>
<td align="left" valign="top">Greece</td>
<td align="left" valign="top">GR</td>
</tr>
<tr>
<td align="left" valign="top">Guatemala</td>
<td align="left" valign="top">GT</td>
</tr>
<tr>
<td align="left" valign="top">Honduras</td>
<td align="left" valign="top">HN</td>
</tr>
<tr>
<td align="left" valign="top">Hungary</td>
<td align="left" valign="top">HU</td>
</tr>
<tr>
<td align="left" valign="top">Iceland</td>
<td align="left" valign="top">IS</td>
</tr>
<tr>
<td align="left" valign="top">India</td>
<td align="left" valign="top">IN</td>
</tr>
<tr>
<td align="left" valign="top">Iran</td>
<td align="left" valign="top">IR</td>
</tr>
<tr>
<td align="left" valign="top">Iraq</td>
<td align="left" valign="top">IQ</td>
</tr>
<tr>
<td align="left" valign="top">Ireland</td>
<td align="left" valign="top">IE</td>
</tr>
<tr>
<td align="left" valign="top">Israel</td>
<td align="left" valign="top">IL</td>
</tr>
<tr>
<td align="left" valign="top">Italy</td>
<td align="left" valign="top">IT</td>
</tr>
<tr>
<td align="left" valign="top">Japan</td>
<td align="left" valign="top">JP</td>
</tr>
<tr>
<td align="left" valign="top">Jordan</td>
<td align="left" valign="top">JO</td>
</tr>
<tr>
<td align="left" valign="top">Korea, Democratic People's Republic</td>
<td align="left" valign="top">KP</td>
</tr>
<tr>
<td align="left" valign="top">Korea, Republic of</td>
<td align="left" valign="top">KR</td>
</tr>
<tr>
<td align="left" valign="top">Kuwait</td>
<td align="left" valign="top">KW</td>
</tr>
<tr>
<td align="left" valign="top">Lebanon</td>
<td align="left" valign="top">LB</td>
</tr>
<tr>
<td align="left" valign="top">Libya</td>
<td align="left" valign="top">LY</td>
</tr>
<tr>
<td align="left" valign="top">Mexico</td>
<td align="left" valign="top">MX</td>
</tr>
<tr>
<td align="left" valign="top">Morocco</td>
<td align="left" valign="top">MA</td>
</tr>
<tr>
<td align="left" valign="top">Netherlands</td>
<td align="left" valign="top">NL</td>
</tr>
<tr>
<td align="left" valign="top">New Zealand</td>
<td align="left" valign="top">NZ</td>
</tr>
<tr>
<td align="left" valign="top">Norway</td>
<td align="left" valign="top">NO</td>
</tr>
<tr>
<td align="left" valign="top">Oman</td>
<td align="left" valign="top">OM</td>
</tr>
<tr>
<td align="left" valign="top">Pakistan</td>
<td align="left" valign="top">PK</td>
</tr>
<tr>
<td align="left" valign="top">Panama</td>
<td align="left" valign="top">PA</td>
</tr>
<tr>
<td align="left" valign="top">Paraguay</td>
<td align="left" valign="top">PY</td>
</tr>
<tr>
<td align="left" valign="top">People's Republic of China</td>
<td align="left" valign="top">CN</td>
</tr>
<tr>
<td align="left" valign="top">Peru</td>
<td align="left" valign="top">PE</td>
</tr>
<tr>
<td align="left" valign="top">Poland</td>
<td align="left" valign="top">PL</td>
</tr>
<tr>
<td align="left" valign="top">Portugal</td>
<td align="left" valign="top">PT</td>
</tr>
<tr>
<td align="left" valign="top">Qatar</td>
<td align="left" valign="top">QA</td>
</tr>
<tr>
<td align="left" valign="top">Romania</td>
<td align="left" valign="top">RO</td>
</tr>
<tr>
<td align="left" valign="top">Russia</td>
<td align="left" valign="top">RU</td>
</tr>
<tr>
<td align="left" valign="top">Saudi Arabia</td>
<td align="left" valign="top">SA</td>
</tr>
<tr>
<td align="left" valign="top">Slovakia</td>
<td align="left" valign="top">SK</td>
</tr>
<tr>
<td align="left" valign="top">Slovenia</td>
<td align="left" valign="top">SI</td>
</tr>
<tr>
<td align="left" valign="top">South Africa</td>
<td align="left" valign="top">ZA</td>
</tr>
<tr>
<td align="left" valign="top">Spain</td>
<td align="left" valign="top">ES</td>
</tr>
<tr>
<td align="left" valign="top">Sudan</td>
<td align="left" valign="top">SD</td>
</tr>
<tr>
<td align="left" valign="top">Sweden</td>
<td align="left" valign="top">SE</td>
</tr>
<tr>
<td align="left" valign="top">Switzerland</td>
<td align="left" valign="top">CH</td>
</tr>
<tr>
<td align="left" valign="top">Syria</td>
<td align="left" valign="top">SY</td>
</tr>
<tr>
<td align="left" valign="top">Taiwan</td>
<td align="left" valign="top">TW</td>
</tr>
<tr>
<td align="left" valign="top">Thailand</td>
<td align="left" valign="top">TH</td>
</tr>
<tr>
<td align="left" valign="top">Tunisia</td>
<td align="left" valign="top">TN</td>
</tr>
<tr>
<td align="left" valign="top">Turkey</td>
<td align="left" valign="top">TR</td>
</tr>
<tr>
<td align="left" valign="top">United Arab Emirates</td>
<td align="left" valign="top">AE</td>
</tr>
<tr>
<td align="left" valign="top">United Kingdom</td>
<td align="left" valign="top">GB</td>
</tr>
<tr>
<td align="left" valign="top">United States</td>
<td align="left" valign="top">US</td>
</tr>
<tr>
<td align="left" valign="top">Uruguay</td>
<td align="left" valign="top">UY</td>
</tr>
<tr>
<td align="left" valign="top">Venezuela</td>
<td align="left" valign="top">VE</td>
</tr>
<tr>
<td align="left" valign="top">Yemen</td>
<td align="left" valign="top">YE</td>
</tr>
</table>
<br>
<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>