233 lines
7.0 KiB
HTML
233 lines
7.0 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>Create SNADS File Server Object (QZDCRFSO) 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. -->
|
||
|
<!-- NETMG2 SCRIPT A converted by B2H R4.1 (346) (CMS) by HOLTJM at -->
|
||
|
<!-- RCHVMW2 on 29 Jan 1999 at 10:01:37 -->
|
||
|
<!--File Edited October 2001 -->
|
||
|
<!--End Header Records -->
|
||
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<a name="Top_Of_Page"></a>
|
||
|
<!-- Java sync-link -->
|
||
|
<script language="Javascript" src ="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
|
||
|
<h2>Create SNADS File Server Object (QZDCRFSO) 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%">File server object handle</td>
|
||
|
<td align="left" valign="top" width="20%">Output</td>
|
||
|
<td align="left" valign="top" width="20%">Char(32)</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="center" valign="top">2</td>
|
||
|
<td align="LEFT" valign="TOP">File server object data length</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">File server name structure</td>
|
||
|
<td align="LEFT" valign="TOP">Input</td>
|
||
|
<td align="LEFT" valign="TOP">Char(68)</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>
|
||
|
Default Public Authority: *EXCLUDE<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
Threadsafe: No<br>
|
||
|
<!-- iddvc RMBR -->
|
||
|
<br>
|
||
|
</div>
|
||
|
|
||
|
<p>The Create SNADS File Server Object (QZDCRFSO) API allows a user to create a file server object (FSO). A file server object also may be referred to as an attachment (MSF messages, for example, can have attachments). The types of file server objects that the QZDCRFSO API builds are SNADS general file-server objects and Document Interchange Architecture (DIA) file-server objects. The interface is the same to these two types of objects.</p>
|
||
|
|
||
|
<br>
|
||
|
<h3>Authorities and Locks</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><em>API Public Authority</em></dt>
|
||
|
<dd>*EXCLUDE</dd>
|
||
|
</dl>
|
||
|
<br>
|
||
|
|
||
|
<h3>Required Parameter Group</h3>
|
||
|
|
||
|
<dl>
|
||
|
<dt><strong>File server object handle</strong></dt>
|
||
|
<dd>OUTPUT; CHAR(32)
|
||
|
|
||
|
<p>The necessary linkage to the file server object. This parameter is set as output on the create operation and is used as input on all other file server functions.</p></dd>
|
||
|
|
||
|
<dt><strong>File server object data length</strong></dt>
|
||
|
<dd>INPUT; BINARY(4)
|
||
|
|
||
|
<p>The calculated length of the data to be written. The API creates an FSO space (up to 16MB) that is big enough to hold the length of data specified. If you specify too small a size, there is no problem. SNADS creates an FSO of the size you specify, but if the actual size is larger, SNADS extends the FSO. For better performance, you should specify the actual size of the FSO. Valid values for this parameter are:</p>
|
||
|
|
||
|
<p><em>1 byte through 16 megabytes</em></p></dd>
|
||
|
|
||
|
<dt><strong>File server name structure</strong></dt>
|
||
|
<dd>INPUT; CHAR(68)
|
||
|
|
||
|
<p>The file server name (either DIA or SNADS) and the server name length.</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="center" valign="bottom">Dec</th>
|
||
|
<th align="center" 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%">Length of file server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="CENTER" valign="TOP">4</td>
|
||
|
<td align="CENTER" valign="TOP">4</td>
|
||
|
<td align="LEFT" valign="TOP">CHAR(64)</td>
|
||
|
<td align="LEFT" valign="TOP">File server name</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p>The length of the file server name is the number of bytes in the file server name defined by the SNADS architecture. Valid values for length of the file server name are as follows:</p>
|
||
|
|
||
|
<table cellpadding="3">
|
||
|
<!-- cols="5 95" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>4</em></td>
|
||
|
<td valign="top">SNADS general file-server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>4</em></td>
|
||
|
<td valign="top">DIA file-server name</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<p>The file server name is the name value defined by the SNADS architecture for the file server that is to be used. The only file servers available with this API are the SNADS general file server and the DIA file server. Valid values for file server name:</p>
|
||
|
|
||
|
<table cellpadding="3">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<td valign="top"><em>'21F0F0F6'X</em></td>
|
||
|
<td valign="top">SNADS general file-server name</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td valign="top"><em>'20F0F0F1'X</em></td>
|
||
|
<td valign="top">DIA file-server name</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<br></dd>
|
||
|
|
||
|
<dt><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>
|
||
|
<h3>Error Messages</h3>
|
||
|
|
||
|
<table width="100%" cellpadding="3">
|
||
|
<!-- cols="15 85" -->
|
||
|
<tr>
|
||
|
<th align="left" valign="top">Message ID</th>
|
||
|
<th align="left" valign="top">Error Message Text</th>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF24B4 E</td>
|
||
|
<td valign="top">Severe error while addressing parameter list.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3A0D E</td>
|
||
|
<td valign="top">Temporary server error.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3A09 E</td>
|
||
|
<td valign="top">System error.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3A1D E</td>
|
||
|
<td valign="top">Limit of number of open file server objects exceeded.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3A17 E</td>
|
||
|
<td valign="top">Permanent server error.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3C90 E</td>
|
||
|
<td valign="top">Literal value cannot be changed.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF3CF1 E</td>
|
||
|
<td valign="top">Error code parameter not valid.</td>
|
||
|
</tr>
|
||
|
|
||
|
<tr>
|
||
|
<td align="left" valign="top">CPF9872 E</td>
|
||
|
<td valign="top">Program or service program &1 in library &2 ended. Reason code &3.</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
<br>
|
||
|
|
||
|
<hr>
|
||
|
API Introduced: V3R6
|
||
|
|
||
|
<hr>
|
||
|
<table cellpadding="2" cellspacing="2" align="center">
|
||
|
<tr align="center">
|
||
|
<td valign="middle" align="center"><a href="#Top_Of_Page">Top</a> | <a
|
||
|
href="off1a.htm">Office APIs</a> | <a href=
|
||
|
"aplist.htm">APIs by category</a></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|