Define Process Manual

Define Process Manual131360 3-1
3
Using Define Process Commands
Using Define Process Commands
To use Define Process commands, the TACL process that you are using must be named.
You can use the STATUS *,TERM command on the TACL screen to check whether your
TACL process is named; if it is, you can proceed with these exercises.
To use the Define Process commands from any TACL process, follow these steps:
1. Type the TACL command, DP, to put the Define Process directory in the TACL
process #USELIST. Type the following:
DP
or if you need the fully-qualified name, type:
:UTILS:DP
2. Run the PERUSE and FUP processes.
a. Type the following DP command to create a PERUSE process in your local
system:
DP PERUSE
You will see the “pstart:” message, which confirms that your defined process is
now started and running.
b. Type the following DP command to start another defined process:
DP FUP /PNAME FP/
The symbolic name FP is recommended so that you can easily recognize the
background process you have entered.
Both defined processes are now running, ready to accept commands from you.
c. Type the command PINFO to get basic information about your defined
processes.
Note that the name for the PERUSE defined process is the same as its program
name. However, the defined process, FUP, is different; its name is FP.
The input queues (for queuing input commands) are shown to be empty, as are
the output queues (for receiving output information from the processes). Both
processes are ready to accept commands.
d. Type the command PERUSE.
Note that the TACL history number (enclosed in hyphens) precedes the
PERUSE prompt (_) and keeps increasing as you continue to issue commands to
your defined process.
e. Press BREAK to return to TACL.