Each HDLC/LAP-B (ABM) port or E1/T1 subchannel requires one
(and only one) Terminal-Definition for the HDLC/LAP-B (ABM) point-to-point link.
The LAP-B terminal is defined by a TERM line in the LAP-B sample
file (lapb_sample.answ).
Some sample HDLC/LAP-B (ABM) Terminal-Definition lines follow:
Term 120 1:6 HDLC.LAPB HDLC_DTE_400MS 1000 0 0 0 0 "HDLC link 1"
The example above is a Terminal-Definition that defines an HDLC/LAP-B
(ABM) terminal with ZLU 120 on ACC card 1 port 6. It is configured
as a DTE with frame time-out value of 400 milliseconds.
Term 120 1:6 HDLC.LAPB 8080H 146AH 1000 0 0 0 0 "HDLC link 1"
The second definition is the same as the first except that
it uses the POLL and SELECT words to define the mode of operation.
When the POLL and SELECT values are used they are specified as
two 16 bit hex values.
The descriptions of the fields within these values are described
in the section "Poll/Select Configuration Values" in
this chapter.
The Terminal-Definition takes the following format:
Term zlu card:port:subc type poll select application_data name <option>
The following list gives more specific information on the
parameters in the HDLC/LAP-B (ABM) Terminal-Definition.
- ZLU
This number (120 in the example) assigns a unique reference
number for this terminal.
- Card:port:subc
The card number must have been defined in an Interface-Definition
statement. The port must have been defined in a Port-Definition
statement. The ":subc" information must be supplied
for a 4-port E1/T1 card and should be omitted for all other card
types. The subchannel so specified must have been defined in a Subchannel-
statement.
- Device
The device type of the HDLC/LAP-B (ABM) terminal must
be HDLC.LAPB.
- Config
This configuration keyword supplies the 'POLL' and 'SELECT' parameters
for the ZCOM terminal definition. These are used to specify:
whether the HDLC/LAP-B
(ABM) terminal acts as a DTE or DCE,
the frame re-transmission time-out value,
the re-transmission count limit,
the outstanding frame window size to be used,
the maximum frame size allowed.
In most cases a pre-configured keyword will suffice. The currently
defined keywords are given in the subsection “Predefined Configuration Values” of
this section. If a different set of values is required, then different
values for the 'POLL' and 'SELECT' codes may be entered here in
the standard poll and select format in hexadecimal.
- appl. no.
Application number (Application dependent - has
no effect on protocol).
- inst. no.
Institution number (Application dependent - has
no effect on protocol).
- brch. no.
Branch number (Application dependent - has no effect on
protocol).
- wkst. no.
Workstation number (Application dependent - has
no effect on protocol).
- area no.
Area number (Application dependent - has no effect
on protocol).
 |
 |  |
 |
 | NOTE: The five parameters above are for the use of the application
and can be set to any value desired. They can be accessed by the
application from the Logical Terminal Table using the zinfo() library
function. |
 |
 |  |
 |
- name
Choose a meaningful description of the LAP-B link, preferably
including a reference to the location of the remote end of the link.
This field will be used in some ZMNTR displays. It may also be acessed programmatically
using the zinfo() library function.