beautypg.com

5 swid formatted output, Formatted output, Sample input – HP Integrity NonStop H-Series User Manual

Page 43: Sample output, Swid formatted output, Section 5, swid formatted output, Section 5, swid formatted, Output, Section 5, swid

background image

Software Identification (SWID) User’s Guide527243-004

5 -1

5

SWID Formatted Output

This section explains how to request a formatted SWID output file.

Formatted Output

You can use the -FO switch to request output in a structured format, which enables
parsing of SWID output.

Sample Input

Formatted input to SWID consists of one or more

fi-rec

records. The DDL syntax

of the record structure ID is:

The record type is indicated by the first word of the structure. Following this word is the
actual record indicated by

rectype

. The possible record types are listed as level 88.

Sample Output

SWID output consists of multiple

fo-rec

records. The DDL source of the record

structure is:

* SWID Formatted Input Record Structure

def fi-rec.

03 rectype type binary 16.
* When the word contains Esc and ^ in two bytes.
88 WhoRU value 7006.
88 GetFpts value 0.
88 GetFpts2 value 3.
88 GetOrigFpts value 1.
88 ds value 9.
03 rec type character 1
occurs 300 times.

end

* SWID Formatted Output Record Structure

def fo-rec.

03 rectype type binary 16.
88 who-am-i value -1.
88 default value 0.
88 dv value 1.
88 ds value 9.
03 reclength type binary 16 unsigned must be 0 thru 4092.
03 rec type character 1
occurs 0 to 4092 times
depending on fo-rec.reclength.

end

This manual is related to the following products: