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

81 lines
4.9 KiB
HTML

<?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="Program Call Markup Language" />
<meta name="abstract" content="Program Call Markup Language (PCML) is a tag language that helps you call server programs, with less Java code." />
<meta name="description" content="Program Call Markup Language (PCML) is a tag language that helps you call server programs, with less Java code." />
<meta name="DC.Relation" scheme="URI" content="rzahhxmlmain.htm" />
<meta name="DC.Relation" scheme="URI" content="pcmlproc.htm" />
<meta name="DC.Relation" scheme="URI" content="pcmlsyn.htm" />
<meta name="DC.Relation" scheme="URI" content="pcmlex.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="pcml" />
<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>Program Call Markup Language</title>
</head>
<body id="pcml"><a name="pcml"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Program Call Markup Language</h1>
<div><p>Program Call Markup Language (PCML) is a tag language that helps
you call server programs, with less Java™ code. </p>
<div class="section"><p>PCML is based upon the Extensible Markup Language (XML), a tag
syntax you use to describe the input and output parameters for server programs.
PCML enables you to define tags that fully describe server programs called
by your Java application.</p>
<div class="note"><span class="notetitle">Note:</span> If you are interested
in or are already using PCML, consider using Extensible Program Call Markup
Language (XPCML). XPCML enhances the functionality and usability of PCML by
offering support for XML schemas. For more information about IBM<sup>®</sup> Toolbox for Java XML
components, including XPCML, see <a href="rzahhxmlmain.htm">Extensible
Markup Language components</a>.</div>
<p>A huge benefit of PCML is that
it allows you to write less code. Ordinarily, extra code is needed to connect,
retrieve, and translate data between a server and IBM Toolbox for Java objects. However, by using PCML, your
calls to the server with the IBM Toolbox for Java classes are automatically handled.
PCML class objects are generated from the PCML tags and help minimize the
amount of code you need to write in order to call server programs from your
application.</p>
<p>Although PCML was designed to support distributed program
calls to server program objects from a client Java platform, you can also use PCML to
make calls to a server program from within the server environment.</p>
<p>Refer
to the following pages for more information about using PCML: </p>
<ul><li><a href="pcmlproc.htm#pcmlproc">Building iSeries program calls with PCML</a> </li>
<li><a href="pcmlsyn.htm#pcmlsyn">PCML syntax</a></li>
<li><a href="pcmlex.htm#pcmlex">Examples: Program Call Markup Language (PCML)</a></li>
</ul>
</div>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="pcmlproc.htm">Building iSeries program calls with PCML</a></strong><br />
To build iSeries™ program calls with PCML, you must start by
creating a Java application and a PCML source file.</li>
<li class="ulchildlink"><strong><a href="pcmlsyn.htm">PCML syntax</a></strong><br />
PCML consists of the following tags, each of which has its own attribute tags.</li>
<li class="ulchildlink"><strong><a href="pcmlex.htm">Examples: Program Call Markup Language (PCML)</a></strong><br />
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.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzahhxmlmain.htm" title="IBM Toolbox for Java includes several Extensible Markup Language (XML) components, including an XML parser.">Extensible Markup Language components</a></div>
</div>
</div>
</body>
</html>