OSI/TS Configuration and Management Manual

NonStop Kernel File-System Interface
OSI/TS Configuration and Management Manual424831-001
7-12
SETPARAM 1
The SETPARAM operations and examples of SETPARAM calls are discussed in
the following subsections.
SETPARAM 1
SETPARAM 1 sets or retrieves the remote DTE address associated with the
OSI/TS subdevice you have opened. OSI/TS has no default setting for this
parameter. If you want to be able to make outgoing calls through the X.25
subdevice, you must include the address. The operator can use SCF to set this
attribute, or your application can set it using the following:
remote^dte
contains the called address (remote DTE address) assigned to outgoing
connect requests issued through this subdevice, or contains the retrieved
calling address for incoming attach requests.
size
contains the length of the address, in digits. The maximum size is 15
decimal digits.
To clear the current value, set size to 0 and omit the remote^dte
specification; the subdevice can no longer be used to initiate transport
connections. In this case, the procedure call would be as follows:
CALL SETPARAM ( filenum, 1, , size )
Your application can fetch the remote DTE address currently associated with this
subdevice using the following:
12 Set or fetch security parameter to be validated in incoming CR-
TPDUs.
13 Set or fetch multiplex parameter.
14 Set or fetch local TSEL.
15 Set or fetch local TSEL.15Set or fetch remote TSEL.
size := 12;
remote^dte ':=' "916333477701";
CALL SETPARAM ( filenum, 1, remote^dte, size );
CALL SETPARAM ( filenum, 1, , , old^remote^dte, size
);
Table 7-3. SETPARAM Functions
SETPARAM
Operation Function