If I want to properly exit a documentum java job (if params are invalid for example), should I use a system.exit() or is there another way to do it.
As far as I know system.exit closes the virtual machine, does it have an effect on other jobs running?
Definitely don’t use System.exit(). If you’re on a method server this may try to shutdown the server. In most cases this will raise a SecurityException (depending on the security policy defined for the server).
Like Michael said your job is running in the execute method so any return statement from that method should end the job.