ibm-information-center/dist/eclipse/plugins/i5OS.ic.rbam6_5.4.0.1/clser.htm

51 lines
3.2 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="concept" />
<meta name="DC.Title" content="Service program" />
<meta name="abstract" content="A service program is an i5/OS object that contains one or more modules." />
<meta name="description" content="A service program is an i5/OS object that contains one or more modules." />
<meta name="DC.subject" content="program, service, service program" />
<meta name="keywords" content="program, service, service program" />
<meta name="DC.Relation" scheme="URI" content="intpgm.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="clser" />
<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>Service program</title>
</head>
<body id="clser"><a name="clser"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Service program</h1>
<div><p>A service program is an i5/OS™ object that contains one or more
modules. </p>
<p>You can run programs that are not bound to service programs if they do
not require any procedures from the service program. However, you cannot run
any procedures from a service program unless that service program is bound
to a program. In order to call procedures in a service program, you must export
the procedure name. A service program is created using the <span class="cmdname">Create
Service Program (CRTSRVPGM)</span> command</p>
<p>While a program has only one entry point, a service program can have multiple
entry points. You cannot call service programs directly. You can call procedures
in a service program from other procedures in programs and service programs.</p>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="intpgm.htm" title="CL programs and procedures are created from source statements consisting entirely of control language commands. The commands are compiled into either an OPM program or an ILE module that can be bound into programs made up of modules written in CL or other languages.">CL programs and procedures</a></div>
</div>
</div>
</body>
</html>