ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/pcmlex.htm

79 lines
4.8 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="Examples: Program Call Markup Language (PCML)" />
<meta name="abstract" content="The following examples use Program Call Markup Language to call i5/OS APIs, and each one links to a page that shows the PCML source followed by a Java program." />
<meta name="description" content="The following examples use Program Call Markup Language to call i5/OS APIs, and each one links to a page that shows the PCML source followed by a Java program." />
<meta name="DC.Relation" scheme="URI" content="pcml.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="pcmlex" />
<meta name="DC.Language" content="en-us" />
<!-- 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. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>Examples: Program Call Markup Language (PCML)</title>
</head>
<body id="pcmlex"><a name="pcmlex"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Examples: Program Call Markup Language (PCML)</h1>
<div><p>The following examples use Program Call Markup Language to call i5/OS™ APIs,
and each one links to a page that shows the PCML source followed by a Java™ program.</p>
<div class="section"><ul><li><a href="pcmldata.htm#pcmldata">Simple example of retrieving data</a>:
Shows the PCML source and Java program needed to retrieve information
about a user profile on the server. The API being called is the <em>Retrieve
User Information</em> (<strong>QSYRUSRI</strong>) API.</li>
<li><a href="pcmllist.htm#pcmllist">Retrieving a list of information</a>:
Shows the PCML source and Java program needed to retrieve a list of
authorized users on a server. The API being called is the <em>Open List of
Authorized Users</em> (<strong>QGYOLAUS</strong>) API. This example illustrates how
to access an array of structures returned by a server program.</li>
<li><a href="pcmlmddt.htm#pcmlmddt">Retrieving multidimensional data</a>:
Shows the PCML source and Java program needed to retrieve a list Network
File System (NFS) exports from a server. The API being called is the <em>Retrieve
NFS Exports</em> (<strong>QZNFRTVE</strong>) API. This example illustrates how to access
arrays of structures within an array of structures.</li>
</ul>
<div class="note"><span class="notetitle">Note:</span> The proper authority for each example varies but may include specific
object authorities and special authorities. In order to run these examples,
you must sign on with a user profile that has authority to perform the following
actions:<ul><li>Call the i5/OS API
in the example</li>
<li>Access the information being requested </li>
</ul>
</div>
</div>
<div class="section"><p>The following disclaimer applies to all of the IBM<sup>®</sup> Toolbox for Java examples:</p>
<blockquote><strong>Code
example disclaimer</strong> <p>IBM grants you a nonexclusive copyright license to use
all programming code examples from which you can generate similar function
tailored to your own specific needs.</p>
<p>All sample code is provided by IBM for
illustrative purposes only. These examples have not been thoroughly tested
under all conditions. IBM, therefore, cannot guarantee or imply reliability,
serviceability, or function of these programs.</p>
<p>All programs contained
herein are provided to you "AS IS" without any warranties of any kind. The
implied warranties of non-infringement, merchantability and fitness for a
particular purpose are expressly disclaimed.</p>
</blockquote>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="pcml.htm" title="Program Call Markup Language (PCML) is a tag language that helps you call server programs, with less Java code.">Program Call Markup Language</a></div>
</div>
</div>
</body>
</html>