Restarting Application Engine Programs
You can restart an Application Engine program in one of these ways:
-
From the command line.
-
From a process request page.
Note:
The following procedures for restarting a failed Application Engine program assume that you have rectified the error that caused the program to fail in the first place. For instance, suppose the name of a referenced table has changed. Regardless of how many times you restart the program, it will continue to fail until you modify all references to the old table name.
Restarting from the Command Line
Normally, only developers and system administrators use the command line for restarting Application Engine programs. Users, in most cases, should not be expected to use this method.
You can use the command line option to restart programs that run on the client or the server. Application Engine references only the process instance of the failed process. Therefore, if you run a process on the client and it fails, you can restart it from the server using the server command line. Likewise, if you run a process from the server and it fails, you can restart it from the client using the command line.
To restart an Application Engine program from the command line:
-
Collect the command line values associated with the failed program.
These values include database type, database name, user ID and password, run control ID, program name, and process instance. You can find these variables in the Process Details dialog box, the corresponding state record, or the Application Engine Run Control table. Where the values reside depends on how you invoked the program. For instance, if you invoked the program using the command line or from outside of PeopleSoft Process Scheduler, then you cannot view details associated with the program run in the Process Details dialog box.
-
Enter the following command line syntax at the command prompt, substituting the values from the previous step:
PSAE.EXE −CT DB_TYPE -CD DB_NAME -CO OPRID -CP PASSWORD -R RUN_CONTROL -AI PROGRAM_NAME -I PROCESS_INSTANCENote:
Some database platforms also require that you include a server name in the argument list.
Restarting from a Process Request Page
The only programs you can restart from a process request page are those that run on the server.
To restart an Application Engine program from a process request page:
-
Open PeopleSoft Process Scheduler by selecting .
-
Locate the run control ID number of the program to restart.
-
To display the details of the failed process, click the Process Detail link.
-
On the Process Request Details page, select Restart Request and click OK.
Bad Restart Errors
If you attempt to restart a process that completed successfully according to Application Engine, you will receive a bad restart message. You will also get this message if your Application Engine application is defined with restart disabled.