ASAP 3.2 Server Manual

HP NonStop ASAP Server Manual Page 326 of 381
Appendix B: ASAP Data Definitions
This appendix contains the ASAP database data definitions and record layouts that are
stored in a file named ASPDDLDB. These formats can change from one product
version to the next.
DDL Section Definitions
Primary Key Definitions
The primary key is (sysno entity its), where its is a character-based inverted timestamp
of the event. Entries are displayed from the most recent event to the oldest event,
allowing efficient online access through the ASAP CI.
The ranking of the busiest processes is a part of the primary key for the process
statistics entity. This attribute is redefined as the seventh byte of the zdate of the
P^KEY.
DEF P-key. !sys/cpu/netlh
03 Sysno type binary 16. !system number
03 Word type binary 16 redefines sysno.
03 Line type binary 16 occurs 4 times. !line name, or cpu
03 Cpuno type binary 16 redefines Line. !cpu(<0 or >16=>all)
03 Linename type character 8 redefines line.!line name for enform
03 Entity type character 8 redefines line.!entity name (eg,DISK/FILE)
03 its type binary 64. !inverted timestamp
03 zdate redefines its. !inversion code rule:
04 zyear pic x(1). !2200 - year
04 zmonth pic x(1). ! 12 - month
04 zday pic x(1). ! 31 - day
04 zhour pic x(1). ! 24 - hour
04 zmin pic x(1). ! 60 - min
04 zsec pic x(1). ! 60 - sec
04 zrank pic x(1). ! process busy rank
03 suffix redefines its. !
04 fillerx type binary 16 occurs 3 times. ! cpu.p^key.suffix.
04 nssvnn type binary 16. !
END.