ibm-information-center/dist/eclipse/plugins/i5OS.ic.apiref_5.4.0.1/MIpgmg.htm

92 lines
6.2 KiB
HTML
Raw 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="concept" />
<meta name="DC.Title" content="Machine interface programming" />
<meta name="abstract" content="Provides information about creating machine interface (MI) programs." />
<meta name="description" content="Provides information about creating machine interface (MI) programs." />
<meta name="DC.Relation" scheme="URI" content="api.htm" />
<meta name="DC.Relation" scheme="URI" content="MIintro.htm" />
<meta name="DC.Relation" scheme="URI" content="MIwritprog.htm" />
<meta name="DC.Relation" scheme="URI" content="MIcompprog.htm" />
<meta name="DC.Relation" scheme="URI" content="MIcrever.htm" />
<meta name="DC.Relation" scheme="URI" content="MIenhver.htm" />
<meta name="DC.Relation" scheme="URI" content="MIcrepro.htm" />
<meta name="DC.Relation" scheme="URI" content="MIcompro.htm" />
<meta name="DC.Relation" scheme="URI" content="MIprosto.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="MIpgmg" />
<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>Machine interface programming</title>
</head>
<body id="MIpgmg"><a name="MIpgmg"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Machine interface programming</h1>
<div><p>Provides information about creating machine interface (MI) programs.</p>
<p>This topic is for programmers interested in creating machine interface
(MI) programs. While some MI instructions are discussed within the context
of how to develop MI programs, the following information makes no attempt
to review the full range of MI instructions. The goal is to provide a sufficient
base of knowledge so that you can begin to use the MI language. After reading
the information on machine interface programming, you should be able to develop,
create, run, and debug an MI program.</p>
<p>IBM<sup>®</sup> 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><img src="./delta.gif" alt="Start of change" />SUBJECT TO ANY STATUTORY WARRANTIES WHICH CANNOT BE EXCLUDED,
IBM, ITS PROGRAM DEVELOPERS AND SUPPLIERS MAKE NO WARRANTIES OR CONDITIONS
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
OR CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT,
REGARDING THE PROGRAM OR TECHNICAL SUPPORT, IF ANY. <img src="./deltaend.gif" alt="End of change" /></p>
<p><img src="./delta.gif" alt="Start of change" />UNDER NO CIRCUMSTANCES IS IBM, ITS PROGRAM DEVELOPERS OR SUPPLIERS
LIABLE FOR ANY OF THE FOLLOWING, EVEN IF INFORMED OF THEIR POSSIBILITY: <img src="./deltaend.gif" alt="End of change" /></p>
<img src="./delta.gif" alt="Start of change" /><ol><li>LOSS OF, OR DAMAGE TO, DATA;</li>
<li>SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES, OR FOR ANY ECONOMIC CONSEQUENTIAL
DAMAGES; OR </li>
<li>LOST PROFITS, BUSINESS, REVENUE, GOODWILL, OR ANTICIPATED SAVINGS.</li>
</ol><img src="./deltaend.gif" alt="End of change" />
<p><img src="./delta.gif" alt="Start of change" />SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION
OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO SOME OR ALL OF THE ABOVE LIMITATIONS
OR EXCLUSIONS MAY NOT APPLY TO YOU.<img src="./deltaend.gif" alt="End of change" /></p>
</div>
<div>
<ul class="ullinks">
<li class="ulchildlink"><strong><a href="MIintro.htm">Machine interface instructions</a></strong><br />
Programs and procedures are the two basic units of execution on iSeries™.</li>
<li class="ulchildlink"><strong><a href="MIwritprog.htm">Example: Writing an MI program</a></strong><br />
This topic shows how to write a simple MI program that receives two packed-decimal parameters and returns the larger value through a third parameter.</li>
<li class="ulchildlink"><strong><a href="MIcompprog.htm">Compile an MI program</a></strong><br />
To compile an MI program, use the Create Program (QPRCRTPG) API.</li>
<li class="ulchildlink"><strong><a href="MIcrever.htm">Creating an MI version of CLCRTPG</a></strong><br />
This topic discusses how to create an MI version of the CLCRTPG program that can be used to create MI programs. This program is called MICRTPG.</li>
<li class="ulchildlink"><strong><a href="MIenhver.htm">Enhanced version of the MICRTPG program</a></strong><br />
A new version of MICRTPG (named MICRTPG2) incorporateS the functions of the CL03 program and the CL05 program.</li>
<li class="ulchildlink"><strong><a href="MIcrepro.htm">Create the MICRTPG2 program</a></strong><br />
This topic shows how to create the MICRTPG2 program and how to handle exceptions in the MICRTPG2 program.</li>
<li class="ulchildlink"><strong><a href="MIcompro.htm">Examples: Common MI programming techniques</a></strong><br />
This example MI program demonstrates some additional programming techniques.</li>
<li class="ulchildlink"><strong><a href="MIprosto.htm">Program storage</a></strong><br />
Two steps are needed to run a program: program activation and program invocation.</li>
</ul>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="api.htm">Application programming interfaces</a></div>
</div>
</div>
</body>
</html>