Starting and Controlling Processes With TACL
Guardian User’s Guide — 425266-001
4 -8
Using a Command (OBEY) File
Using a Command (OBEY) File
A command file is an EDIT disk file (file code 101) that contains one or more TACL
commands. You use the OBEY command to direct the TACL program to read the
command file and execute the commands sequentially.
To put comment lines in command files, use the COMMENT command. Comments can
occupy more than one line, but each line must begin with the COMMENT command.
This example shows a command file named $GERT.STEIN.NFO that issues the three
commands WHO, FILES, and SETPROMPT:
When you use a command file, the commands and the comments are displayed on the
screen. This example invokes the NFO command file shown above. (You can abbreviate
the OBEY command with an O.):
The TACL program reads the NFO file, executes the commands sequentially, and
displays this information:
COMMENT -- Execute a WHO Command
WHO
COMMENT -- List all files in $GERT.STEIN
FILES $GERT.STEIN
COMMENT -- Set my TACL prompt to my current volume
SETPROMPT VOLUME
14> O $GERT.STEIN.NFO
COMMENT -- Execute a WHO Command
WHO
Home terminal: $GERT
TACL process: \MEL.$Z103
Primary CPU: 4 (VLX) Backup CPU: 5 (VLX)
Default Segment File: $GERT.#6539
Pages allocated: 8 Pages Maximum: 1024
Bytes Used: 13364 (0%) Bytes Maximum: 2097152
Current volume: $GERT.STEIN
Saved volume: $WELL.RHALL
Userid: 6,66 Username: SUPPORT.STEIN Security: "NUNU"
COMMENT -- List all files in $GERT.STEIN
FILES $GERT.STEIN
$GERT.STEIN
BELL BOOK CANDLE NFO PATIENCE SARAH
COMMENT Set my TACL prompt to my current volume
SETPROMPT VOLUME
$GERT 15>
Содержание 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 ...