[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 1

adeprodid command

Purpose

Generates the productid file for an install or update package.

Syntax

adeprodid -l Product_Name -t Compids.table [ -d Output_Directory ]

Description

The adeprodid command generates the productid file for an installation or package update. The productid file contains a product name followed by a four-digit type field and a five-digit model field. The type and model values are separated by a dash (-). Both values make up the unique product ID.

This file is archived into the liblpp.a file for an install or update package. The installp command reads the productid file if it exists and stores the value in the Vital Products Database (VPD) for the LPP.

Fatal errors contain the word USAGE or FATAL ERROR followed by an error message printed to stderr. adeprodid exits with a non-zero return code if an error is detected.

Input Files

Compids.table
The Compids.table file is required. This file includes vendor_id(s) and component/option information. The format of this file is:
prologue contains standard prologue and comments.
** lines contains information concerning maintenance of this file.
%%_ lines contains vendor identification string and vendor id.
component/option lines contains the information required for packaging and distribution of each component/option. The format of these lines are:
  • package name:component id:feature code:component release level:
  • system release level:change team id(s):CMVC release:vendor_id:
  • iFOR/LS_product_id:iFOR/LS_product_version:

    For example:

    bos.adt:575603001:5005:410:410:TX2527:XXX:IBM:1234567:12345678901:

Output Files

productid
The productid file is written to the current directory and contains the software product name followed by a numeric id. For the above compids.table entry, the product id file would contain:

bos.adt 5756-03001

Flags

-l Product_Name Specifies the name of the software product or LPP.
-t Compids.table Specifies the path name of the Compids.table file. This file is a data file containing the product information for each lpp and each option.
-d Output_Dir Specifies the path name of the directory where the productid file should be generated.

Examples

  1. To generate the productid file for bos.adt, type:

    adeprodid -l bos.adt -t ode_tools/power/usr/lib/compids.table
  2. To generate the productid file for bos.adt.data in the data subdirectory, type:

    adeprodid -l bos.adt.data -t ode_tools/power/usr/lib/compids.table  -d data

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]