How To Start/Stop The Server Manager Agent On AS400
You can start/stop the managed agent from the command line (green screen) by following the steps below:
- Start the QSHELL by typing STRQSH at the command prompt.
- 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 - 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 - To stop the agent enter: ./stopAgent
- 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