Working with PSADMIN Exit Codes
The following table lists most PSADMIN command line options for the application server and Process Scheduler server and their return codes. This can provide insight into the return codes displayed when using PSADMIN from the command line or in scripts. In general, PSADMIN returns 0 for success and non-zero when an error occurs.
Note:
N/A indicates the command is not applicable to that server.
PSADMIN command line return codes (Table 1 of 4)
| Command | Application Server | Process Scheduler |
|---|---|---|
|
0 |
N/A |
|
0 |
N/A |
|
0 |
N/A |
|
0 |
N/A |
|
-10 |
N/A |
|
0 |
0 |
|
275 |
275 |
|
265 |
1 |
|
0 |
N/A |
|
1 |
N/A |
|
0 |
N/A |
|
N/A |
0 |
|
N/A |
0 |
|
0 |
0 |
|
235 |
235 |
|
0 |
0 |
|
235 |
235 |
|
0 |
N/A |
|
235 |
N/A |
Continuation of the table listing the PSADMIN command line return codes (Table 2 of 4)
| Command | Application Server | Process Scheduler |
|---|---|---|
|
-1 |
N/A |
|
235 |
N/A |
|
0 |
N/A |
|
235 |
N/A |
|
0 |
N/A |
|
235 |
N/A |
|
0 |
0 |
|
235 |
235 |
|
0 |
0 |
|
0 |
0 |
|
0 |
0 |
|
235 |
235 |
|
235 |
235 |
|
235 |
235 |
|
N/A |
0 |
|
N/A |
235 |
|
0 |
0 |
|
235 |
235 |
Continuation of the table listing the PSADMIN command line return codes (Table 3 of 4)
| Command | Application Server | Process Scheduler |
|---|---|---|
|
0 |
0 |
|
235 |
235 |
|
0 |
N/A |
|
235 |
235 |
|
0 |
0 |
|
0 |
0 |
|
0 |
0 |
|
0 |
0 |
|
0 |
0 |
|
0 |
0 |
|
0 |
N/A |
|
0 |
N/A |
|
0 |
N/A |
|
0 |
N/A |
|
-1 |
N/A |
Continuation of the table listing the PSADMIN command line return codes (Table 4 of 4)
| Command | Application Server | Process Scheduler |
|---|---|---|
|
235 |
N/A |
|
0 |
N/A |
|
235 |
N/A |
|
25 |
N/A |
PreloadFileCache not set in PSAPPSRV.CFG. |
-1 |
N/A |
PreloadFileCache set in PSAPPSRV.CFG but not in database. |
1 |
N/A |
PreloadFileCache set in PSAPPSRV.CFG and in database. |
0 |
N/A |
|
235 |
N/A |
Domain is not started. |
1 |
0 |
|
0 |
0 |
Domain is not started. |
0 |
0 |
|
235 |
235 |
|
0 |
235 |
|
0 |
235 |