Define Process Manual

Issuing Commands to a Defined Process
2-20 131360— Define Process Manual
Process Definition Commands
To exit from passthrough mode and return to the TACL prompt, type CTRL-Y or
BREAK.
Considerations
The BREAK key is processed by TACL and cannot be passed to a defined process.
If a process depends on the BREAK key to cancel processing, you can stop
processing only by stopping the process. If a process produces output in which you
are not interested, use the TOSS command to delete the output.
If a command is issued a NOWAIT or the BREAK key is pressed during output, use
the WAIT, POUT, or PSHOW commands to see the output.
If history processing is enabled for a process, any FIX command text (such as for
the EDIT command, FIX, and not the FC command) that is processed by the process
and not by TACL, is offset to the left by the number of characters in the history
number plus two for the surrounding dashes. This is a side effect of the fact that
TACL is prompting your terminal on behalf of the process and the process does not
know that TACL has inserted the history number into its prompt. To compensate for
this offset, align your cursor with the portion to be fixed, press the space bar once
for every digit in the current history number, then press it twice. You might wish to
disable history (NOHISTORY) with such a process.
Some command interpreters, such as FUP, use the record length returned from
DEVICEINFO for the output record length (132 characters for a defined process)
since the OUT file is the TACL process. This causes the list of files returned from a
FUP FILES command to be folded at 80 characters and not formatted for the
terminal. To correct this problem, use a REPORTWIDTH 80 command in FUP. For
TACL and PERUSE, use #WIDTH and NUMCOL, respectively, to set the actual
record length to 80.
One EOF can be pending for a process. All other forms of process input can be
stacked to any level.
Since you can send an EOF to a process only with the command process/EOF/,
where process is the current process, you should define a function key to issue this
command to the current process. This allows you to send an EOF to the process
while in passthrough mode.
Before a command is issued to a process, the process is restarted, if necessary. If the
process stops while issuing NOWAIT commands, the fact that it stopped is not
detected, and the process is not restarted. The commands are put on the process’s
input queue to be read when the process is restarted.