beautypg.com

Getfpts command – HP Integrity NonStop H-Series User Manual

Page 47

background image

SWID Server Interface

Software Identification (SWID) User’s Guide527243-004

6 -3

Using SWID as a Server

and earlier, use the literal SWIDVersion-C20 (value 9). You may use either
SWIDVersion-C20 (value 9) or SWIDVersion-AAJ (value 10) for SWID product versions
T9298AAJ and later. If required, appropriate literals will be made available in the DDL
source file, ZSWDDDL, for later product versions of SWID.

The reply from SWID consists of only one

FO-REC

record with

rectype

being

WhoAmI

. The

MyVersion

field of the

WhoAmI-rec

indicates the same SWID product

version as was asked in

ExpectedVersion

(if it is a valid version of SWID). However,

it does not emulate the prior product versions of SWID.

If the SWID process is not compatible with your

ExpectedVersion

, a reply error of 2

is generated.

The record structure of

WhoAmI

-

rec

is:

GetFpts Command

This command is used to obtain the fingerprint for the desired file set. The reply from
SWID is zero, one, or multiple

FO-REC

records, depending on the files that match the

file set input.

If no files match the input file set, SWID replies with

ReplyLen = 0

and

Reply Error = 0.

If the file set is invalid, SWID replies with

ReplyLen = 0

and

Reply Error = 13

.

Record structure of WhoAmI-rec

def WhoAmI-rec.
04 MyVersion type binary 16.
04 prod-num type character 5.
04 version type character 3.
04 reldate type character 7.
04 filler type character 3.
* GMT Juliantimestamp when the SWID process started.
04 startts type binary 64.
end

* SWID Formatted Input GetFpts Command Structure

def GetFpts-Rec.
03 rectype type binary 16 value is 0.
03 fset type character 36.
end.

This manual is related to the following products: