1 /* Begin include file . . . . . poll_fnp_data.incl.pl1 */
 2 
 3 /* Describes format of syserr binary data logged with fnp polling */
 4 /* Prepared July 1981 by Robert Coren */
 5 
 6 dcl  poll_fnp_datap ptr;
 7 dcl  poll_fnp_data_version_1 fixed bin int static options (constant) init (1);
 8 dcl  poll_fnp_data_n_channels fixed bin;
 9 dcl  poll_fnp_data_n_stats fixed bin;
10 
11 dcl 1 poll_fnp_data aligned based (poll_fnp_datap),
12     2 version fixed bin,
13     2 name char (4),                                        /* Name of FNP */
14     2 model fixed bin,
15     2 n_channels fixed bin,                                 /* Number of channels with statistics */
16     2 n_stats fixed bin,                                    /* Number of non-zero statistics actually logged */
17     2 chan_info (poll_fnp_data_n_channels refer (poll_fnp_data.n_channels)),
18       3 chan_name char (6) unal,
19       3 line_type fixed bin (17) unaligned,
20     2 stat_info (poll_fnp_data_n_stats refer (poll_fnp_data.n_stats)),
21       3 chan_index fixed bin (18) uns unal,                 /* Index in chan_info, above */
22       3 stat_index fixed bin (18) uns unal,                 /* Which statistic for that channel (1 to 9) */
23       3 value fixed bin (35);                               /* Actual value of that stat */
24 
25 /* Note: only non-zero statistics are logged. An entry is made in the stat_info
26    array for each non-zero statistics noting which channel, and which of the
27    counters was non-zero */
28 
29 /* End include file . . . . . poll_fnp_data.incl.pl1 */