The jBASE PH-STATUS command displays status and history information for each jBASE background task process. The information is read from the jBTP logfile. The default location of the logfile is /usr/jBTP/logfile.
PH-STATUS {task-id n} {(Options}
task-id is the name of the jBASE background task process specified in the PH-START procedure. Use an asterisk (*) to indicate that you want all tasks for port number n.
n is the port number of the jBASE background task process for which to limit the display.
Options
P Redirect output to the spooler.
The information displayed in the PH-STATUS screen is contained in columns:
TASK-ID..LINE ACCOUNT. STARTER-ACC DATE....... TIME.. STATUS OP OUTFL#
Column | Description |
---|---|
TASK-ID | is the name identifier give to the jBASE background task process by the PH-START procedure. |
LINE | is the port number running the jBASE background task process. |
ACCOUNT | is the userid/account-name that the jBASE background task process is using for execution. |
STARTER-ACC | is the name of the userid/account from which the jBASE background task process was started. |
DATE | is the date the jBASE background task process was started. |
TIME | is the time the jBASE background task process was started. |
STATUS | is the current status of the jBASE background task process.(see "Status Codes" below). |
OP | indicates the options that were assigned to the jBASE background task process. |
OUTFL# | is the spooler job number where output has been redirected. |
The jBTP log file must be cleared manually, by the PH-CLEAR command.
Code | Description |
---|---|
A | Process is still active. |
S | Process terminated by UNIX system command. |
T | Process terminated normally. |
X | Process terminated incorrectly. Usually because the executing process requires input but there are no more statements left in the command stack. |
K | Process terminated by the PH-KILL command. |
Q | Process queued for port. |
jsh SALES ~ -->PH-STATUS
|
JBTP