Exchange/RJE Manual
SETMODE Procedure
Exchange/RJE System Procedure Calls
104698 Tandem Computers Incorporated 5–29
This field can have the following values:
0 The status specified during system generation
1 SECONDARY status
2 PRIMARY status
3 PRIMARY status (specifies both SECONDARY and PRIMARY status, but
PRIMARY takes precedence)
The PRIMARY or SECONDARY status of a system controls the behavior of that
system in the event that both the local and the remote system bid for the line at the
same time. A system that is designated SECONDARY waits three seconds
(typically) between bids for the line. The system that is designated PRIMARY
waits one second (typically) between bids for the line. If both a SECONDARY and
a PRIMARY system bid for the line at the same time, the PRIMARY system will
bid again first, before the SECONDARY system. Thus, the PRIMARY system will
gain control of the line and transmit first. The status of the local system and the
remote system should be complementary; both systems should not have the same
status.
param1
.<15>
specifies the type of terminal to be emulated, or the type of blocking to perform, as
follows:
0 2780 emulation or 2780 blocking
1 3780 emulation or 3780 blocking
If you are using the line server in block mode without blocking, the type of
emulation you specify here does not matter; this bit is ignored by a block mode
without blocking line server.
param2
specifies whether or not you wish to supply a telephone number to establish the
connection, as follows:
0 A telephone number is not supplied. Use this for nonswitched (leased) lines,
manual dialing, or when the local system is expecting to answer an incoming
call.
1 A telephone number is supplied in the next WRITE or WRITEREAD call. Set
this parameter value if you want to use an ACU or a user-exit procedure. If
specified, you must follow the call to SETMODE with a call to WRITE or
WRITEREAD that passes the telephone number to the line server.
The telephone number can be up to 32 characters in length and can contain
parentheses, hyphens (-), blanks, slashes (/), vertical bars (|), equal signs (=),
and less-than symbols (<), in addition to the digits 0 through 9.