68 lines
4.3 KiB
HTML
68 lines
4.3 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="task" />
|
||
|
<meta name="DC.Title" content="Call i5/OS programs from i5/OS PASE" />
|
||
|
<meta name="abstract" content="You can take advantage of existing i5/OS programs (*PGM objects) when you create your i5/OS PASE applications. In addition, you can use the systemCL() function to run the CL CALL command." />
|
||
|
<meta name="description" content="You can take advantage of existing i5/OS programs (*PGM objects) when you create your i5/OS PASE applications. In addition, you can use the systemCL() function to run the CL CALL command." />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzalfamongpgms.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzalfcallprogexamp.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzalfcallcl.htm" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="../apis/pase__pgmcall.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="rzalfcallprog" />
|
||
|
<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>Call i5/OS programs
|
||
|
from i5/OS PASE</title>
|
||
|
</head>
|
||
|
<body id="rzalfcallprog"><a name="rzalfcallprog"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">Call <span class="keyword">i5/OS</span> programs
|
||
|
from <span class="keyword">i5/OS</span> PASE</h1>
|
||
|
<div><p>You can take advantage of existing <span class="keyword">i5/OS™</span> programs
|
||
|
(*PGM objects) when you create your <span class="keyword">i5/OS</span> PASE
|
||
|
applications. In addition, you can use the systemCL() function to run the
|
||
|
CL CALL command.</p>
|
||
|
<div class="p"><span>Use the _PGMCALL runtime function to call an <span class="keyword">i5/OS</span> program
|
||
|
from within your <span class="keyword">i5/OS</span> PASE
|
||
|
program.</span> <p>This method provides for faster processing than the
|
||
|
systemCL() runtime function, but it does not perform automatic
|
||
|
conversion of character string arguments (unless you specify PGMCALL_ASCII_STRINGS),
|
||
|
and it does not give you the capability of calling the program in a different
|
||
|
job.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<ul class="ullinks">
|
||
|
<li class="ulchildlink"><strong><a href="rzalfcallprogexamp.htm">Example: Call i5/OS programs from i5/OS PASE</a></strong><br />
|
||
|
You can read the example in this topic to learn about calling programs
|
||
|
in an <span class="keyword">i5/OS</span> PASE program
|
||
|
using the _PGMCALL runtime function.</li>
|
||
|
</ul>
|
||
|
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfamongpgms.htm" title="i5/OS PASE provides methods for calling ILE procedures, Java programs, OPM programs, i5/OS APIs, and CL commands that give you integrated access to i5/OS functions.">Call i5/OS programs and procedures from your i5/OS PASE programs</a></div>
|
||
|
</div>
|
||
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
||
|
<div><a href="rzalfcallcl.htm" title="You can extend the capabilities of your i5/OS PASE program by running control language (CL) commands that use i5/OS functions.">Run i5/OS commands from i5/OS PASE</a></div>
|
||
|
</div>
|
||
|
<div class="relinfo"><strong>Related information</strong><br />
|
||
|
<div><a href="../apis/pase__pgmcall.htm">_PGMCALL()--Call an i5/OS Program for i5/OS PASE</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|