Figure 5-6 Retrieving The Tacl In File Name; Table 5-4 Functions And Options Used With Inv And Outv - HP TACL Programming Manual

Tandem advanced command language
Table of Contents

Advertisement

Table 5-4 lists the functions and options that support communication through INV and
OUTV. You can request waited or nowaited communication.
Table 5-4. Functions and Options Used With INV and OUTV
TACL Command or Function
RUN or #NEWPROCESS with INV and OUTV variables
specified
#APPEND(V) to INV variable
#EXTRACT(V) from OUTV variable
#WAIT
Set INV variable to #EOF or send an exit message
appropriate for the process
Determining the Name of the IN File
TACL assigns a name to the IN file used by the new process. The name consists of the
name of your TACL process, followed by a period, a number sign, the letter S, and a
number in the range 0 through 32767 ($T127.#S3, for example). Use the routine in
Figure 5-6, getname, to start a FUP process and retrieve the name of its IN file. To use
the routine, load the associated file and enter:
getname
The following session shows sample output:
12> getname
The IN file name is: $L11.#S9.
Figure 5-6. Retrieving the TACL IN File Name
?SECTION getname ROUTINE
#FRAME
#PUSH infile_name in_var out_var prompt_var status_var
FUP /INV in_var DYNAMIC PROMPT prompt_var, &
OUTV out_var, STATUS status_var, NOWAIT/
SINK [#WAIT prompt_var]
#SET infile_name [#VARIABLEINFO /SERVER/ in_var]
#OUTPUT The IN file name is: [infile_name].
#UNFRAME
107365 Tandem Computers Incorporated
Initiating and Communicating With Processes
Description
Starts a process.
Sends a request to the process.
Retrieves a result.
Waits until a variable is empty (read)
or full (write).
Closes the process.
Using INV and OUTV
5–15

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents