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

162 lines
8.1 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="reference" />
<meta name="DC.Title" content="Creating the example product" />
<meta name="abstract" content="The first example product being packaged is called ABC Product. The product is made up of one library, ABC, with no options off of this product." />
<meta name="description" content="The first example product being packaged is called ABC Product. The product is made up of one library, ABC, with no options off of this product." />
<meta name="DC.Relation" scheme="URI" content="ExTaskPackprog.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="expackcreate" />
<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>Creating the example product</title>
</head>
<body id="expackcreate"><a name="expackcreate"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Creating the example product</h1>
<div><p>The first example product being packaged is called ABC Product.
The product is made up of one library, ABC, with no options off of this product.</p>
<div class="section"><p>ABC Product consists of the following objects:</p>
<div class="tablenoborder"><a name="expackcreate__TBLSOFT"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="expackcreate__TBLSOFT" frame="border" border="1" rules="all"><caption>Table 1. ABC Software Packaging</caption><thead align="left"><tr><th valign="top" id="d0e25">Number</th>
<th valign="top" id="d0e27">Object Name</th>
<th valign="top" id="d0e29">Object Type</th>
<th valign="top" id="d0e31">Text Description</th>
</tr>
</thead>
<tbody><tr><td valign="top" headers="d0e25 ">1</td>
<td valign="top" headers="d0e27 ">ABCPGMMRM1</td>
<td valign="top" headers="d0e29 ">*PGM</td>
<td valign="top" headers="d0e31 ">MRM <sup>1</sup> preprocessing program</td>
</tr>
<tr><td valign="top" headers="d0e25 ">2</td>
<td valign="top" headers="d0e27 ">ABCPGMMRM2</td>
<td valign="top" headers="d0e29 ">*PGM</td>
<td valign="top" headers="d0e31 ">MRM postprocessing program</td>
</tr>
<tr><td valign="top" headers="d0e25 ">3</td>
<td valign="top" headers="d0e27 ">ABCPGMMRI1</td>
<td valign="top" headers="d0e29 ">*PGM</td>
<td valign="top" headers="d0e31 ">MRI <sup>2</sup> preprocessing program</td>
</tr>
<tr><td valign="top" headers="d0e25 ">4</td>
<td valign="top" headers="d0e27 ">ABCPGMMRI2</td>
<td valign="top" headers="d0e29 ">*PGM</td>
<td valign="top" headers="d0e31 ">MRI postprocessing program</td>
</tr>
<tr><td valign="top" headers="d0e25 ">5</td>
<td valign="top" headers="d0e27 ">ABCPGM</td>
<td valign="top" headers="d0e29 ">*PGM</td>
<td valign="top" headers="d0e31 ">CPP <sup>3</sup> for ABC command</td>
</tr>
<tr><td valign="top" headers="d0e25 ">6</td>
<td valign="top" headers="d0e27 ">QCLSRC</td>
<td valign="top" headers="d0e29 ">*FILE(SRCPF)</td>
<td valign="top" headers="d0e31 ">Source physical file</td>
</tr>
<tr><td valign="top" headers="d0e25 ">7</td>
<td valign="top" headers="d0e27 ">ABCDSPF</td>
<td valign="top" headers="d0e29 ">*FILE(DSPF)</td>
<td valign="top" headers="d0e31 ">Display file</td>
</tr>
<tr><td valign="top" headers="d0e25 ">8</td>
<td valign="top" headers="d0e27 ">ABCPF</td>
<td valign="top" headers="d0e29 ">*FILE(PF)</td>
<td valign="top" headers="d0e31 ">Physical file</td>
</tr>
<tr><td valign="top" headers="d0e25 ">9</td>
<td valign="top" headers="d0e27 ">ABCMSG</td>
<td valign="top" headers="d0e29 ">*MSGF</td>
<td valign="top" headers="d0e31 ">Message file</td>
</tr>
<tr><td valign="top" headers="d0e25 ">10</td>
<td valign="top" headers="d0e27 ">ABC</td>
<td valign="top" headers="d0e29 ">*CMD</td>
<td valign="top" headers="d0e31 ">Command for ABC Product</td>
</tr>
<tr><td valign="top" headers="d0e25 ">11</td>
<td valign="top" headers="d0e27 ">ABCPNLGRP</td>
<td valign="top" headers="d0e29 ">*PNLGRP</td>
<td valign="top" headers="d0e31 ">Panels for ABC</td>
</tr>
<tr><td valign="top" headers="d0e25 ">12</td>
<td valign="top" headers="d0e27 ">ABC0050</td>
<td valign="top" headers="d0e29 ">*PRDDFN</td>
<td valign="top" headers="d0e31 ">Product definition</td>
</tr>
<tr><td valign="top" headers="d0e25 ">13</td>
<td valign="top" headers="d0e27 ">ABC0029</td>
<td valign="top" headers="d0e29 ">*PRDLOD</td>
<td valign="top" headers="d0e31 ">Product load for MRI</td>
</tr>
<tr><td valign="top" headers="d0e25 ">14</td>
<td valign="top" headers="d0e27 ">ABC0050</td>
<td valign="top" headers="d0e29 ">*PRDLOD</td>
<td valign="top" headers="d0e31 ">Product load for MRM</td>
</tr>
<tr><td valign="top" headers="d0e25 ">15</td>
<td valign="top" headers="d0e27 ">ABC</td>
<td valign="top" headers="d0e29 ">*LIB</td>
<td valign="top" headers="d0e31 ">ABC Product</td>
</tr>
<tr><td colspan="4" valign="top" headers="d0e25 d0e27 d0e29 d0e31 "><div class="note"><span class="notetitle">Notes:</span> <ol><li>Machine readable material</li>
<li>Machine readable information</li>
<li>Command processing program</li>
</ol>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<p>To package a product, first you create all of the objects (numbers
1 through 11 and number 15 in the table above) that will comprise your product.
(<a href="expackcl.htm">Example: CL program for creating objects and library for packaging a product</a> shows the code that creates the objects.)
After your objects are created, you do the steps listed in <a href="expackilecobol.htm">Example in ILE COBOL: Program for packaging a product</a>.</p>
<p>The
following figure is an overview of the steps required to create a product.
An explanation is given in the figure below of the numbers. The
same numbers also appear in the code.</p>
<div class="fignone" id="expackcreate__FIGSOFTWR"><a name="expackcreate__FIGSOFTWR"><!-- --></a><span class="figcap">Figure 1. Steps
for creating a software product</span><br /><img src="RV3W218.gif" alt="Steps for Creating a Software&#xA;Product" /><br /></div>
<dl><dt class="dlterm">(1)</dt>
<dd>Create a product definition with information about the licensed program,
such as ID, version, and release.</dd>
<dt class="dlterm">(2)</dt>
<dd>Create a product load, which further defines each option of a licensed
program, such as the libraries, folders, and exit programs that comprise the
product.</dd>
<dt class="dlterm">(3)</dt>
<dd>Identify all objects associated with the product by changing the product
ID, release level, product option, and load ID in the object description by
using the Change Object Description API.</dd>
<dt class="dlterm">(4)</dt>
<dd>Package the product. Verify and store a list of all objects marked for
this product in the product load object.</dd>
<dt class="dlterm">(5)</dt>
<dd>Use the Save Licensed Program (SAVLICPGM) command to save the product
to tape.</dd>
</dl>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ExTaskPackprog.htm" title="You can define, create, distribute, and maintain your own product using APIs. These examples demonstrate how you can use the APIs to package a product similar to the way IBM packages products.">Examples: Packaging your own software products</a></div>
</div>
</div>
</body>
</html>