PH-STATUS

Man Page Index


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.

 

COMMAND SYNTAX

PH-STATUS {task-id n} {(Options}

 

SYNTAX ELEMENTS

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.

 

NOTES

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.

 

STATUS CODES

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.

 

EXAMPLE

jsh SALES ~ -->PH-STATUS

jBTP Process status at 06 JAN 1999 17:21:25   06 JAN 1999            Page 1

TASK-ID..LINE. ACCOUNT.... STARTER-ACC DATE....... TIME.... STATUS OP OUTFL#
SALESREP 101  SALES        SALES       06 JAN 1999 09:15:02      A        12
INVUP    103  INV          ACCOUNTS    06 JAN 1999 10:30:55      T  T
ACC3     130  ACCOUNTS     ACCOUNTS    06 JAN 1999 13:00:40      K        42
TEL.LIST 999  ADMIN        ADMIN       06 JAN 1999 15:06:20      A         6

 

 

 

 

 


JBTP