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

536 lines
17 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>Retrieve Contact Information (QEDRTVCI) 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. -->
<!-- Created for V5R4 on 041119 by cmwood -->
<!-- Change history: -->
<!-- 041119 CMWOOD New API -->
<!-- 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><img src="delta.gif" alt="Start of change">Retrieve Contact Information (QEDRTVCI)
API</h2>
<div class="box" style="width: 90%;">
<br>
&nbsp;&nbsp;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%">Receiver variable</td>
<td align="left" valign="top" width="20%">Output</td>
<td align="left" valign="top" width="20%">Char(*)</td>
</tr>
<tr>
<td align="center" valign="top">2</td>
<td align="left" valign="top">Length of receiver variable</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Binary(4)</td>
</tr>
<tr>
<td align="center" valign="top">3</td>
<td align="left" valign="top">Format name</td>
<td align="left" valign="top">Input</td>
<td align="left" valign="top">Char(8)</td>
</tr>
<tr>
<td align="center" valign="top">4</td>
<td align="left" valign="top">Error Code</td>
<td align="left" valign="top">I/O</td>
<td align="left" valign="top">Char(*)</td>
</tr>
</table>
<br>
&nbsp;&nbsp;Default Public Authority: *EXCLUDE<br>
<!-- iddvc RMBR -->
<br>
&nbsp;&nbsp;Threadsafe: Yes<br>
<!-- iddvc RMBR -->
<br>
</div>
<p>The <strong>Retrieve Contact Information (QEDRTVCI)</strong> API returns the contact information that is supplied to a service provider when a problem is reported or a PTF is requested.</p>
<br>
<!-- 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>
<p>None.</p>
<br>
<h3>Required Parameter Group</h3>
<dl>
<dt><strong>Receiver variable </strong></dt>
<dd>OUTPUT; CHAR(*)
<p>The receiver variable that receives the information requested. You can specify the size of the area to be smaller than the format requested as long as you specify the length parameter correctly. As a result, the API returns only the data that the area can hold.</p>
</dd>
<dt><strong>Length of receiver variable</strong></dt>
<dd>INPUT; BINARY(4)
<p>The length of the receiver variable provided. The length of receiver variable parameter may be specified up to the size of the receiver variable specified in the user program. If the length of receiver variable parameter specified is larger than the allocated size of the receiver variable specified in the user program, the results are not predictable. The minimum length is 8 bytes.</p>
</dd>
<dt><strong>Format name</strong></dt>
<dd>INPUT; CHAR(8)
<p>The format of the contact information to be returned. The possible values are:</p>
<dl>
<dt>CNTI0100</dt>
<dd>This format returns all of the contact information. See <a href="#FORMAT1">Format CNTI0100</a> for details.</dd>
</dl>
</dd>
<dt><br><strong>Error code</strong></dt>
<dd>I/O; CHAR(*)
<p>The structure in which to return error information. For the format of the
structure, see <a href="../apiref/error.htm#hdrerrcod">Error Code Parameter</a>.</p>
</dd>
</dl>
<br>
<br>
<h3><a name="FORMAT1">CNTI0100 Format</a></h3>
<p>The following information is returned by this API when CNTI0100 format. For detailed
descriptions of the fields in the table, see <a href="#FIELDDESC1">Field Descriptions</a></p>
<table border width="80%">
<tr>
<th align="center" valign="bottom" colspan="2">Offset</th>
<th align="left" valign="bottom" rowspan="2">Type</th>
<th align="left" valign="bottom" rowspan="2">Field</th>
</tr>
<tr>
<th align="left" valign="bottom">Dec</th>
<th align="left" valign="bottom">Hex</th>
</tr>
<tr>
<td align="center" valign="top" width="10%">0</td>
<td align="center" valign="top" width="10%">0</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Bytes returned</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">4</td>
<td align="center" valign="top" width="10%">4</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Bytes available</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">8</td>
<td align="center" valign="top" width="10%">8</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">Company name</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">44</td>
<td align="center" valign="top" width="10%">2C</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">Contact name</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">80</td>
<td align="center" valign="top" width="10%">50</td>
<td align="left" valign="top" width="20%">Char(20)</td>
<td align="left" valign="top" width="60%">Primary telephone number</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">100</td>
<td align="center" valign="top" width="10%">64</td>
<td align="left" valign="top" width="20%">Char(20)</td>
<td align="left" valign="top" width="60%">Help desk or pager number</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">120</td>
<td align="center" valign="top" width="10%">78</td>
<td align="left" valign="top" width="20%">Char(20)</td>
<td align="left" valign="top" width="60%">Primary fax number</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">140</td>
<td align="center" valign="top" width="10%">8C</td>
<td align="left" valign="top" width="20%">Char(20)</td>
<td align="left" valign="top" width="60%">Alternative fax number</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">160</td>
<td align="center" valign="top" width="10%">A0</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">Street address line 1</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">196</td>
<td align="center" valign="top" width="10%">C4</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">Street address line 2</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">232</td>
<td align="center" valign="top" width="10%">E8</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">Street address line 3</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">268</td>
<td align="center" valign="top" width="10%">10C</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">City or locality</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">304</td>
<td align="center" valign="top" width="10%">130</td>
<td align="left" valign="top" width="20%">Char(36)</td>
<td align="left" valign="top" width="60%">State or province</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">340</td>
<td align="center" valign="top" width="10%">154</td>
<td align="left" valign="top" width="20%">Char(20)</td>
<td align="left" valign="top" width="60%">Country or region</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">360</td>
<td align="center" valign="top" width="10%">168</td>
<td align="left" valign="top" width="20%">Char(12)</td>
<td align="left" valign="top" width="60%">Postal code</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">372</td>
<td align="center" valign="top" width="10%">174</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Offset to primary electronic mail address</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">376</td>
<td align="center" valign="top" width="10%">178</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Length of primary electronic mail address</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">380</td>
<td align="center" valign="top" width="10%">17C</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Offset to alternative electronic mail address</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">384</td>
<td align="center" valign="top" width="10%">180</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Length of alternative electronic mail address</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">388</td>
<td align="center" valign="top" width="10%">184</td>
<td align="left" valign="top" width="20%">Binary(4)</td>
<td align="left" valign="top" width="60%">Media for mailing PTFs</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">392</td>
<td align="center" valign="top" width="10%">188</td>
<td align="left" valign="top" width="20%">Char(4)</td>
<td align="left" valign="top" width="60%">National language version</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">*</td>
<td align="center" valign="top" width="10%">*</td>
<td align="left" valign="top" width="20%">Char(*)</td>
<td align="left" valign="top" width="60%">Primary electronic mail address</td>
</tr>
<tr>
<td align="center" valign="top" width="10%">*</td>
<td align="center" valign="top" width="10%">*</td>
<td align="left" valign="top" width="20%">Char(*)</td>
<td align="left" valign="top" width="60%">Alternative electronic mail address</td>
</tr>
</table>
<br>
<br>
<h3><a name="FIELDDESC1">Field Descriptions</a></h3>
<p><strong>Alternative electronic mail address.</strong>
The electronic mail (e-mail) address where information for the person specified for the Contact can be sent, if the primary e-mail address is not available. The e-mail is returned as UTF8. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no alternative electronic mail address for the contact person.</td>
</tr>
</table>
<p><strong>Alternative fax number.</strong>
The complete telephone number where information for the Contact can be faxed, if the primary fax number is not available. This number should include the area code, exchange numbers, and the extension. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no alternative fax number for the contact person.</td>
</tr>
</table>
<p><strong>Bytes available.</strong>
The number of bytes of data available to be returned. All available data is returned if enough space is provided.
</p>
<p><strong>Bytes returned.</strong>
The number of bytes of data returned.</p>
<p><strong>City or locality.</strong>
The City or locality name for the location to which you want your service provider to send parts or assistance.
</p>
<p><strong>Company name.</strong>
The name of the organization that owns or is responsible for this system. The name should appear in this field as it appears on a mailing label.</p>
<p><strong>Contact name.</strong>
The name of the person in your organization who is responsible for repairs and maintenance on the system. This person may be called by the service provider with information or assistance for a system problem. Also, parts or PTFs may be sent to this person.
</p>
<p><strong>Country or region.</strong>
The Country or region where the company is located to which the service provider should send parts or assistassnce.
</p>
<p><strong>Help desk or pager number.</strong>
The complete Help desk or pager number. This number should include the area code, exchange numbers, and the extension. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no Help desk or pager number.</td>
</tr>
</table>
<p><strong>Length of alternative electronic mail address.</strong>
The length of the alternative electronic mail address.
</p>
<p><strong>Length of primary electronic mail address.</strong>
The length of the primary electronic mail address.
</p>
<p><strong>Media for mailing PTFs.</strong>
The media currently used for mailing program temporary fixes (PTFs). The media options available are:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>1 = *AUTOMATIC</em></td>
<td align="left" valign="top">The system will automatically select the media to be used for sending PTFs.</td>
</tr>
<tr>
<td align="left" valign="top"><em>2 = *CDROM</em></td>
<td align="left" valign="top">PTFs will be sent on CD-ROM media.</td>
</tr>
</table>
<p><strong>National language version.</strong>
The national language version code currently being used for PTF cover letters. If the cover letter you ordered has not been translated into this language the cover letter will be sent in U.S. English.
</p>
<p><strong>Offset to alternative electronic mail address.</strong>
The offset to the alternative electronic mail address.
</p>
<p><strong>Offset to primary electronic mail address.</strong>
The offset to the primary electronic mail address.
</p>
<p><strong>Postal code.</strong>
The Postal code for the location to which the service provider should send parts or assistance.
</p>
<p><strong>Primary electronic mail address.</strong>
The electronic mail (e-mail) address where information for the person specified for the Contact can be sent. The e-mail is returned as UTF8. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no primary electronic mail address for the contact person.</td>
</tr>
</table>
<p><strong>Primary fax number.</strong>
The complete telephone number where information for the Contact can be faxed. This number should include the area code, exchange numbers, and the extension. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no primary fax number for the contact person.</td>
</tr>
</table>
<p><strong>Primary telephone number.</strong>
The complete telephone number where the person named for the Contact may be reached most often. This number should include the area code, exchange numbers, and the extension.
</p>
<p><strong>State or province.</strong>
The state or province names for the location to which you want your service provider to send parts or assistance. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">There is no State or province.</td>
</tr>
</table>
<p><strong>Street address lines 1, 2 and 3.</strong>
The postal number and street name of the location to which you want your service provider to send parts or assistance for the problem. This should not be a post office box. The following special values might be returned:</p>
<table cellpadding="5">
<!-- cols="15 85" -->
<tr>
<td align="left" valign="top"><em>*NONE</em></td>
<td align="left" valign="top">No additional street address information is provided. This value is valid for lines 2 and 3, but not for line 1.</td>
</tr>
</table>
<br>
<h3><a name="errmsg">Error Messages</a></h3>
<p>The following messages may be sent from this function:</p>
<table width="100%">
<tr>
<th align="left" valign="top">Message ID</th>
<th align="left" valign="top">Error Message Text</th>
</tr>
<tr>
<td width="15%" valign="top">CPF24B4</td>
<td width="85%" valign="top">Severe error while addressing parameter list.</td>
</tr>
<tr>
<td valign="top">CPF3CF1</td>
<td valign="top">Error code parameter not valid.</td>
</tr>
<tr>
<td valign="top">CPF3CF2</td>
<td valign="top">Error(s) occurred during running of &amp;1 API.</td>
</tr>
<tr>
<td valign="top">CPF3C19</td>
<td valign="top">Error occurred with receiver variable specified.</td>
</tr>
<tr>
<td valign="top">CPF3C21</td>
<td valign="top">Format name &amp;1 is not valid.</td>
</tr>
<tr>
<td valign="top">CPF3C24</td>
<td valign="top">Length of the receiver variable is not valid.</td>
</tr>
<tr>
<td valign="top">CPF8C81</td>
<td valign="top">No Contact Information is available.</td>
</tr>
</table>
<br>
<br>
<img src="deltaend.gif" alt="End of change">
<hr>
API introduced: V5R4
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a href=
"pm1.htm">Problem Management APIs</a> | <a href="aplist.htm">APIs by
category</a></td>
</tr>
</table>
</center>
</body>
</html>