Stopping OMPROUTE

OMPROUTE can be stopped in several ways:
  • From MVS™, issue P procname or MODIFY procname,KILL.

    If OMPROUTE was started from a cataloged procedure, procname is the member name of that procedure. If OMPROUTE was started from the z/OS® shell, procname is useridX, where X is the sequence number set by the system. To determine the sequence number, from the SDSF LOG window on TSO, issue /d omvs,u=userid. This will show the programs running under the user ID userid. The procname value can also be set using the environment variable _BPX_JOBNAME and then starting OMPROUTE in the shell background.

  • From a z/OS shell superuser ID, issue the kill command to the process ID (PID) associated with OMPROUTE. To find the PID, use one of the following methods:
    • From the MVS console, issue D OMVS,U=userid, or issue /D OMVS,U=userid at the SDSF LOG window on TSO (where userid is the user ID that started omproute from the shell).
    • Issue the ps -ef command from the z/OS shell.
    • Write down the PID when you start OMPROUTE.

For information about the environment variable _BPX_JOBNAME, see z/OS UNIX System Services Planning. For information about the D OMVS,U=userid command, see z/OS MVS System Commands.