Previous Topic: DEVADDR Statement

Next Topic: DISPLAY Statement


DEVNMBR Statement

The purpose of the DEVNMBR statement is the same as the DEVADDR statement. The difference is that the DEVNMBR statement supports four-character device members.

The DEVNMBR statement is optional, unless DE ID G0 (I/O Counts by Device) is entered on the DISPLAY control statement. Then, because this statement specifies the four-character device numbers for which I/O counts are to be displayed, it is required. A set code is also required for each DEVNMBR statement. It must be the same as the set code on the DISPLAY statement.

Note: DEVNMBR and DEVADDR are mutually exclusive within a set code.

From 1 to 15 four character number of any device type may be specified on the DEVNMBR statement without regard to the contents of the CONFIGX statement. I/O counts for these devices appear on the report in the order in which they are entered. Each entry occupies 10 print positions. Addresses are written in the format

xxxx,

where:

xxxx

= four character device number

Selection Criteria: You may specify that all records be included, that only those records be included that have at least one of the numbers listed, or that only those records be included that have all the numbers listed, by coding blank, 1, or 2 respectively.

For example:

position   1         2         3         4         5             8
  1........0.........0.........0.........0.........0..        ...0
  ADEVADDR 11130113111321281128212831284

On report A include all records that contain at least one of the following devices:

1130, 1131, 1132, 1281 1282, 1283, 1284.

Position

Field Length

Field Name

Notes

1

1

Set Code

Required

2-9

8

Statement Type

DEVNMBR

10

1

Selection Criteria

One of the following codes:
1: select only records with at least one of the devices listed
2: select only records with all devices listed
blank: select all records

11-77

4
.
.
.
up to 16
additional
occurrences
.
.
.

Device Address Table

1 to 17 occurrences of nnnn
where:
nnnn: device number

71-80

10

Reserved

Not used