HP TACL Programming Manual page 115

Tandem advanced command language
Table of Contents

Advertisement

To retrieve the current settings of the INLINE variables, expand the variables (using
square brackets) or use the ENV command. The default value for #INLINEPREFIX is
NULL.
Generating Input
To define the inline prefix, use the #INLINEPREFIX built-in variable or the
INLPREFIX command. The following command sets the prefix to +:
#SET #INLINEPREFIX +
When TACL passes a prefixed line to a process, it first removes the prefix and the
space. If a prefixed line contains square brackets, TACL evaluates them before
sending the line. TACL strips comments in == (double equal sign) or { } (enclosing
braces) format from prefixed lines. If a prefixed line contains only the prefix, TACL
sends a blank line to the process.
If an unprefixed line generates a prefixed line, TACL passes the prefixed line to the
process as its input.
In addition to program-defined termination commands, you can use the #INLINEEOF
built-in function to pass an EOF to an inline process.
Lines sent as input to processes started with the INLINE option are not copied to the
TACL OUT file unless you set #INLINEECHO to a nonzero value.
Use the macro in Figure 5-1, inline_fup, to set the INLINE prefix, start a FUP
process, and send commands to FUP. Input comes from the TACL macro; output goes
to the home terminal. To run this macro, load the associated file and enter:
12> inline_fup
The macro displays the FUP banner, the two commands, and FUP responses:
2> LOAD /KEEP 1/ INLINEEX
Loaded from $DATA.TEST.INLINEEX:
INLINE_FUP
3> inline_fup
File Utility Program - T9074C31 - (12FEB92)
Copyright Tandem Computers Incorporated 1981,1983,1985-1992
info taclcstm
CODE
$DATA.TEST
TACLCSTM
101
info mykeys
CODE
$DATA.TEST
MYKEYS
101
exit
107365 Tandem Computers Incorporated
Initiating and Communicating With Processes
EOF
LAST MODIF
76
11JAN92 20:43
EOF
LAST MODIF
1306
1JUN91 15:19
Using the INLINE Facility
System \NY
OWNER RWEP TYPE REC BLOCK
167,1 NO-O
OWNER RWEP TYPE REC BLOCK
167,1 NO-O
5–7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents