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

Commands Reference, Volume 3


lookupfixdata Command

Purpose

Generates the option.fixdata file that is archived into liblpp.a for a PTF.

Syntax

lookupfixdata FixDataDB AparsList

Description

The fixdata files contain a stanza for each APAR that is included in the fix. The lookupfixdata command is invoked by the ptfpkg command.

The lookupfixdata command gets a new line-separated list of APARs from stdin and writes the fixdata stanza to stdout for each APAR in the list. The FixDataDB file is the master database file containing a stanza for all APARs.

Flags


FixDataDB Specifies the file required as the first positional parameter (argv[1]).
AparsList Provides information from stdin.

Example

Generate the option.fixdata file for the APARs listed in the aparsList file.

lookupfixdata $TOP/HISTORY/FixDataDB \ 
$TOP/HISTORY/$OPTION/$PTF/aparsList bos.sysmgt.sysbr.fixdata

Input Files


FixDataDB The FixDataDB is a stanza-formatted master database file containing one stanza for each APAR. The format of a stanza is:

fix: 
name = aparid
abstract = apar abstract text 
type = F 
filesets = list of filesets:v.r.m.f levels associated with the apar fix
symptom = apar symptom text
stdin (aparsList) The APARs list is a new line-separated list of APARs provided from standard input.

Example:
 
IX35837
IX35839
IX42110
IX43115

Output File


stdout (option.fixdata The lookupfixdata command searches the FixDataDB for the stanzas associated with each APAR in the input list of APARs. Each stanza is written to standard output. The output is redirected into the option.fixdata file which is archived into liblpp.a for the update.

Related Information

The ptfpkg command.


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