beautypg.com

Getfpts2 command – HP Integrity NonStop H-Series User Manual

Page 49

background image

SWID Server Interface

Software Identification (SWID) User’s Guide527243-004

6 -5

Using SWID as a Server

The application must not give a file set of type

$*.*.*

or any file set that could cause

the reply of SWID to exceed 32,000 bytes. SWID returns a

Reply Error = 22

(application parameter or buffer address out-of-bounds) if more than 32,000 bytes are
required for

ReplyLen

.

GetFpts2 Command

This command is used to obtain the fingerprint of a specified version and type for a
single file. The reply from SWID is one

SWID-FO-REC

record if the file exists, and

zero records if the file does not exist. Wildcards are not allowed in the file name.

def dv-rec.
04 def-rec type *.
04 vproc.
05 perror type binary 16.
05 serror type binary 16.

* Bit<0> is ON for TNS, <1> is ON for TNS/R, <2> is ON for TNS/E, Bit<15>
is ON only if AXCEL region exists and is enabled, Bit<13> is ON only if OCA
region exists and is enabled.

05 cpu type binary 16.

* All zeroes if the file is not axceled.

05 axcelts type binary 16 occurs 4 times.
05 ts type binary 16 occurs 3 times.
05 num-vpcs type binary 16 unsigned.
05 vpc type character 32
occurs 0 to 100 times
depending on dv-rec.vproc.num-vpcs.
end

* SWID Formatted Input: GetFpts2 Command Structure

def GetFpts2-Rec.
03 rectype type binary 16 value is 3.
03 fptver type binary 16.
03 fpttype type binary 16.
* one filename in external format padded with nulls.
03 filename type character 36.

end.

This manual is related to the following products: