Purpose
The ENABLE NPCOMM command is used to produce messages related to the reasons, the loss, and the resumption of communication for an NP. The DISABLE NPCOMM command may be used to suppress the messages permitted by this command. The DISPLAY TDP command may be used to obtain the current settings.
Syntax
- STATUS
- Requests that a message be produced if a communication problem requires that communication with the database be restored or initialized.
- DETAIL
- Requests that messages be produced detailing the communication problem, detailing the affected processing, and indicating when communication has been restored or initialized
Usage Notes
NPCOMM STATUS is enabled by default.
Restoring communication occurs in response to a communication problem from which it may be possible to recover without disrupting requests to, and responses from, the database. If restoring communication fails, then communication is initialized.
Initializing communication occurs when the NP is started, and thereafter in response to a communication problem which cannot be recovered without disrupting requests to, and responses from, the database.
Example: ENABLE NPCOMM
ENABLE NPCOMM DETAIL
Completion Message
The following message indicates successful completion of the command:
TDP0401 NPCOMM DETAIL HAS BEEN ENABLED
Resulting Messages
When NPCOMM STATUS is ENABLEd, one or more of the following messages is produced when communication must be restored or initialized:
TDP3511 "npname" IS WAITING FOR COMMUNICATION TO BE ESTABLISHED TDP3513 "npname" COMMUNICATION HAS BEEN RE-INITIALIZED TDP3514 "npname" COMMUNICATION HAS BEEN RESTORED
When NPCOMM DETAIL is ENABLEd, one or more of the following messages is returned when communication must be, or has been, restored or initialized:
TDP3508 NPxxxx direction: COMMUNICATION PROBLEM, "USE REFUSED" TDP3510 NPxxxx direction: WHEN "ESTABLISHING COMMUNICATION" TDP3509 NPxxxx direction: FAILED TO RESTORE COMMUNICATION, "NOT OPERATIONAL" TDP3512 "npname" COMMUNICATION PROBLEM PERSISTS, CURRENTLY RETRIED count TIMES