Consultor Eletrônico



Kbase 18846: How to implement proshut list on VMS
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/05/1999
How to implement proshut list on VMS


INTRODUCTION:
=============

This knowledgebase tells you how to implement additional functionality
for the progress shutdown on VMS, to give an output of the list of
users currently logged into a database.

PROCEDURAL APPROACH:
====================

Start by making a copy of the progress.cld file located in the dlc
directory for backup purposes.

Edit dlc:progress.cld

Add the following line to the standard qualifier section:

Qualifier LIST

Save the file.

Map your process onto the updated file:

$ set command dlc:progress.cld

Define a foreign command for proshut:

$ proshut :== bin:_mprshut.exe

Then use the following command:

$ proshut <your database> "-C" list

If you have users logged in, you will get output such as below:

usr pid time of login user id tty Limbo?
1 00000420 Tue May 18 17:33:42 1999 JHI TNA1:

If you have no users logged in, you will be returned to the dollar
prompt.


nbi 18/05/99