MSJOB
MiddleMan •
ODBC/32 •
JDBC • FrontMan
• NFT
MSJOBCMD
You can control the MSJOB processes
through either of these two utilities:
MSJOBCMD
You must have SM or OP capability to
use this utility.
The 'loopback' feature of you network
interface must be started. Use "NETCONTROL START;NET=LOOP"
This application is designed to run
from a JOB or SESSION on the HP e3000 that is running the Minisoft Client
Server listener (MSJOB). The purpose of this utility is to display the
current users of MSJOB and to optionally stop the MSJOB.
Options
- PARM=0
- Display current listeners and
connections.
- PARM=1
- Display current listeners and
connections. If no current connections, then stop the job or
listener.
- PARM=2
- Display current listeners and
connections. Stop the job or listener regardless of the users.
- PARM=3
- Display current listeners and
connections.
- PARM=4
- Start a listener using the INFO
parameter. Use a format similar to the MSJOB
indirect file.
INFO="5|30007|0|JDBCSRVR.MM.MINISOFT;PRI=DS S"
- PARM=5
- Kill all processes of a listener,
leave the listener active.
- INFO=(port number)
- Port number to use for above
commands. If not given, then PARM values apply to job.
Details
RUN MSJOBCMD;PARM=0 Will display the
current users.
RUN MSJOBCMD;PARM=1 Will display the
current users and optionally stop the job if the number of users is zero.
RUN MSJOBCMD;PARM=2 Will display the
current users and stop the job regardless of the number of users.
RUN
MSJOBCMD;PARM=2;INFO="30006" Will display the current users for
the listener on port 30006 and stop the it regardless of the number of
users.
Output JCWs
-
MSJOBUSERCOUNT
MSJOBSHUTDOWN
MSJOBUSERCOUNT is used to display the
total number of active server connections on this server. The value will
be -1 if there is an error.
MSJOBSHUTDOWN will be set to TRUE if a
shutdown command is sent to the JOB. Otherwise it will be set to FALSE.
Input JCWs
-
MSJOBPORT
MSTIMEOUT
MSTRACE
Set MSJOBPORT to the value of your
MSSERVER port. The default value is 30000.
Set MSTIMEOUT to the number of seconds
to wait for a connection. The default is 60.
Set MSTRACE to 7 to display the
version number. The default is zero.
(Version 1.1.0.2)
Added support to isolate an
individual listener based upon port number given in the INFO parameter.
(Version 1.2.1.0)
-
Added PARM=4 and 5
Update
-
Updates are available to support this feature.
Please contact your Minisoft Sales or Support office about receiving
this update.
-
* This will replace ALL MiddleMan
files on your system. Be sure to have a current backup before
proceeding.
Example:
-
!JOB STOPRUN,MANAGER.SYS
!SETVAR MSJOBPORT 31000
!SETVAR MSTIMEOUT 20
!RUN MSJOBCMD.MM.MINISOFT;PARM=1
!if msjobshutdown
!echo job down
!else
!echo Users on MSJOB: !msjobusercount
!endif
!EOJ
|