Keeping or Terminating the Server Session: KEEP/DROP

When you CALL or EXEC a procedure, the WebFOCUS Server on which the procedure resides opens a server session for that procedure. You can use the KEEP or DROP keyword in the CALL or EXEC command to determine the behavior of that server session.


Leaves the server session active for reuse by subsequent calls. KEEP is the default value.


Terminates the server session.

Depending on your application, setting one or the other can improve performance. For more information, see Persistence Management.

Note: The KEEP keyword in the CALL or EXEC command is different from the GOTO END KEEP command, described in Optimizing Performance: Data Continuity and Memory Management.