...
qsub -koed -doe
Means direct write both the job's output and error files to the Output_path and Error_path if host:path is usecp-able from the primary exec host. If they are not, issue a warning in mom log and do normal spooling. When the job completes successfully, remove the output and error files either from their directly written location or from $PBS_HOME/spool. If the job is unsuccessful, leave the files in place or stage them to Output_path and Error_path if they were spooled.
qsub -keo -de
Means direct write both files to user's local home directory (does not matter if it is usecp-able in this case, this is existing -koe functionality), then remove only the error file upon successful job completion.
...