How To Start/Stop The Managed Agent On AS400

You can start/stop the managed agent from the command line (green screen) by following the steps below:

  1. Start the QSHELL by typing STRQSH at the command prompt.
  2. Change to the JDE_HOME/bin directory by typing <install_dir>/JDE_HOME/bin.
    *** The <install_dir> refers to the installation directory in the IFS
  3. To start the agent enter: startAgent &
    *** The & allows the agent to start as a background job so that it will not stop when you leave the QSHELL
  4. To stop the agent enter: stopAgent
  5. To restart or bounce the agent enter: restartAgent

You will want to run this in your startup script with a user that has a job queue that is not able to be interrupted.  Because of this, QINTER is not a very good choice.  The user will also need the following permissions: *ALLOBJ, *SAVSYS, *JOBCTL & *SECADM.

Also covered on Oracle’s My Support page ID 659949.1

Tags: , , , , , , , , , , , , ,