Using the INLINE Facility
Initiating and Communicating With Processes
5–8
107365 Tandem Computers Incorporated
Figure 5-1. Communicating With FUP
?SECTION inline_fup MACRO
#FRAME
#PUSH #INLINEPREFIX == Create a new level of
== #INLINEPREFIX
#SET #INLINE == Set the prefix to "+"
FUP /INLINE/ == Start FUP with the INLINE option
+ info taclcstm == Send FUP a command
+ info mykeys == Send FUP another command
+ 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| == Define the script:
// SECURE *,"NUNU" == Resecure all files
// EXIT == Finished
]
#PUSH #INLINEPREFIX == Save the current prefix
INLPREFIX // == Set the new prefix
FUP/INLINE/ == Start FUP in INLINE mode
getinfo == Input the script as if typed here
#POP #INLINEPREFIX == Restore the previous prefix
#UNFRAME