Kbase P7001: 'Press space bar to continue' message when client is disconnected
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/18/2006 |
|
Status: Unverified
SYMPTOM(s):
Database <db name> not connected. (1006)
** Unable to run startup procedure <procedure name>(492)
"press space bar to continue" message is displayed at client's station
Character based application receives error messages
These errors were not displayed in previous version
CHANGE:
Application was modified from pervious version
CAUSE:
Client session was disconnected from the server using proutil or promon.
FIX:
The error messages displayed in this case are warranted and normal processing behavior.
In order to prevent the messages from being displayed in a client's work station when he/she has been disconnected abruptly, write code in the application to test for database connectivity and suppress these messages. For example the following code would run while there is a valid database connection and suppress the error messages when the database is disconnected:
REPEAT WHILE (CONNECTED("Sports2000"))
ON ERROR UNDO,LEAVE
ON STOP UNDO, LEAVE
ON QUIT UNDO, LEAVE
ON END-KEY UNDO, LEAVE:
RUN ReadCustomer.p.
END.
PAUSE 0 BEFORE-HIDE.
QUIT.
Where ReadCustomer.p. is a procedure accessing the database. For example:
FIND FIRST customer NO-LOCK NO-ERROR.