home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 8 Other
/
08-Other.zip
/
REACTDLC.ZIP
/
reactdlc.doc
< prev
next >
Wrap
Text File
|
1992-12-21
|
4KB
|
94 lines
This program is intended to assist the Communications Manager in
recovering from an adapter failure. The source code may be included
in more complex applications or it may run standalone.
An adapter failure causes the Communications Manager to close the
adapter and it can not be used again until it is reopened. There are
many things that can happen that can cause an adapter failure,
without a hardware failure occurring in the adapter. Some failures
however are Link failures and can be reestablished by the application
attempting to use the link again. In the case of an adapter
failure manual intervention would normally be required without
this program or one like it.
Notes:
1. When an adapter fails this program will attempt
to reactivate the DLC at regular intervals. If
the adapter is in a condition such that it can not
reactivated successfully then this program may
attempt many times. Each attempt will cause one
or two errors to be logged. For this reason the
error log is copied to another file for safe keeping.
Also the error log should be configured to WRAP
instead of extend as the error log could grow very
large in some unattended situations.
2. Messages should be configured not to pop up because
adapter failures generate pop up messages and many
could get queued to the screen.
3. The ACTIVATE_DLC verb is not officially 'external'.
Communications Manager reserves to right to modify
the verb control block if necessary.
4. Link failures also create error log type 17 subtype 2
entries and this program does not distinguish
between the two. If ACTIVATE_DLC is issued when
the DLC is open then no harm is done only a return
code indicating DUPLICATE_DLC.
5. This program must be started before the adapter failure
occurs. It will not recover from and adapter failure
if it is not active during the failure.
6. This program runs in a fullscreen session and writes
status messages to the screen. It may be started in
STARTUP.CMD. It does require CM to be active and will
check every 30 seconds until it is available.
Package Contents:
REACTDLC CBIN - Source code for SDLC
REACTDLC DEFBIN - Def file
REACTDLC LRFBIN - Link response file
REACTDLC MAKBIN - Make file
REACTDLC EXEBIN - Exec version for SDLC adapter 0
REACTDLC DOC - This file
REACTTR EXEBIN - Exec version for Token Ring adapter 0
REACTTW EXEBIN - Exec version for Twinax adapter 0
REACTANY EXEBIN - New function - see below
Format: REACTDLC time_interval
time_interval - Time between attempts to restart the
the adapter with ACTIVATE_DLC. The
time is in seconds and the minimum is
45 seconds. This allows time for the
adapter to determine an error condition
after reactivating.
Example: REACTDLC 50
**************************************************************
New Function: REACTANY EXEBIN
This executable requires three parameters.
1. Time Interval - Number of seconds between 45 and 1000
2. DLC Name - 'IBMTRNET', 'IBMPCNET', 'ETHERAND',
'SDLC', or 'TWINAX'
3. Adapter number - '0' or '1'
Example: REACTANY 50 IBMTRNET 0
Using this version any DLC and Adapter number combination can
be reactivated. It still will only support one DLC and adapter
number combination. It will not recover X.25 adapter failures.