The Question is:
How can I from the DCL level check that the Advanced Server V7.2A file
service is actually working. I would like to make a DCL procedure to send me
an alarmif it is unavailable to the clients ?
Ratex Electronics ApS
The Answer is :
Execute the command procedure:
This procedure will define a variety of nifty commnads, one of which
is "PWSHOW" (@SYS$MANAGER:PWRK$SHOWSYS.COM).
You will want to check the output of that command when you know the
server is running, and base your com file comparisons on that.
The key process is PWRK$LMSRV, as that is the file server process.
If the file server process vaporizes, your file server is history.
Other processes of interest are (and your server may not be configured
to have all of these) include the following:
NETBIOS - The DECnet layer
PWRK$NBDAEMON - The NetBEUI layer
PWRK$KNBDAEMON - The TCP/IP layer
PWRK$LICENSE_R - The license registrar
PWRK$LICENSE_S - The license server