Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-18
DEVICEINFO
device-type output
INT:ref:1
is the name of a one-word integer variable into which Envoy places the configured
device type and subtype for the specified communications line. The format of this
parameter is listed in Table C-4.
physical record length output
INT:ref:1
is the name of a one-word integer variable into which Envoy places the configured
intermediate block size. The block size is originally set through the SYSGEN
modifier ITBSIZE. It can, however, be altered through a call to SETMODE 17.
Condition Codes
Example
INT fname [0:11] := [”$LINE3”,9*[” “]],
dev^type,
phys^rec^length;
CALL DEVICEINFO (fname,dev^type,phys^rec^length);
For the communications line $LINE3, this call returns the configured device type to
dev^type and the configured physical record length to phys^rec^length. If
Table C-4. Device Type Parameter Format
device type.<4:9> device type.<10:15>
7 = Basic Communications Process Line 0 = BISYNC point-to-point nonswitched
1 = BISYNC point-to-point switched
2 = BISYNC multipoint tributary
3 = BISYNC multipoint supervisor
8 = ADM-2 multipoint supervisor
9 = TINET multipoint supervisor
10 = Burroughs multipoint supervisor
30 = Full-duplex point-to-point write unit
31 = Full-duplex point-to-point read unit
40 = Asynchronous multipoint supervisor
< (CCL) Indicates that an error occurred (call FILEINFO).
= (CCE) Indicates that the DEVICEINFO procedure was executed successfully.