![HP Guardian Скачать руководство пользователя страница 79](http://html.mh-extra.com/html/hp/guardian/guardian_user-manual_165061079.webp)
Defining Function Keys and Writing Macros
Guardian User’s Guide — 425266-001
5 -3
Creating a Library File for Your Function Keys
Inserting Comments in a Library File
You can add comments to your library file in three ways:
•
Begin a comment line with the COMMENT command.
•
Enclose the comment in braces ({ }). You can embed a braced comment in the
middle of a command.
•
Introduce the comment with two equal signs (==). A comment beginning with ==
must either begin a line or follow all other text on the line.
TACL ignores comments when you press a defined function key.
Writing an Alias Definition
An alias definition provides an alternate name for a TACL command. For example, the
F1 key can be an alias for the FILES command as shown in the example below.
To include comments in an alias definition, use braces ({ }) or double equal signs (==);
you cannot use the COMMENT command because this definition can contain only one
command.
These examples show alias key definitions for some frequently used commands:
?SECTION F1 ALIAS
FILES
?SECTION F2 ALIAS
FILE{Display information about my files}INFO
?SECTION F3 ALIAS
PERUSE
== Start PERUSE
?SECTION F4 ALIAS
FILENAMES
== Display file names
?SECTION F5 ALIAS
== Display the date and time
TIME
?SECTION SF16 ALIAS
LOGOFF
After you load these definitions, function keys F1 through F5 will be aliases for the
commands FILES, FILEINFO, PERUSE, FILENAMES, and TIME, respectively. SF16
is an alias for the LOGOFF command.
If the command included in an alias definition accepts command arguments, you can
enter values for these arguments when you use the function key, as described in
Passing
a Value to an Alias Definition
on page 5-7.
Содержание Guardian
Страница 24: ...About This Guide Guardian User s Guide 425266 001 xxii Your Comments Invited ...
Страница 30: ...Part I Using the Compaq Tandem Advanced Command Language TACL Guardian User s Guide 425266 001 ...
Страница 100: ...Part II Managing Files Using the File Utility Program FUP Guardian User s Guide 425266 001 ...
Страница 146: ...Part III Managing Disk and Tape Processes Guardian User s Guide 425266 001 ...
Страница 232: ...Backing Up and Restoring Disk Information Guardian User s Guide 425266 001 11 26 Backcopy Examples ...
Страница 234: ...Part IV Using the Spooler and Its Utilities Guardian User s Guide 425266 001 ...
Страница 248: ...Introduction to the Spooler Guardian User s Guide 425266 001 12 14 Sending Output to a SPOOL DEFINE ...
Страница 300: ...Performing Routine Spooler Operations Using Spoolcom Guardian User s Guide 425266 001 14 38 Problem Solving Summary ...
Страница 322: ...Part V Security Features and Other Guardian Utilities Guardian User s Guide 425266 001 ...
Страница 368: ...Monitoring Event Messages Guardian User s Guide 425266 001 17 14 Using the Event Viewer ...
Страница 378: ...Displaying Version and System Information Guardian User s Guide 425266 001 18 10 Task 2 Interpret SYSINFO Output ...
Страница 410: ...Monitoring Hardware Components Guardian User s Guide 425266 001 19 32 Automating System Monitoring ...
Страница 460: ...Index Guardian User s Guide 425266 001 Index 24 Special Characters ...