67 lines
4.4 KiB
HTML
67 lines
4.4 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 an i5/OS PASE procedure from within i5/OS programs" />
|
|
<meta name="abstract" content="You can call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to run an i5/OS PASE program in a job where the i5/OS PASE environment is already running." />
|
|
<meta name="description" content="You can call the Qp2CallPase() and Qp2CallPase2() ILE procedures from within other ILE procedures to run an i5/OS PASE program in a job where the i5/OS PASE environment is already running." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzalfrunning.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzalfileproccallsexamp.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzalfileproccallsexamp2.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../apis/qp2callpase.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="rzalfileproccalls" />
|
|
<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 an i5/OS PASE
|
|
procedure from within i5/OS programs</title>
|
|
</head>
|
|
<body id="rzalfileproccalls"><a name="rzalfileproccalls"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Call an <span class="keyword">i5/OS</span> PASE
|
|
procedure from within <span class="keyword">i5/OS</span> programs</h1>
|
|
<div><p>You can call the Qp2CallPase() and Qp2CallPase2() ILE procedures
|
|
from within other ILE procedures to run an <span class="keyword">i5/OS™</span> PASE
|
|
program in a job where the <span class="keyword">i5/OS</span> PASE
|
|
environment is already running.</p>
|
|
<div class="section">The Qp2RunPase() API initially starts and runs
|
|
an <span class="keyword">i5/OS</span> PASE program in
|
|
a job. It returns an error if <span class="keyword">i5/OS</span> PASE
|
|
is already active in that job.</div>
|
|
<div class="p"><span>To call <span class="keyword">i5/OS</span> PASE
|
|
procedures in a job that is already running an <span class="keyword">i5/OS</span> PASE
|
|
program, you use the Qp2CallPase() and Qp2CallPase2() APIs.</span></div>
|
|
</div>
|
|
<div>
|
|
<ul class="ullinks">
|
|
<li class="ulchildlink"><strong><a href="rzalfileproccallsexamp.htm">Example 1: Call an i5/OS PASE procedure from within i5/OS programs</a></strong><br />
|
|
The example in this topic shows an ILE program calling an <span class="keyword">i5/OS</span> PASE procedure.</li>
|
|
<li class="ulchildlink"><strong><a href="rzalfileproccallsexamp2.htm">Example 2: An i5/OS ILE program that uses pointer arguments in a call to an i5/OS PASE procedure</a></strong><br />
|
|
In this example, an <span class="keyword">i5/OS</span> ILE
|
|
program uses two different techniques to allocate and share memory storage
|
|
with the <span class="keyword">i5/OS</span> PASE procedure
|
|
that it calls.</li>
|
|
</ul>
|
|
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfrunning.htm" title="You can read this topic for information and examples about starting an i5/OS PASE program in a job, and calling i5/OS PASE procedures from your ILE programs.">Run i5/OS PASE programs and procedures</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../apis/qp2callpase.htm">Qp2CallPase()--Call an i5/OS PASE Procedure</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |