118 lines
6.1 KiB
HTML
118 lines
6.1 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>Character Data Representation Architecture (CDRA) 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 -->
|
||
|
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
|
||
|
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
|
||
|
<!-- File restructured for V5R2 -->
|
||
|
<!-- 030918 JETAYLOR replaced API and/or Exit listings with -->
|
||
|
<!-- pagegenerator output from javascript array -->
|
||
|
<!-- 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>Character Data Representation Architecture (CDRA) APIs</h2>
|
||
|
|
||
|
<p><strong>Note:</strong> You should have access to the <cite>Character Data
|
||
|
Representation Architecture Reference</cite> book, SC09-1390-01, before using
|
||
|
this set of APIs. This book is not available online, but can be ordered from the
|
||
|
<a href="http://www.elink.ibmlink.ibm.com/public/applications/publications/cgibin/pbi.cgi?CTY=US" target="_blank">
|
||
|
IBM Publications Center</a><img src="www.gif" alt="Link outside Information Center">.</p>
|
||
|
|
||
|
<p>The Character Data Representation Architecture (CDRA) 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="CDRCVRT.htm">Convert a Graphic Character String</A> (CDRCVRT, QTQCVRT) converts a graphic character data string of the identified string type (ST1) represented in a specified from CCSID (CCSID1) to a graphic character data string of the required string type (ST2) that is represented in another specified to CCSID (CCSID2).</li>
|
||
|
<li><A HREF="CDRGCCN.htm">Get CCSID for Normalization</A> (CDRGCCN, QTQGCCN) assists in determining the CCSID for normalization given two CCSIDs. The returned CCSID may equal one or both the input CCSIDs. When certain operations, such as concatenation or comparison are performed on graphic character strings, the two strings are both in the same CCSID, or they are normalized first to a single CCSID before concatenation.</li>
|
||
|
<li><A HREF="CDRGCTL.htm">Get Control Function Definition</A> (CDRGCTL, QTQGCTL) gets a requested control function definition associated with a given CCSID.</li>
|
||
|
<li><A HREF="CDRGESP.htm">Get Encoding Scheme, Character Set, and Code Page Elements</A> (CDRGESP, QTQGESP) returns the value of the encoding scheme associated with CCSID1 in ES, and the values of CS and CP elements in CSCPL.</li>
|
||
|
<li><A HREF="CDRGRDC.htm">Get Related Default CCSID</A> (CDRGRDC, QTQGRDC) allows the caller to get a nearest equivalent or best-fit related CCSID.</li>
|
||
|
<li><A HREF="CDRSCSP.htm">Get Short Form (CCSID) from Specified ES and (CS, CP) Pair</A> (CDRSCSP, QTQSCSP) gets the CCSID associated with the specified (CS, CP) pairs and ES. It aids in coexistence and migration for products that have to deal with the short form (CCSID) of identification on one side and the intermediate form (CGCSGID) on the other.</li>
|
||
|
<li><A HREF="CDRSMXC.htm">Get Short Form with Maximal CS for Specified ES and CP</A> (CDRSMXC, QTQSMXC) gets the CCSID with the maximal character set (CS) for a given code page (CP) value.</li>
|
||
|
<li><A HREF="QTQSMXC2.htm">Get Short Form with Maximal CS for Specified ES and CP</A> (QTQSMXC2) gets the CCSID with the maximal character set (CS) for a given code page (CP) value. The QTQSMXC2 API acts as an extension of the functions of the CDRSMXC API in that you can specify more code pages.</li>
|
||
|
<li><A HREF="QTQRCSC.htm">Resolve Client Server CCSID</A> (QTQRCSC) returns the CCSID that will enable the proper transfer of data between the server and the client.</li>
|
||
|
</ul>
|
||
|
<!--***************API END PASTE***************-->
|
||
|
|
||
|
<p>The CDRA APIs listed above are in library QSYS2. You can use equivalent QTQ APIs,
|
||
|
stored in library QSYS, to achieve the same function. The API name and library comparison is as
|
||
|
follows:</p>
|
||
|
|
||
|
<table width="80%" cellpadding="5">
|
||
|
<tr>
|
||
|
<th align="center" valign="bottom">CDRA API in Library QSYS2</th>
|
||
|
<th align="center" valign="bottom">QTQ API in Library QSYS</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRCVRT</td>
|
||
|
<td align="center" valign="top">QTQCVRT</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRGCCN</td>
|
||
|
<td align="center" valign="top">QTQGCCN</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRGCTL</td>
|
||
|
<td align="center" valign="top">QTQGCTL</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRGESP</td>
|
||
|
<td align="center" valign="top">QTQGESP</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRGRDC</td>
|
||
|
<td align="center" valign="top">QTQGRDC</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRSCSP</td>
|
||
|
<td align="center" valign="top">QTQSCSP</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">CDRSMXC</td>
|
||
|
<td align="center" valign="top">QTQSMXC</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<hr>
|
||
|
<center>
|
||
|
<table cellpadding="2" cellspacing="2">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center">
|
||
|
<a href="#Top_Of_Page">Top</a> |
|
||
|
<a href="nls1.htm">National Language Support APIs</a> |
|
||
|
<a href="aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</center>
|
||
|
</body>
|
||
|
</html>
|