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

63 lines
2.4 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>Using Dynamic Screen Manager 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 -->
<!-- DSMMST1 SCRIPT A converted by B2H R4.1 (346) (CMS) by V2KEA304 -->
<!-- at RCHVMW2 on 29 Jan 1999 at 16:05:09 -->
<!-- End Header Records -->
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
</head>
<body>
<!-- End Header Records -->
<!-- Java sync-link -->
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript">
</script>
<a name="Top_Of_Page"></a>
<h2>Using Dynamic Screen Manager APIs</h2>
<h3>Data Structures for DSM APIs</h3>
<p>Data structures for use with ILE C, ILE COBOL, and ILE RPG/400<sup>(R)</sup>
are available in the QSYSINC library in member QSNAPI for service program QSNAPI.</p>
<br>
<h3>Omitting Parameters with Associated Lengths</h3>
<p>To omit a parameter with an associated length parameter, that length
parameter should be omitted or specified as 0. If the length parameter is
specified with a value greater than 0, the parameter with which it is
associated is required.</p>
<p>For example, to omit the user extension information on the low-level
environment, specify either a NULL pointer by value, or 0 by reference for the
length. The extension information structure is ignored. If the length is
greater than 0, the extension information structure cannot be NULL. If it is,
then a <samp>Required parameter omitted</samp> error is generated.</p>
<hr>
<center>
<table cellpadding="2" cellspacing="2">
<tr align="center">
<td valign="middle" align="center">
<a href="dsm.htm">Dynamic Screen Manager APIs</a> |
<a href="aplist.htm">APIs by category</a></td>
</tr>
</table>
</center>
</body>
</html>