Figure 5-1 Communicating With Fup; Figure 5-2 Building A Script - HP TACL Programming Manual

Tandem advanced command language
Table of Contents

Advertisement

Initiating and Communicating With Processes
Using the INLINE Facility
5–8
Figure 5-1. Communicating With FUP
?SECTION inline_fup MACRO
#FRAME
#PUSH #INLINEPREFIX
#SET #INLINEPREFIX +
FUP /INLINE/
+ info taclcstm == Send FUP a command
+ info mykeys
+ exit
== Terminate the FUP process
#UNFRAME
Use the macro in Figure 5-2, script, to build a script definition for use by a FUP
process, using double slash characters (//) as the prefix. The syntax is:
script
When you invoke this macro, it displays the FUP banner, the SECURE command, and
FUP results.
Figure 5-2. Building a Script
?SECTION script MACRO
#FRAME
[#DEF getinfo TEXT |BODY|
// SECURE *,"NUNU"
// EXIT ==
Finished
]
#PUSH #INLINEPREFIX
INLPREFIX //
FUP/INLINE/
getinfo
#POP #INLINEPREFIX
#UNFRAME
107365 Tandem Computers Incorporated
== Create a new level of
== #INLINEPREFIX
== Set the prefix to "+"
== Start FUP with the INLINE option
== Send FUP another command
== Define the script:
==
Resecure all files
== Save the current prefix
== Set the new prefix
== Start FUP in INLINE mode
== Input the script as if typed here
== Restore the previous prefix

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents