API-Aware Versus API-Unaware Tasks
You need to understand the differences between API-aware and API-unaware processes.
API-Aware
An API-aware process is a process that properly updates its process status through the type-specific API that is provided, such as COBOL. The application process has the responsibility of updating the Process Request table (PSPRCSRQST) with status information.
As the processes within a job must notify the server of the run status when they finish, the processes in the job definitions must be API-aware. This is how the system decides to continue with the next job process.
API-Unaware
API-unaware processes are programs that have no defined program interface to PeopleSoft Process Scheduler, such as CLOCK.EXE or WINWORD.EXE. Because API-unaware processes do not have the program interface to update the Process Request table in PeopleSoft Process Scheduler, the PeopleSoft system cannot determine whether the process finished successfully. Consequently, all API-unaware processes have a run status of Success to indicate that they were started successfully.
Note:
A status of Success with an API-unaware process does not necessarily indicate that the process finished successfully.
API-unaware processes that are logged or monitored require manual clean up. That is, you must manually cancel or delete initiated requests that have failed.
If the API-aware option is selected for any process that is not API-aware, PeopleSoft Process Scheduler includes this process in the concurrent task count. This can result in improper server load balancing.
Setting this field for custom processes is not sufficient. You must include the code in your process to update the Process Request table to the appropriate run status.