Guardian UsersGuide
Guardian UsersGuide
Abstract
This guide provides basic information about the programs and utilities that are used most often
in the Guardian environment by general system or application users. It also provides more
detailed procedures for system operations, management, and maintenance tasks useful to both
beginning and experienced Compaq NonStop™ Kernel operating system users.
Product Version
N.A.
Supported Releases
This manual supports G06.05 and all subsequent G-series releases, and D48.00 and all
subsequent D-series releases, until otherwise indicated in a new edition.
Ordering Information
For manual ordering information: domestic U.S. customers, call 1-800-243-6886; international customers, contact
your local sales representative.
Document Disclaimer
Information contained in a manual is subject to change without notice. Please check with your authorized
representative to make sure you have the most recent information.
Export Statement
Export of the information contained in this manual may require authorization from the U.S. Department of
Commerce.
Examples
Examples and sample programs are for illustration only and may not be suited for your particular purpose. The
inclusion of examples and sample programs in the documentation does not warrant, guarantee, or make any
representations regarding the use or the results of the use of any examples or sample programs in any
documentation. You should verify the applicability of any example or sample program before placing the software
into productive use.
U.S. Government Customers
FOR U.S. GOVERNMENT CUSTOMERS REGARDING THIS DOCUMENTATION AND THE ASSOCIATED
SOFTWARE:
These notices shall be marked on any reproduction of this data, in whole or in part.
NOTICE: Notwithstanding any other lease or license that may pertain to, or accompany the delivery of, this
computer software, the rights of the Government regarding its use, reproduction and disclosure are as set forth in
Section 52.227-19 of the FARS Computer Software—Restricted Rights clause.
RESTRICTED RIGHTS NOTICE: Use, duplication, or disclosure by the Government is subject to the
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at
DFARS 52.227-7013.
RESTRICTED RIGHTS LEGEND: Use, duplication or disclosure by the Government is subject to restrictions
as set forth in paragraph (b)(3)(B) of the rights in Technical Data and Computer Software clause in
DAR 7-104.9(a). This computer software is submitted with “restricted rights.” Use, duplication or disclosure is
subject to the restrictions as set forth in NASA FAR SUP 18-52 227-79 (April 1985) “Commercial Computer
Software—Restricted Rights (April 1985).” If the contract contains the Clause at 18-52 227-74 “Rights in Data
General” then the “Alternate III” clause applies.
U.S. Government Users Restricted Rights — Use, duplication or disclosure restricted by GSA ADP Schedule
Contract.
Unpublished — All rights reserved under the Copyright Laws of the United States.
Guardian User’s Guide
Glossary
Index
Figures
Figure 8-1. Steps for Creating a File With FUP 8-2
Figure 8-2. Structure of an Entry-Sequenced File 8-8
Figure 8-3. Structure of a Relative File 8-9
Figure 8-4. Key-Sequenced File Format 8-10
Figure 8-5. Structure of a Key-Sequenced File 8-11
Figure 8-6. Possible Record Format: Key-Sequenced File With Alternate
Keys 8-11
Figure 8-7. Structure of a Partitioned File 8-13
Figure 12-1. How Spooler Components Interact 12-3
Figure 12-2. Life Cycle of a Spooler Job 12-5
Figure 12-3. Sample Header Page 12-7
Figure 12-4. Spooler Routing Structure 12-9
Figure 16-1. Passing of Access IDs 16-16
Figure 16-2. Effect of Adopting the Owner ID of a Program File 16-17
Figure 16-3. Employee Record Format 16-17
Figures (continued)
Figure 16-4. Controlled Access to a Data File 16-18
Figure 16-5. Flow Chart: Access Problem Troubleshooting Procedure 16-25
Figure 17-1. Operator Messages and the EMS Environment 17-5
Figure 19-1. Example: Simple System Configuration Diagram 19-2
Tables
Table 1-1. Daily Tasks Check List 1-3
Table 2-1. Sample Remote Passwords 2-6
Table 4-1. Common System Process Problems 4-11
Table 6-1. TACL DEFINE Commands 6-9
Table 7-1. Levels of File Security 7-16
Table 7-2. Common File Problems 7-22
Table 8-1. Parameters of the FUP SET Command 8-3
Table 9-1. SCF Command Summary 9-1
Table 9-2. Common Disk Problems 9-28
Table 10-1. MEDIACOM Commands 10-3
Table 10-2. TAPE DEFINE Attributes 10-9
Table 10-3. Common Tape Subsystem Problems 10-31
Table 11-1. File-Set List Qualifiers 11-6
Table 11-2. Backup Command Options 11-7
Table 11-3. Restore Command Options 11-14
Table 11-4. TAPE DEFINE Attributes for Backup and Restore 11-19
Table 11-5. Backcopy Command Options 11-24
Table 12-1. SPOOL DEFINE Attributes 12-11
Table 13-1. Peruse Commands 13-6
Table 14-1. Spoolcom Commands (Super-Group Users Only) 14-4
Table 14-2. Printer Device States 14-6
Table 14-3. Common Device Errors 14-7
Table 14-4. Spoolcom Commands for Displaying Spooler Component Status 14-8
Table 14-5. Collector Process States 14-10
Table 14-6. Print Process States 14-10
Table 14-7. Common Printer and Spooler Problems 14-36
Table 15-1. Spooler Naming Conventions 15-2
Guardian User’s Guide —425266-001
xv
Contents Tables (continued)
Tables (continued)
Table 15-2. Collector Attributes 15-4
Table 15-3. Compaq-Provided Print Processes 15-6
Table 15-4. Print Process Attributes and PRINT Subcommands 15-10
Table 15-5. Print Device Attributes and DEV Subcommands 15-15
Table 15-6. Location Attributes 15-18
Table 16-1. TACL System Security Features 16-8
Table 16-2. FUP Disk-File Security Features 16-9
Table 16-3. Types of File Access 16-13
Table 16-4. Levels of Disk-File Security 16-13
Table 16-5. Allowed Disk-File Access 16-14
Table 16-6. Common Terminal and Workstation Problems 16-32
Table 17-1. Distributor Processes and Message Destinations 17-4
Table 19-1. Tools to Use for System Monitoring 19-2
Table 19-2. SCF Object States 19-6
Table 19-3. TMF States 19-22
Table A-1. Problem Solving Worksheet A-2
Abstract
This guide provides basic information about the programs and utilities that are used
most often in the Guardian environment by general system or application users. It also
provides more detailed procedures for system operations, management, and maintenance
tasks useful to both beginning and experienced Compaq NonStop™ Kernel operating
system users.
Product Version
N.A.
Supported Releases
This manual supports G06.05 and all subsequent G-series releases, and D48.00 and all
subsequent D-series releases, until otherwise indicated in a new edition.
Document History
Part Number Product Version Published
425266-001 N.A. August 2000
421957-001 N.A. June 1999
142477 N.A. December 1998
117897 N.A. July 1995
089808 N.A. January 1993
The G06.05 edition of this guide (previously known as the Guardian 90 Operating
System User’s Guide) contained these changes:
• Information was added from the former Guardian System Operations Guide, adding
several new sections to this guide and expanding on existing sections.
• Updated display information was added for the Getting File Information (FILEINFO
Command) on page 3-6.
• New parameters for the FUP SET command were added to Table 8-1, Parameters of
the FUP SET Command, on page 8-3.
• Y2K-compliant examples were added and information field descriptions were
updated for VPROC to Section 18, Displaying Version and System Information.
• A description of using SYSINFO for displaying basic information about local and
remote systems was added to Section 18, Displaying Version and System
Information.
• The section about the Disk Space Analysis Program (DSAP) was incorporated into
Section 9, Performing Routine Disk Operations.
• Updated the Subsystem Control Facility (SCF) commands and descriptions in
Table 9-1, SCF Command Summary, on page 9-1.
• C-series references were removed where appropriate.
Section Describes...
Part IV. Using the Spooler and Its Utilities
Section 12, Introduction to the The Spooler subsystem.
Spooler
Section 13, Managing Your Spooler Using Peruse to manage spooler jobs and spooler job
Jobs Using Peruse files.
Section 14, Performing Routine Using Spoolcom, and explains how individual users
Spooler Operations Using Spoolcom can check the status of spooler components and
change attributes of their spooler jobs.
Section 15, Managing the Spooler Using Spoolcom to manage all spooler collector
Using Spoolcom processes, print processes, print devices, and
locations by adding and deleting them from the
spooler and by displaying and modifying attributes
associated with these processes.
Part V. Security Features and Other Guardian Utilities
Section 16, Managing Users and How to implement security features using FUP and
Security the TACL program.
Section 17, Monitoring Event Operator messages and how to interpret them, and
Messages mentions several of the programs you can use to
monitor them.
Section 18, Displaying Version and The VPROC and SYSINFO utilities, which provide
System Information file and system information, respectively.
Section 19, Monitoring Hardware How to perform system monitoring tasks such as
Components checking the status of system hardware components
and key applications.
Appendix A, Problem Solving A process you can use to identify, track, and resolve
Techniques problems that can occur with NonStop™ Kernel
systems.
Manual Describes
Introduction to Tandem NonStop A general introduction to NonStop™ Kernel
Systems systems and online transaction processing
(OLTP)
Guardian Disk and Tape Utilities Command syntax and error messages for Backup,
Reference Manual Restore, Backcopy, DSAP, DCOM, and
Tapecom
File Utility Program (FUP) Reference FUP command syntax and error messages
Manual
Spooler Utilities Reference Manual The Spooler and the command syntax and error
messages for Peruse and Spoolcom
TACL Reference Manual Syntax, operation, results, and error messages for
TACL commands and functions
Safeguard User’s Guide Greater detail for logging on at a terminal
controlled by Safeguard, the subsystem that
supplements system security features
Topic Page
Common Guardian Operations Tasks 1-2
Working With a Daily Check List 1-3
Automating Routine Monitoring Tasks 1-4
Example Check List 1-4
Task Section
Routine system access Section 2, Getting Started With TACL
Working with files Section 3, Managing Files With TACL
Routine process operations Section 4, Starting and Controlling Processes With TACL
Routine user customization Section 5, Defining Function Keys and Writing Macros
Creating DEFINEs Section 6, Creating and Using DEFINEs
Routine file management Section 7, Using FUP for Basic File Management
Advanced file management Section 8, Using FUP for Advanced File Management
Whether your job requires you to staff a help desk, perform tape backups, or serve as a
lead operator or manager of other operators at your site, system operations centers
around the day-to-day operation of a NonStop™ Kernel system, including:
Task Section
Routine disk operations Section 9, Performing Routine Disk Operations
Routine tape operations Section 10, Using Labeled Tapes
Running backups Section 11, Backing Up and Restoring Disk Information
Spooler job operations Section 13, Managing Your Spooler Jobs Using Peruse
Routine spooler operations Section 14, Performing Routine Spooler Operations
Using Spoolcom
Spooler management operations Section 15, Managing the Spooler Using Spoolcom
Supporting users of your system Section 16, Managing Users and Security
Monitoring operator messages Section 17, Monitoring Event Messages
Viewing file or system data Section 18, Displaying Version and System Information
Monitoring system hardware and Section 19, Monitoring Hardware Components
software status
Identifying and solving system Appendix A, Problem Solving Techniques
problems
Topic Page
Using TACL as a Command Interpreter 2-2
Logging On With TACL 2-3
Logging Off With TACL 2-6
Accessing Other Systems 2-6
Changing Your Password 2-8
Logging On With Safeguard 2-9
Getting TACL Help 2-12
Displaying User Information 2-13
Using Your Command History 2-15
You must end each TACL command line by pressing Return. Examples in this guide
assume that you press Return at the end of each command line.
Most TACL commands are short (fewer than 80 characters). They can, however, contain
up to 239 characters on one line. To enter commands longer than 239 characters:
1. End each command line (except the last line) with an ampersand (&).
The TACL program redisplays its prompt with the same line number and an
ampersand at the beginning of the continuation line.
2. Continue entering your command after this ampersand on the continuation line.
These examples show several simple, common ways to enter a TACL command. For
information about entering more than one TACL command per line and other ways to
continue TACL commands over several lines, see the TACL Reference Manual.
When Stein presses Return at the end of this line, the TACL program requests the
password:
TACL 1> LOGON SUPPORT.STEIN
Password:
2. At the prompt, Stein enters the password exactly. The typed password, however, is
not displayed on the screen and thus remains secret.
You can log on with either your user name or your user ID. For example, user
SUPPORT.STEIN can also enter:
TACL 1> LOGON 6,66
Some systems are configured to allow only the blind logon feature, which means the
full-logon feature would not be allowed.
Full Logon
The full logon feature lets you enter your password at the same time you enter your user
name or ID. This is faster, but your password is visible to anyone watching you. For
example, using the same user name from the previous example, with the password ABT
(all uppercase), Stein logs on to the system using the full logon feature:
TACL 1> LOGON SUPPORT.STEIN,ABT
The password is typed after the user name and is separated from it by a comma. When
Stein presses Return at the end of this line, the TACL program lets Stein access the
system (provided the user name and password are valid).
You can also use the full logon feature with your user ID:
TACL 1> LOGON 6,66,ABT
Logon Mistakes
If you make a mistake entering your user name, user ID, or password, the TACL
program displays this message:
*ERROR* Invalid user name or password
If you make three unsuccessful logon attempts, the TACL program ignores any attempts
to log on from your terminal for one minute. All subsequent logon failures also cause
this delay. (Your system manager might set the delay to be longer than one minute.)
A Successful Logon
After you have logged on, the TACL program displays a message similar to this and
issues your first command prompt.
Good Morning. Welcome to \MEL
TACL (T9205D10 - 08JUN92), Operating System D10
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1985, 1987, 1988, 1989, 1991, 1992
CPU 1, backup process in CPU 2
February 20, 1992 9:15:23
(Invoking $SYSTEM.SYSTEM.TACLLOCL)
(Invoking $GERT.STEIN.TACLCSTM)
1>
When you log off, the TACL program clears your screen (if your terminal is a Compaq
model 652X or 653X or if you are running a terminal emulator such as PCT) and returns
the initial TACL prompt (TACL 1>). If the TACL program does not clear your screen,
use the CLEAR option with the LOGOFF command by entering LOGOFF CLEAR.
After you log off, any ASSIGN, PARAM, and DEFINE commands are lost. However,
your variables, such as alias and macro definitions, are not lost unless your segment was
reset. See the LOGOFF command in the TACL Reference Manual for more information.
The TACL program returns the initial TACL prompt, and you can log onto \HERST.
A remote TACL process started this way does not have a backup process. If you want
the remote TACL process to run as a NonStop™ process pair instead, enter:
19> \HERST.TACL / NAME, CPU 1 / 2
TACL 1>
The operating system assigns a name to the process pair and starts the process in CPU 1
with a backup process in CPU 2.
If you don’t know the CPU numbers for the remote system, start the primary process:
19> \HERST.TACL / NAME /
TACL 1>
Then, after you are logged on, determine the CPU numbers for the remote system and
issue a BACKUPCPU command:
3> BACKUPCPU 4
You can also use the SYSTEM or VOLUME command to change your current default
system, then you can start a remote TACL process without specifying the system. For
example, these commands start a TACL process on the system \HERST:
19> SYSTEM \HERST
20> TACL
TACL 1>
Enter YES (or Y) to stop the remote process. Stopping the remote TACL process returns
you to the TACL process on your local system. If you do not want to stop the process,
enter any other character, or press Return.
Do not stop your local TACL process unless it is necessary, because that makes it
impossible for you to access your terminal.
Note. On some systems, the Password program is set up to require that you enter a blind
password (one that is not displayed on your screen) and that you verify your old password
before you can change it. If you have problems running Password, check with your group or
system manager for your system’s requirements.
If this prompt does not appear, the terminal is not controlled by Safeguard software and
you should follow the instructions in Logging On With TACL on page 2-3.
The Safeguard logon prompt accepts only two commands: LOGON and TIME. If you
enter any other command, Safeguard displays this message:
Expecting: LOGON or TIME
This example shows the complete Safeguard logon for SUPPORT.STEIN. The user’s
password (ABT) is shown here although it is not displayed on the screen when entered:
SAFEGUARD 1> LOGON support.stein
Password: ABT
*WARNING* Password Expires 20 May 1992, 12:00
Last Logon: 14 May 1992, 08:02:23
Good Morning. Welcome to \MEL
Because Safeguard can be configured in different ways, this option might not be
available on your system. Check with your group or system manager if you have
questions about changing an expired password.
When you receive the Safeguard logon prompt, you log on normally.
This message tells you that the TACL program needs the correct name of a variable
(such as a TACL command or macro), a built-in (a TACL function or variable that
begins with a number sign “#”), or a file (the name of a program file). In this case,
STATS is none of these; it is a misspelling of STATUS.
If you enter the command name correctly but make a mistake in a command option,
the TACL program lists the options that are legal for that command. For example:
8> STATUS *, USR
STATUS *, USR
^
Expecting one of:
DETAIL GMOMJOBID PRI PROG STOP TERM or USER
• The F16 function key is the TACL HELP key. If you enter the first part of a
command plus a space and then press F16 (without pressing Return), the TACL
program lists the possible options for that point in the command.
This example shows a list of options for the STATUS command. In this example,
the user pressed the F16 key after typing STATUS and a space.
9> STATUS
status
^
Where you typed the helpkey, TACL was expecting /
Or a legal processid or cpu,pin
Or a legal system name
Or a number or an arithmetic expression
(Its value must be between 0 and 15 inclusive)
Or *
Or ,
Or end
Home terminal Name of the terminal where you are logged on. If you are logged on to a
remote system, the terminal name also includes the system name.
TACL process System and process name of your TACL process.
Primary CPU CPU number where your primary TACL process is running and the type of
processor.
Backup CPU CPU number where your backup TACL process is running and the type of
processor.
Default Temporary disk file created by the TACL program to store your variables.
Segment File
Pages allocated Number of pages and bytes of memory that the TACL program can use to
store information.
Bytes used Estimate of the amount of memory already used.
Current Names of your current default disk volume and subvolume. Whenever you
volume specify a partially qualified file name, the TACL program uses the current
defaults for the omitted parts of the file name.
Saved volume Names of your saved default disk volume and subvolume. These are the
defaults that are in effect each time you log on.
The USERS program displays the user’s name, ID, default file security, and default
volume. These defaults are described in Changing Your Default Values on page 3-10.
To get information about all the users in the specified group number, use an asterisk (*)
with a group number. For example, this command displays information about all
members of group 6:
13> USERS 6,*
GROUP . USER I.D. # SECURITY DEFAULT VOLUMEID
SUPPORT.STEIN 006,066 UUUU $GERT.STEIN
SUPPORT.ALICE 006,075 NUNU $GERT.ALICE
To list all users in the specified group, enter the group name followed by a period (.) and
an asterisk (*):
14> USERS PAYROLL.*
If you do not specify a number in the command and have entered fewer than ten
commands during this TACL session, HISTORY displays all your commands beginning
with number one.
To display any specific number of commands, enter a number in the command:
> HISTORY 4
In this example, your previous four commands are displayed:
17> HISTORY 4
14> USERS PAYROLL.*
15> USERS *
16> HISTORY
17> HISTORY 4
To see a command that you issued a specific number of lines back, use a relative number
with ?. Use a negative number to signal a relative number. For example, -3 indicates that
you want to see the command you issued three lines back.
To display a command that begins with a text string, use ? with that string. The TACL
program searches for the most recent command that begins with the string. For example,
if you know you issued a PASSWORD command but can’t remember the line number,
enter ? and enough characters to identify the command:
18> ? PAS
18> PASSWORD
To list the last command you entered, enter ? with no number or text string.
You can also use a relative number. For example, to reexecute command line 11 when
the current line is 19, enter:
19> ! -8
19> USERS SUPPORT.STEIN
To reexcute the most recent command that matches a certain text string, include the text
string with the ! command. The TACL program searches your command history for the
most recent command whose text begins with the same string, then executes it:
20> ! US
20> USERS *
To reexecute the last command you entered, enter ! without a number or text string.
• To recall a command that begins with a specific text string, enter FC and the string:
24> FC USE
24> USERS *
24..
After you select the command, make your changes. The command editing prompt (..)
appears below the line that you recalled. On the prompt line, use the space bar and the
backspace key to position the cursor under the text that you want to change. Do not use
the arrow keys to move the cursor.
Spaces typed after the I or R command are part of the text to insert or replace. If you
want to make more than one change on a line, end the text string with two slashes (//)
and space over to make additional changes as shown below:
25> STAUS *> TERM
STAUS *> TERM
^
*ERROR* Name of variable, builtin, or file needed
26> FC
26> STAUS *> TERM
26.. iT//r,
26> STATUS *, TERM
26..
In the example, the I command inserts a T between A and U. The two slashes indicate
the end of this insertion. The R command with the comma under the > replaces the >
with the comma.
After you press Return, the TACL program displays the corrected line and prompts you
for any further changes. Because the command is now correct, make no changes before
you press Return, and the TACL program executes the modified command.
However, if your proposed replacement or insertion text begins with the letters D, I, or
R (lowercase or uppercase), FC considers that letter to be an editing command, and you
will not get the results you want. The following example shows an attempt to change the
command from VOLUME ALWORK to VOLUME ALINFO by typing INFO under
WORK.
27> VOLUME ALWORK
28> FC
28> VOLUME ALWORK
28.. INFO
28> VOLUME ALNFOWORK
28..
The TACL program, however, interprets the I in INFO as the I command and inserts the
string NFO after the L. At this point, rather than try to execute or edit the command, you
can enter two forward slashes (//) followed by Return.
The FC command terminates and the TACL prompt returns. All existing changes to the
line are discarded:
In this case, the R command replaces the string WORK with the string INFO.
To change and reexecute this command to send the output to the spooler location
#HOLD:
Guardian User’s Guide —425266-001
2- 19
Getting Started With TACL Changing or Correcting a Previous Command
2. If you don’t have any changes for the first line, press Return.
The TACL program displays the second line with the same line number.
3. Change the spooler location to #HOLD just as you would change a single-line
command, and press Return.
30> OUT $S.#LAZR, NOWAIT / ]
30.. HOLD
4. The TACL program again displays each line for you to confirm your change.
5. Make additional changes, as needed. Press Return after each line.
After the last line, the TACL program executes the changed command.
Topic Page
Introduction to Files in Guardian 3-2
Listing Files and Their Information 3-5
Renaming Files 3-8
Deleting Files 3-8
Changing Your Default Values 3-10
Selected TACL commands are described in this section. For syntax and reference
information about all TACL commands and programs, see the TACL Reference Manual.
In addition to Enscribe files, FUP also supports SQL files. For more information about
using FUP with SQL files, see the File Utility Program (FUP) Reference Manual.
Subvolume Defaulting
When you give a partial file name, the TACL program fills in some of the missing parts
using your current default values for node, volume, and subvolume (see Changing Your
Default Values on page 3-10).
However, TACL does not supply the subvolume name by default in some situations that
were allowed in previous releases. That is, if a volume name is immediately followed by
a file identifier, the TACL program does not recognize it as a valid file name and does
not supply the subvolume name. For example, VOL1.MYFILE is not a valid file name,
but VOL1.SUBVOL.MYFILE and SUBVOL.MYFILE are valid.
To list all the files in any subvolume, enter FILES followed by the subvolume name. For
example, to list the files in the subvolume $GERT.FELIX:
2> FILES $GERT.FELIX
$GERT.FELIX
To list the files that reside in a subvolume on another system, give the complete
subvolume name:
3> FILES \DIVE.$WRECK.RICH
Using Wildcards
You can use these wild-card characters to match characters anywhere in a subvolume or
volume name (but not a node name):
* Use the asterisk (*) to match zero to eight characters.
? Use the question mark (?) to match a single character.
You cannot use wild cards to match the periods (.) that separate the elements of a file-
name string (system, volume, subvolume, and file names). Also, if you use a wild card
in the volume name, you must include the dollar sign.
For example, to list all the files in every subvolume on the $SYSTEM disk whose
subvolume name begins with the letters SYS:
4> FILES $SYSTEM.SYS*
You can use more than one wild card in the same command. For example, to list all files
that reside in any subvolume that has a three-character name beginning with KH on all
volumes beginning with $MT:
6> FILES $MT*.KH?
$SAG.MEG
CLASSN
$CHANGE.SPUDS
It can take some time to check all possible volumes and subvolumes. To stop a
FILENAMES command and restore your TACL prompt, press the Break key.
To list every file named HANGUP in every subvolume on every disk volume in the
system:
8> FILENAMES $*.*.HANGUP
To display all five-letter file names in the current subvolume that begin with the letters
SEC and end with the number 2:
9> FILENAMES SEC?2
$HERST.STEIN
SEC12 SEC22
The TACL program displays file names from the current (or default) subvolume because
a subvolume name was not included in the command.
For each file, FILEINFO displays the system, volume, subvolume names, and:
Open/Crash indicator If displayed, indicates the file is open (O) or marked crash-open (?).
Corrupt/SQL If displayed, indicates the file is corrupt (C), and SQL DDL
DDL/Free Space operation is currently in progress (D), or an SQL DDL operation has
indicator left unreclaimed free space (F).
Code File code (EDIT files have file code 101).
Flags (PAL+) If displayed, indicates a program file with PROGID authority (P),
the file is audited (A), licensed (L), or File Format 2(+).
EOF Number of bytes in the file (also, end of file).
Last Modification Date and time the file was last modified.
Owner User ID of the file owner.
RWEP Read, write, execute, and purge security assigned to the file; **** is
displayed for files protected by Safeguard (security codes are
explained in Section 7, Using FUP for Basic File Management), ---
- for files that do not exist, and #### for files under OSS security.
PExt SExt Primary and secondary extent sizes in pages (file extents are
explained in Section 8, Using FUP for Advanced File Management).
To display information for all files in your current volume and subvolume, enter
FILEINFO without a file name:
12> FILEINFO
$GERT.STEIN
Code EOF Last Modification Owner RWEP PExt SExt
BELL 101 9872 17MAR1998 06:30:52 8,23 NUUU 12 12
BOOK 101 768 08JUN1998 21:56:29 8,23 OOOO 6 6
CANDLE 101 961 07OCT1998 14:27:23 8,23 NUUU 18 18
PATIENCE 101 566 10JAN1999 07:08:14 8,23 OOOO 4 4
SARAH 101 1456 10JAN1999 08:14:46 8,23 GOGO 18 18
You can use wildcards as described under Using Wildcards on page 3-5.
To display information about all files in the current default subvolume whose names
begin with the letter B:
13> FILEINFO B*
$GERT.STEIN
Code EOF Last Modification Owner RWEP PExt SExt
BELL 101 9872 17MAR1998 06:30:52 8,23 NUUU 12 12
BOOK 101 768 08JUN1998 21:56:29 8,23 OOOO 6 6
To display information about any file in subvolume $GERT.ALICE whose name is six
characters long, beginning with SECT and ending with the number 2:
14> FILEINFO ALICE.SECT?2
$GERT.ALICE
Renaming Files
If you have read and purge access to a file on a disk volume (see Setting Your Default
File Security on page 3-13), you can specify a new file name, a new subvolume name, or
both.
Simply enter RENAME followed by the old file name, a comma, and the new file name.
To rename a file by specifying both a new subvolume name and a new file name:
15> RENAME BELL, ALICE.DOORBELL
This RENAME command renamed or “moved” the file BELL from the current
subvolume to the ALICE subvolume.
You cannot rename a file to another disk volume; the RENAME command does not
move files from one disk to another (use the FUP DUP command to place a copy of a
file on another volume or subvolume).
You can also rename files with the File Utility Program (FUP). See Renaming Files on
page 7-15.
Deleting Files
If you have purge access to a file on a disk volume (see Setting Your Default File
Security on page 3-13), and the file is not currently open, you can delete it from the
system.
Simply enter PURGE followed by the name of the file to be deleted.
The PURGE command has CONFIRM and NOCONFIRM options that let you specify
whether you want the TACL program to confirm your purge request before deleting a
file. If you do not enter either option, TACL does not display a confirm prompt.
To verify that files have been purged, enter a FILES command.
You can purge more than one file at a time from the same subvolume or from separate
subvolumes by entering a list of file names. Separate the file names with spaces or with
commas. For example, these commands show two ways of punctuating a list of file
names:
17> PURGE SECT01 SECT02 SECT03
SECT01 Purged
SECT02 Purged
SECT03 Purged
If you specify the CONFIRM option, the TACL program prompts for purge
confirmation of each file before deleting it.
17> PURGE /CONFIRM/ SECT*
PURGE $STEIN.BOOK.SECT01 (y/[n])? N
PURGE $STEIN.BOOK.SECT02 (y/[n])? Y
$STEIN.BOOK.SECT02 Purged
PURGE $STEIN.BOOK.SECT03 (y/[n])? N
You can also delete files with the File Utility Program (FUP). See Deleting Files on
page 7-17.
File-Name Expansion
When you specify a partial file name in a command, the operating system uses your
current default values to supply missing parts of the file name. This adding of parts to
file names is known as file-name expansion.
For example, if your current default node is \WEST, default volume is $WRLD, and
default subvolume is GLOBE, to purge the file \WEST.$WRLD.GLOBE.SOURCE:
20> PURGE SOURCE
Using file-name expansion, the operating system assumes that the complete file name is
\WEST.$WRLD.GLOBE.SOURCE.
However, the TACL program will not supply a default subvolume name when you
supply only a volume name and file identifier, as in $VOL1.MYFILE.
After you enter this command, your current defaults are system \LONE, volume
$WELL, and subvolume RHALL. For example, the TACL program expands the file
name SECT12 to \LONE.$WELL.RHALL.SECT12.
The WHO command shows you that the current volume is now different from your
saved volume:
2> WHO
Home terminal: $STEIN
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: $WELL.RHALL Current system: \LONE
Saved volume: $GERT.STEIN
Userid: 6,66 Username: SUPPORT.STEIN Security: "NUNU"
To reset all your current defaults (node, volume, and subvolume) to your saved defaults,
enter the VOLUME command with no options:
5> VOLUME
6> WHO
Home terminal: $STEIN
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: $GERT.STEIN
Userid: 6,66 Username: SUPPORT.STEIN Security: "NUNU"
After you enter this command, file names you specify are assumed to reside on node
\LONE. If a file on a remote system is available only to local users, you must log on to
that system to access the file.
Changing the current default node does not log you onto the other system (to log onto a
remote system, see Accessing Other Systems on page 2-6). Entering a command to start
a process (such as Peruse) when your current default node is not your saved default
starts and runs the process on the other system (subject to network security restrictions).
To reset the current default node to your saved default node, enter SYSTEM without
specifying a node name.
Now, each time you change your current volume or subvolume, the change is reflected
in your prompt:
$GERT STEIN 11> VOLUME RHALL
$GERT RHALL 12> VOLUME $WELL
$WELL RHALL 13>
The TACL program does not maintain your prompt setting between sessions; when you
log off, the prompt setting is lost.
To have your TACL prompt automatically customized each time you log on, store a
SETPROMPT command in a TACLCSTM file as described in Section 5, Defining
Function Keys and Writing Macros.
The DEFAULT command changed the saved volume, not the current volume. Your
current location has not changed.
However, the next time you enter a VOLUME command with no command options, or
the next time you log on, your current volume will be the new saved volume
$WELL.RHALL.
You must enclose a security string in quotes. For example, to change the default security
string to NUNU:
16> DEFAULT, "NUNU"
THE DEFAULT <file-security> HAS BEEN CHANGED TO "NUNU".
The new default security takes effect the next time you log on.
In this example, NUNU, specifies that anyone on the local system, or on the network,
can read and execute files that have this security string, but only the owner, anywhere on
the network, can write to or purge these files.
With the security string AGOG, anyone on the local system can read files that have this
security, anyone in the owner’s group can write or purge the files, but only the owner
can execute the files. Files with this security string are accessible only on the local
system, not over the network.
A security string can also include a hyphen (–), which means that only the local super ID
(a user logged on with user ID 255,255) can access the file. However, you cannot
include this character in your default security string; you can set it only with the FUP
SECURE command.
Topic Page
Getting Information About Processes 4-2
Starting and Controlling a Process 4-5
Using a Command (OBEY) File 4-8
Restarting a TACL Process 4-9
Running Compaq NonStop™ Kernel Utilities 4-10
Solving Common System Process Problems 4-11
Selected TACL commands are described in this section. For information about all
TACL commands and programs, see the TACL Reference Manual.
You can also specify a user and program by name. For example, the following STATUS
command shows all processes owned by the user COOKS.SAG that are running the
program file $SYSTEM.SYSTEM.TEDIT:
2> STATUS *, USER COOKS.SAG, PROG $SYSTEM.SYSTEM.TEDIT
Process Pri PFR WT% Userid Program file Hometerm
3,67 148 R 001 7,1 $SYSTEM.SYSTEM.TEDIT $STEIN
For a description of all STATUS command options, see the TACL Reference Manual.
Examples
1. Display information about processes running on the terminal $JT1.#J01.
> STATUS *, TERM $JT1.#J01
A report such as this is sent to your home terminal:
Process Pri PFR %WT Userid Program file Hometerm
$JT12 B 4,85 150 001 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
$JT12 5,84 150 R 000 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
9,151 140 004 8,001 $SYSTEM.SYSTEM.SUBVOLS $JT1.#J012
1 2 3 4 5 6 7
Process Pri PFR %WT Userid Program file Hometerm
$JT12 B 4,85 150 001 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
$JT12 5,84 150 R 000 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
9,151 140 004 8,001 $SYSTEM.SYSTEM.SUBVOLS $JT1.#J012
1Process is the name of the process (whether or not it is a backup process), the
number of the processor, and the process identification number (PIN). “B” indicates a
backup process. A blank indicates an unnamed process.
The second column shows the CPU number where the process is running and the PIN
for the process in that CPU.
2 Pri is the execution priority of the process.
3 PFR can contain the following codes:
P The process contains privileged code.
F The process is waiting for a page fault.
R The process is on the ready list.
4 %WT is the process wait state (in octal). A value of 000 indicates the process is not
waiting.
5 Userid is the group and user ID number under which the process is running.
6 Program file is the name of the program file that started the process.
7 Hometerm is the name of the terminal that is designated as the home terminal for
the process, which is where the process was started.
Note. Because large numbers of processes might be running on your system at any time, the
PPD display can be lengthy. If you want to stop the display, press the Break key on your
keyboard. For the same reason, you might want to send the PPD display to a disk file or
printer. Refer to the first example, below, for instructions on how to perform this task.
PPD lists the name of the process, the CPU and PIN of the primary and backup
processes, and the name or CPU and PIN of the ancestor process. If you don’t specify a
process, PPD displays information about all named processes on the system.
For example, suppose a process called $MGMT is running on the system. To find out
who started the process:
3> PPD $MGMT
Name Primary Backup Ancestor
$MGMT 2,21 3,20 $Z048
The Ancestor column indicates that $Z048 is the ancestor (the process that created
$MGMT). You can now enter a STATUS command using the name of the ancestor,
$Z048:
4> STATUS $Z048
Process Pri PFR WT% Userid Program file Hometerm
$Z048 0,12 150 005 0,0 $SYSTEM.SYSTEM.TACL $OPCONS
Swap File Name: $TEMP.#0170
$Z048 B 1,14 150 001 0,0 $SYSTEM.SYSTEM.TACL $OPCONS
Swap File Name: $TEMP.#0170
$Z048 is the TACL process on the terminal named $OPCONS, which on this system is
the operator console. The null user ID (0,0) indicates that no one is logged onto this
TACL process.
Examples
1. Send a listing of all running processes to your subvolume CURRENT and your file
PROCESS.
> PPD / OUT CURRENT.PROCESS /
A report such as this is sent to the file named PROCESS in the subvolume named
CURRENT:
Name Primary Backup Ancestor
$ZL00 0,3
$Z001 1,51 0,69 $BA1
$ZSCB 1,113 0,70 $ZSCA
$ZLOG 0,47 1,47 $ZTAS
$ZELM 0,51 1,49 $ZTAS
$ZL01 1,3
. . . .
. . . .
. . . .
1 2 3 4
Name Primary Backup Ancestor
$WOW 04,054 05,009 $Z000
If a process you specify is not running, the message “PROCESS DOES NOT EXIST” is
displayed.
• An explicit RUN command includes the keyword RUN followed by the name of the
program file:
5> RUN $SYSTEM.OPERATE.SWAPURGE
If you do not include the volume and subvolume, the TACL program expands the
file name using your current defaults.
• An implicit RUN command includes the name of the program file, without the
keyword RUN:
6> TEDIT
If you specify a partial file name in an implicit RUN command (as for TEDIT in this
example), the TACL program does not expand the file name. Instead, it searches for
the program on $SYSTEM.SYSTEM. If the TACL program cannot find the
program there, you receive an error. (You can include #PMSEARCHLIST in your
TACLCSTM file to tell the TACL program to search in your defaults; see Section 5,
Defining Function Keys and Writing Macros.)
HIGHPIN ON specifies that the program will run at a high PIN if the HIGHPIN flag is
set in the object file (and library file, if any) and if a high PIN is available. For more
information about running a program at a high PIN from the TACL program, see the
TACL Reference Manual.
Interrupting a Process
Use the Break key to interrupt a process and return to the TACL program. When you
press Break, most processes yield control of the terminal to the TACL program and
continue to run in background mode. If a background process requires input from or
output to the terminal, the process waits indefinitely until it can control the terminal
again or until it stops.
While that process is running in the background, your TACL prompt is active, and you
can enter TACL commands. For example, you can use the STATUS command to see
what processes are still running at your terminal.
Pausing a Process
Use the PAUSE command to let a background process gain control of your terminal. If
you press Break while a process is running, or if you include the NOWAIT option when
you start a process, you can use PAUSE to pause your TACL process and pass control to
the background process.
This example shows the use of the PAUSE command. The dash (-) at the margin is the
FUP prompt.
8> FUP
File Utility Program - T9074D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1981,1983,1985-1992
- (BREAK Key is pressed)
9> STATUS *,TERM
Breaking out of a process does not stop the process. When you press Break, the TACL
prompt (>) appears, but the FUP process continues to run concurrently with the TACL
process, as shown by the STATUS command.
When you enter PAUSE, the TACL process is interrupted, and the FUP prompt (-)
reappears. After the FUP process stops, the TACL program will redisplay its command
prompt (>).
Stopping a Process
Before you shut down your system, you must stop all running applications.
To stop a process that was started incorrectly or that you no longer need, use the STOP
command. For example, to stop the process that has CPU and PIN 2,99:
13> STOP 2,99
To stop the default process (the last process you started), use the STOP command
without specifying a process.
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.):
14> O $GERT.STEIN.NFO
The TACL program reads the NFO file, executes the commands sequentially, and
displays this information:
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
Including the NOWAIT option immediately restores the TACL prompt at the terminal
where you enter this command.
For more information about the RUN command and the TACL program, see the TACL
Reference Manual.
Guardian User’s Guide —425266-001
4 -9
Starting and Controlling Processes With TACL Running Compaq NonStop™ Kernel Utilities
Each program displays its startup screen, which includes its program banner, copyright
message, and prompt.
Every utility uses a different character for a command prompt. For example, Peruse uses
an underscore (_) and FUP uses a hyphen (—).
To exit a utility, enter EXIT at the utility’s prompt.
Topic Page
Defining and Using Your Function Keys 5-2
Writing TACL Macros 5-9
Customizing Your TACL Environment 5-12
For more information on these topics, see the TACL Reference Manual and the TACL
Programming Guide.
?SECTION
TACL directive that indicates the beginning of a definition.
function-key
Name of the function key you are defining. Unshifted function keys (F1 through
F16) or shifted function keys (SF1 through SF16).
type
Type of definition: ALIAS or MACRO. Other types of function-key definitions are
described in the TACL Reference Manual.
command
TACL command that you want this function key to execute.
?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 F8 MACRO
STATUS *, TERM
COMMENT Info about processes running at this terminal
?SECTION F8 MACRO
STATUS %1%, %2% %3%
• The first example uses an alias definition because it defines the F8 key to invoke the
STATUS command. The STATUS command alone uses the default process as an
argument. To pass arguments to the STATUS command when you invoke it, enter
the values in proper order, including all required punctuation, and then press F8. For
example, enter:
12> *, USER
Then press F8 (no value is passed to the third argument, %3%). This macro
definition is further described in Passing a Value to a Macro Definition on page 5-7.
F1 F2 F3 F4 F5 F6 F7 F8 SF16
The KEEP 1 option keeps only the new definitions and deletes any previous ones. If you
omit this option, the TACL program keeps all the definitions that you have ever loaded,
and you will eventually run out of space.
To load your function-key definitions automatically when you log on, see Customizing
Your TACL Environment on page 5-12.
Comments inserted using the COMMENT command are displayed, but comments
inserted with == or { } are not displayed.
If the command defined for a function key accepts command arguments, you can pass a
value to the command, and the TACL program uses this value as a command argument.
This is true for both alias and macro definitions.
2. Press F7.
This function-key definition is equivalent to:
6> TFORM / IN BELL, OUT $S.#PRINT2, NOWAIT /
2. Press F8.
The TACL program displays:
Process Pri PFR %WT Userid Program file Hometerm
$Z43 4,23 150 R 000 8,56 $SYSTEM.SYSTEM.TACL $STEIN
$Z76 B 4,45 150 001 0,0 $SYSTEM.SYSTEM.TACL $ABT
$Z55 4,56 150 004 8,24 $SYSTEM.SYSTEM.TACL $RHALL
The dummy argument %*% accepts any number of command options you might
list. For example, you can redefine the F1 key as a macro that uses the dummy
argument %*%:
?SECTION F1 MACRO
FILES %*%
To pass a list of subvolume names to the FILES command:
1. Enter the subvolume names:
8> STEIN ABT
2. Press F1.
The TACL program displays:
\LONE.$GERT.STEIN
BOOK
\LONE.$GERT.ABT
CHECK
For each function key you used, the TACL program displays the name of the key
followed by any function arguments you entered before you pressed the key. The TACL
Help key (F16) does not appear in the HISTORY display.
macro-name
Name of the macro you are defining.
macro-type
ALIAS or MACRO. For other types, see the TACL Reference Manual.
command
TACL command that you want this macro to execute.
In the first example, the letter P is used as an alias for PERUSE. In the second example,
the letters FN invoke the FILENAMES command with one dummy argument.
?SECTION P ALIAS
PERUSE
?SECTION FN MACRO
FILENAMES %*%
You can add as many alias and macro definitions to this file as you like. You can use
dummy arguments, including %*%, in your macro definitions just as you do when
defining function keys.
These examples include both alias and macro definitions:
?SECTION TED MACRO
TEDIT %*%
?SECTION H MACRO
#OUTPUT Displaying your command history
HISTORY
?SECTION F MACRO
FILEINFO %*%
?SECTION W ALIAS
WHO
?SECTION T MACRO
TFORM / IN %1%, OUT $S.#%2%, NOWAIT /
The MYINFO macro definition contains a sequence of commands. When you invoke
this definition, TACL executes the STATUS, WHO, and FILES commands.
The H and MYINFO macro definitions use the #OUTPUT built-in function to display a
message before executing their respective commands.
P FN ED H F W T INFO
$GERT.FERN
Code EOF Last Modification Owner RWEP PExt SExt
HERST 101 12458 02-APR-92 10:55:02 8,56 "NNNN" 12 12
CANDLE 101 16230 07-OCT-92 13:31:36 6,66 "OOOO" 2 2
$GERT.STEIN
Code EOF Last Modification Owner RWEP PExt SExt
CANDLE 101 16230 7-OCT-92 13:31:36 6,66 "OOOO" 2 2
?TACL MACRO
WHO
Files that contain a ?TACL MACRO directive cannot be loaded into memory, as library
files are. You can store only one macro definition in a file that starts with the ?TACL
MACRO directive. Instead, use the ?SECTION directive to define macros in files that
you plan to load.
1. Create an EDIT file (file code 101) named TACLCSTM in your saved default
subvolume. (On some systems, TACLCSTM file is created for you.)
2. In this file, enter these commands to load your library files:
?TACL MACRO
COMMENT TACLCSTM file
LOAD / KEEP 1 / MYKEYS {Load My Key Definitions}
LOAD / KEEP 1 / MYMACS {Load My Macro Definitions}
Your TACLCSTM file must begin with a ?TACL MACRO. The LOAD commands
in this example are the same as those you would use to load your library files every
time you log on.
3. Add comments as needed, using the COMMENT command, the double equal signs
(==), or braces ({}).
4. Add any other commands that you want to execute when you log on.
For example, you can enter a SETPROMPT command so that your TACL prompt
contains the name of your current volume and subvolume. To automatically execute
this command whenever you log on, add it to your TACLCSTM file:
?TACL MACRO
LOAD / KEEP 1 / MYKEYS {Load My Key Definitions}
LOAD / KEEP 1 / MYMACS {Load My Macro Definitions}
SETPROMPT BOTH
You can add other built-in TACL functions to your TACLCSTM file. For example:
== Set the default search list
#SET #PMSEARCHLIST #DEFAULTS $SYSTEM.SYSTEM
== Set the TACL input format
#SET #INFORMAT TACL
== Set the TACL output format
#SET #OUTFORMAT TACL
To load any function-key definitions you changed while logged on, issue the LOAD
command to load the new definitions or log off and log on again.
See the TACL Reference Manual for more information about the TACLCSTM file.
Guardian User’s Guide —425266-001
5- 12
6 Creating and Using DEFINEs
A DEFINE is a named set of attributes and values that let you specify information for a
process before you start the process.
The DEFAULTS DEFINE is a simple example; this DEFINE contains your default
node, volume, and subvolume names, which the system uses to expand your partially
qualified file names.
There are several advantages to using a DEFINE:
• Convenience. For example, a MAP DEFINE lets you substitute a logical name for
an actual file name. It’s easier to use a DEFINE name such as =CUSTOMERS than
an actual file name such as \NY.$ACCNTS.CURRNT.CUSTNMES.
• Saving time. Setting attributes for a spooler job with a SPOOL DEFINE is faster
than setting the attributes with Peruse after the job is on the print queue.
• Using a TAPE DEFINE lets you access labeled tapes (if labeled-tape processing is
enabled for your system).
Topic Page
Using a DEFINE 6-2
Enabling and Disabling DEFINEs 6-6
DEFINE Attributes 6-7
TACL DEFINE Commands 6-9
Example of Creating and Using a DEFINE 6-9
To use a DEFINE, you should be familiar with the TACL program, including its
relationship to other processes running on your system. See Section 4, Starting and
Controlling Processes With TACL.
Using DEFINEs with FUP, labeled tapes, and Backup and Restore is described in
Section 7, Using FUP for Basic File Management, Section 10, Using Labeled Tapes,
and Section 11, Backing Up and Restoring Disk Information, respectively.
Using a DEFINE
A DEFINE lets you specify information for a process before you start the process.
DEFINE Names
A DEFINE name is a logical name that:
• Contains from 2 to 24 characters.
• The first character must be an equal sign (=).
• The second character must be a letter.
• The remaining characters can be letters, numbers, hyphens (-), underscores (_), or
circumflexes (^).
• When specified as the value of a system procedure parameter that has a fixed length
of 24 characters, a DEFINE name must be left-justified in the DEFINE name buffer
and padded on the right with blanks.
Uppercase and lowercase letters in a DEFINE name are equivalent.
Note. Compaq reserves all DEFINE names beginning with an equal sign and underscore (=_).
Do not use DEFINE names that begin with this two-character string.
DEFINE Templates
Some DEFINE commands let you use a template in place of an actual DEFINE name.
DEFINE templates let you use certain characters to make a command or function
operate on a number of similarly named DEFINEs. Characters valid in DEFINE
templates are:
* Matches 0 or more characters at the same position (similar to a file-name
template)
? Matches one character in the same position (similar to a file-name template)
** or =* Matches all DEFINE names
For example, the DEFINE template =CUST* matches all DEFINE names that begin
with =CUST.
DEFINE Classes
The primary attribute of a DEFINE is the CLASS attribute, which identifies the
DEFINE subtype.
Class Specifies
CATALOG SQL catalog name that substitutes for the DEFINE name in a program
DEFAULTS Process defaults, such as the default volume and subvolume
MAP A file name that subsitutes for the DEFINE name in a program
SEARCH Information to be used for resolving file names with a search list
SORT, SUBSORT Parameters for the FASTSORT program
SPOOL Attributes of a spooler job, such as location and number of copies
TAPE Attributes of a file on a labeled tape, such as block size and density
The CATALOG, DEFAULTS , MAP, SPOOL, and TAPE classes are described below.
The SEARCH class is described in the Guardian Programmer’s Guide and the
Guardian Procedure Calls Reference Manual; SORT and SUBSORT classes are
described in the TACL Reference Manual and the FastSort Manual.
CATALOG DEFINE
A CATALOG DEFINE lets you specify a logical name for a particular SQL catalog.
(The CATALOG DEFINE does not change the current default catalog.)
For example, this CATALOG DEFINE lets you substitute =PCAT for the catalog that
resides on subvolume \ACCT.$DISK.CAT:
3> ADD DEFINE =PCAT, CLASS CATALOG, SUBVOL \ACCT.$DISK.CAT
4> INFO DEFINE =PCAT
Define Name =PCAT
CLASS CATALOG
FILE \ACCT.$DISK.CAT
DEFAULTS DEFINE
The DEFAULTS DEFINE contains standard default values such as the default volume
and subvolume names. Each process has a DEFAULTS DEFINE with the name
=_DEFAULTS. (This DEFINE name contains an underscore (_) as the second character
because it is a Compaq DEFINE.)
This example shows the DEFAULTS DEFINE displayed with the TACL INFO
DEFINE command:
8> INFO DEFINE =_DEFAULTS
Define Name =_DEFAULTS
CLASS DEFAULTS
VOLUME $DATA5.MYSUBVOL
MAP DEFINE
A MAP DEFINE lets you substitute a logical DEFINE name for an actual file name.
When you create a MAP DEFINE, you give it the name you want to use as a substitute
for an actual file name. You can use a MAP DEFINE wherever a file name can be used.
For example, this MAP DEFINE lets you substitute =JUNE^RECORDS for the file
name \ACCT.$DISK.RECORDS.JUNE when you enter a command that uses this file
name:
4> ADD DEFINE =JUNE^RECORDS, CLASS MAP, FILE \ACCT.$DISK.RECORDS.JUNE
5> INFO DEFINE =JUNE^RECORDS
Define Name =JUNE^RECORDS
CLASS MAP
FILE \ACCT.$DISK.RECORDS.JUNE
SPOOL DEFINE
A SPOOL DEFINE lets you set parameters for a spooler job. This DEFINE associates
spooler job attributes such as COPIES, REPORT, and LOC with a SPOOL DEFINE
name such as =SPOOLER^JOB.
When you start a process that uses the SPOOL DEFINE, the spooler output from that
process has the job attributes you specified in the SPOOL DEFINE. You can use a
SPOOL DEFINE wherever a spooler collector process name can be used. To display a
SPOOL DEFINE with the TACL INFO DEFINE command:
6> ADD DEFINE =SPOOLER^JOB, CLASS SPOOL, COPIES 2, LOC $S.#HOLD
7> INFO DEFINE =SPOOLER^JOB
Define Name =SPOOLER^JOB
CLASS SPOOL
LOC $S.#HOLD
COPIES 2
For more information, see Example of Creating and Using a DEFINE on page 6-9.
TAPE DEFINE
A TAPE DEFINE lets you access a file on a labeled tape. This DEFINE associates
labeled-tape attributes such as LABELS, VOLUME, and DENSITY with a DEFINE
name such as =TAPE^JOB. You can use a TAPE DEFINE wherever a tape file name
can be used.
For example, to transfer a file from a labeled tape to a disk volume, you first create a
TAPE DEFINE that contains the attributes of the tape job. To display a TAPE DEFINE
with the TACL INFO DEFINE command:
5> ADD DEFINE =TAPE^JOB, CLASS TAPE, LABELS ANSI, FILEID INVENTRY
6> INFO DEFINE =TAPE^JOB, DETAIL
Define Name =TAPE^JOB
CLASS TAPE
LABELS ANSI
FILEID INVENTRY
For more TAPE DEFINE examples, see Section 10, Using Labeled Tapes.
DEFMODE (Default) DEFINEs are enabled. The system uses existing DEFINEs in your
ON current TACL process and propagates them to any processes you start.
DEFMODE DEFINEs are disabled. The system ignores any existing DEFINEs in your
OFF current TACL process and does not propagate them to processes you start
(except the DEFAULTS DEFINE, which is always propagated). You can still
alter, display, and delete your DEFINEs, but the system ignores them.
Note. A NonStop™ process pair is an exception. When you create a backup process (one
with the same name as the creating process), all DEFINEs are propagated to this process
regardless of the current DEFMODE setting. Thus the backup process has the same DEFINEs
as the primary process.
To determine the current DEFMODE setting for your TACL process, enter the SHOW
DEFMODE command:
10> SHOW DEFMODE
Defmode OFF
If DEFMODE is OFF and you want to use DEFINEs, enter the SET DEFMODE ON
command:
11> SET DEFMODE ON
To prevent a process from using a DEFINE that you have created, enter a SET
DEFMODE OFF command:
12> SET DEFMODE OFF
If you use the TACL RUN command to start a process, you can specify DEFMODE ON
or DEFMODE OFF as a run option and this setting overrides your TACL DEFMODE
setting. For example, this RUN command starts a process with DEFMODE OFF. Any
DEFINEs from your TACL process are not propagated to this new process.
13> RUN ACCTPROG / IN $DISK2.FY1989.ACTSFILE, &
13> &OUT $S.LAZR, DEFMODE OFF, NOWAIT /
If you start a new process and propagate your DEFINEs to this process, a change made
to the original DEFINE in your TACL process does not affect the new process.
Conversely, a change in a DEFINE in the new process does not affect your TACL
process.
DEFINE Attributes
In addition to the CLASS attribute, each DEFINE has at least one other attribute.
A MAP DEFINE has only the FILE attribute. A CATALOG DEFINE has only a
SUBVOL attribute. Attributes for a DEFAULTS DEFINE are VOLUME, SWAP, and
CATALOG.
These TAPE DEFINE attributes are described under Using Labeled Tapes With Backup
and Restore on page 11-19:
BLOCKLEN FILESECT OWNER SYSTEM
DENSITY FILESEQ RECFORM TAPEMODE
DEVICE GEN RECLEN USE
EBCDIC LABELS REELS VERSION
EXPIRATION MOUNTMSG RETENTION VOLUME
FILEID
These SPOOL DEFINE attributes are described under Sending Output to a SPOOL
DEFINE on page 12-11:
BATCHNAME HOLD MAXPRINTLINES REPORT
COPIES HOLDAFTER MAXPRINTPAGES SELPRI
FORM LOC OWNER
All DEFINE attributes (including SEARCH, SORT, and SUBSORT attributes) are
described in detail under the SET DEFINE command in the TACL Reference Manual.
• An optional attribute has no initial value and does not require a value. OWNER and
DENSITY are optional attributes for a TAPE DEFINE.
Each time you set the CLASS attribute, you establish a new working attribute set.
Therefore, always set the CLASS attribute first, then set values for the other attributes.
(You can set the CLASS attribute when you set other attributes using the ADD DEFINE
command; see the SPOOL DEFINE example under Example of Creating and Using a
DEFINE on page 6-9.)
For example, when you log on, the CLASS attribute has the default value MAP, and the
working attribute set consists of CLASS MAP and the required FILE attribute without
an initial value. If you set the CLASS attribute to TAPE, the working attribute set
becomes all the tape attributes, but only the LABELS attribute has a value (OMITTED).
For more information, see Enabling and Disabling DEFINEs on page 6-6.
This SPOOL DEFINE specifies that two copies of the job are to be printed on the
laser printer associated with location $S.#LASER. The hold-after-printing flag is set
so the job will remain in the print queue in case additional copies are required.
The priority is set to 7 (highest), and the report name is "Employee Names". This
DEFINE also sets the FORM attribute to ensure that the job prints on special paper.
2. Enter an INFO DEFINE command for =FUP-COPY-DEFINE with the DETAIL
option. Review the displayed attributes and their values.
13> INFO DEFINE =FUP-COPY-DEFINE, DETAIL
Define Name =FUP-COPY-DEFINE
CLASS SPOOL
LOC $S.#LASER
COPIES 2
FORM EMPLST
HOLDAFTER ON
SELPRI 7
REPORT EMPLOYEE NAMES
This command also sends any FUP messages to the OUT file FUPMSGS and
includes the NOWAIT option so FUP runs in the background.
2. Use Peruse to see the spooler job attributes for the spooler job created by FUP. This
job has the attributes specified in your SPOOL DEFINE.
15> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
After two copies are printed, the job remains on the print queue. You can print
additional copies, if needed, or you can delete the job from the queue with the
Peruse DEL command.
This part of the guide contains information about using FUP to create and manage files
on your Compaq NonStop™ Kernel system:
• Section 7, Using FUP for Basic File Management
• Section 8, Using FUP for Advanced File Management
Topic Page
Who Uses FUP? 7-1
Entering FUP Commands 7-2
Getting Help From FUP 7-7
Using the Break Key 7-7
Changing System and Volume Defaults 7-8
Getting Information About Subvolumes and Files 7-9
Performing Common File Operations 7-13
Using Your FUP Command History 7-21
Solving Common File Problems 7-22
For more information about FUP, including the command syntax, see the File Utility
Program (FUP) Reference Manual.
FUP lists file information for each file in your current default subvolume. Then, the
TACL prompt reappears.
When you enter FUP commands through the TACL program, you can enter only one
command at a time. A separate FUP process starts and completes for each command you
enter.
The FUP process now controls the terminal. The hyphen indicates that the FUP process
is ready to accept a command. You can enter a FUP command interactively after the
hyphen:
-INFO
To exit from FUP and return to the TACL program, enter the EXIT command:
-EXIT
You can also stop a FUP process by pressing the CTRL-Y keys. CTRL-Y marks the end
of a file (EOF). When FUP reads CTRL-Y from its input file (in this case, your
terminal), it stops execution.
All the examples in this guide, except those in the next subsection, use the interactive
method of entering commands through FUP itself.
Control of the terminal returns to the TACL program after FUP executes the last
command in the command file.
You can add comment lines in a command file to identify the file and to explain the
operations being performed. FUP comment lines must begin with two dashes (--). Any
characters on the line following the -- are ignored by FUP. For example, here is the
ALLSUBS command file with comment lines added:
-- FUP Commands for Obtaining a List of
-- All Subvolumes in $DISK1, $DISK2, and $DISK3
--
-- Last Modified 1/17/99 13:24
--
SUBVOLS $DISK1 -- Contains manufacturing files
SUBVOLS $DISK2 -- Contains administrative files
SUBVOLS $DISK3 -- Contains all other files
To send output to a printer, specify the name of the printer with the OUT option in your
FUP command:
3> FUP / IN ALLSUBS, OUT $LP /
You can also include an output file with individual FUP commands. The OUT file you
specify in an individual FUP command overrides any OUT file you specified when you
invoked FUP.
For example, these commands create two output files (INFO1 and INFO2) in the current
default subvolume, and then send the results of three SUBVOLS commands to those
files:
4> FUP
-CREATE INFO1
-CREATE INFO2
-SUBVOLS / OUT INFO1 / $DISK1
-SUBVOLS / OUT INFO2 / $DISK2
After these three commands are executed, the names of the subvolumes in $DISK1 are
listed in the file INFO1, and the names of the subvolumes in $DISK2 are listed in
INFO2.
• As a list file with the OUT option in the FILES, HELP, INFO, LISTOPENS,
SHOW, and SUBVOLS commands:
11> FUP INFO / OUT =DIRECTORY / *
When you use a SPOOL DEFINE with a FUP command, output from the command is
spooled to the spooler location that is specified with the LOC attribute in the DEFINE.
If this location is a printer, the FUP command output is queued and then printed.
Otherwise, the output remains in the spooler, where you can view, redirect, or delete it
with Peruse.
This example shows the creation of a SPOOL DEFINE named =MYSPOOLER:
1> SET DEFINE CLASS SPOOL, LOC $X5.#LASER, SELPRI 6
2> ADD DEFINE =MYSPOOLER
3> INFO DEFINE =MYSPOOLER, DETAIL
Define name =MYSPOOLER
CLASS SPOOL
LOC $X5.#LASER
SELPRI 6
If you direct FUP command output to =MYSPOOLER, the output is spooled at the
destination $X5.#LASER, and the spooler job has priority 6.
In the next example, the RECLEN attribute of the TAPE DEFINE sets the input record
length for the COPY operation to 200 bytes:
1> ADD DEFINE =INFILE, CLASS TAPE, LABELS ANSI,VOLUME 89RST, USE OUT,
RECLEN 200
2> FUP COPY =INFILE, $DATA.RECDS
To display the syntax for a specific FUP command, enter HELP followed by the name
of the command:
-HELP GIVE
GIVE <fileset list> , { <group id>,<user id> } [ , PARTONLY ]
{<group name>.<user name>}
To stop a background FUP process, enter the TACL STOP command. For example, if
the last process you started is FUP, which is running in the background, you can stop it
by entering:
2> STOP
Initially, the default values for a FUP process are the same as the current defaults in
effect for your TACL process when you start the FUP process. To change the default
values kept by FUP, enter FUP SYSTEM and VOLUME commands.
For example, to change the current default system, enter SYSTEM followed by the
name of the system:
-SYSTEM \VENICE
To return to the initial default system, enter SYSTEM without a system name:
-SYSTEM
You can change the default volume, the default subvolume, or both with the FUP
VOLUME command. To change only the default volume, enter VOLUME followed by
the name of the new default volume:
-VOLUME $DISK99
To change the default subvolume, enter VOLUME followed by the name of the new
default subvolume:
-VOLUME MAYFLY
To change both the default volume and subvolume at once, enter VOLUME followed by
the volume name, a period, and the subvolume name. For example, the changes made by
the commands in the last two examples can be made at one time by entering:
-VOLUME $DISK99.MAYFLY
To restore the initial default system, volume, and subvolume values, enter VOLUME
alone:
-VOLUME
In systems that are part of a network, a SUBVOLS command can specify a volume in
another system:
-SUBVOLS \DETROIT.$DISK45
If you enter the SUBVOLS command alone, you receive a list of the subvolumes in your
current default system and volume:
-SUBVOLS
$DISK33
JANIS JIMIT MAYA MICK NATASHA SELENA
Use the FILES command to get a list of the files in a subvolume. Enter the FILES
command followed by the name of the subvolume:
-FILES \NY.$APPLE.JACK
In the FUP FILES command you must include the system name, volume name, or
subvolume name only if it differs from the current default value. For example, this
command lists the files in the subvolume SUBTOO in the current default system and
volume:
-FILES SUBTOO
To get a list of the files in every subvolume on a disk volume, enter the FILES
command and an asterisk (*) as the subvolume name. For example, this command lists
all the subvolumes on the $SYSTEM disk:
-FILES $SYSTEM.*
The first line in the display consists of column headings that identify the information
listed. The second line of the display gives the name of the subvolume
($JUMBO.PATHWAY) that contains the listed file (DICTALT).
The headers in the FUP INFO listing indicate:
CODE — the file code. Codes 100 through 999 are reserved by Compaq for system
codes. For example, code 100 is assigned to all TNS program object code files, and code
101 is assigned to EDIT files.
EOF — the current length of the file in bytes.
LAST MODIF — the date and time when the file was last modified. If the file was last
modified on the day you enter the INFO command, only the time is displayed.
OWNER — the user ID of the owner of the file. Each file is owned by only one user on
the system. When a file is created, it is owned by the user who created it.
RWEP — Read/Write/Execute/Purge. This column shows the current security settings
for the file; file security is set by the file owner.
For files protected by Safeguard software, this column displays quoted asterisks (****).
Use the Safecom program to get information about security for files protected by
Safeguard software. For more information about the Safeguard subsystem, see the
Safeguard User’s Guide.
TYPE, REC, and BLOCK show information about structured files. For details, see the
description of the FUP INFO command in the File Utility Program (FUP) Reference
Manual.
To get information about all the files in any volume that contains five characters and
starts with MANU, enter:
-INFO $MANU?.*.*
To get information about all the files in the subvolume $MYVOL that start with FILE
followed by any two characters, enter:
-INFO $MANUF.MYVOL.FILE??
File-Set Lists
A file-set list can be a single file set, or a list that includes more than one file set. To
include more than one file set in a file-set list:
• Enclose the file-set list in parentheses.
• Include a comma after each file set except the last.
For example, to get information about the files in both the current default subvolume
and in the volume $MANUF:
-INFO (*, $MANUF.*.*)
You can also use the INFO command to get information about files owned by a
particular user on the system. Enter the INFO command followed by a file set or a file-
set list, a comma, and a user name or user ID, as in these examples:
-INFO (*.*, $SYSTEM.PROG1.*), USER MANUF.MABEL
-INFO *, USER 8,44
FUP then displays information about only those files in each file-set list that are owned
by the specified user. For a complete description of file set and file-set list, see the FUP
command syntax summary in the File Utility Program (FUP) Reference Manual.
Duplicating Files
You can duplicate a single file or a set of files with the FUP DUPLICATE command.
To duplicate a single file, enter DUPLICATE (or simply DUP) followed by the name of
the file to be copied, a comma, and the name of the new file.
For example, this command duplicates the file BAKE in your current default
subvolume, names the new file BAKE also, and places the copy in the subvolume
$PISMO.CLAM:
-DUP BAKE, $PISMO.CLAM.BAKE
If the file $PISMO.CLAM.BAKE already exists, FUP does not execute the command
and responds with an error message. To overwrite an existing file with DUP, you must
include the PURGE option:
-DUP BAKE, $PISMO.CLAM.BAKE, PURGE
To duplicate more than one file with a single command, enter DUP followed by a file set
or file-set list, a comma, and a destination.
To specify a destination:
1. Include a system or volume name if either one differs from the current default value.
2. For the subvolume name, specify either of:
• A single subvolume name, for all the new files to reside in that subvolume.
• An asterisk (*) in place of the subvolume name (to specify that the subvolume
name of each new file be the same as the subvolume name of the file from
which it was copied).
3. For the file name, specify either of these:
• The new file names in order.
• An asterisk (*) in place of one or more file names if you want the names of the
new files to be the same as the old files.
For example, if you have these files:
-FILES $ALPHA.SOUP
$ALPHA.SOUP
A B
-FILES $COUNT.DOWN
$COUNT.DOWN
BLASTOFF
• To duplicate the same files to volume $DUKE and retain the original subvolume
names, enter:
-DUP ($ALPHA.SOUP.*, $COUNT.DOWN.*), $DUKE.*.*
Now volume $DUKE has a SOUP and a DOWN subvolume, each containing the
files copied from $ALPHA.SOUP and $COUNT.DOWN:
-FILES $DUKE.SOUP
$DUKE.SOUP
A B
-FILES $DUKE.DOWN
$DUKE.DOWN
BLASTOFF
If you had not supplied the RSFILE file name, FUP would have created the
ZZRSTART file in your default subvolume as the restart file.
2. If the duplicate operation fails before it is finished, restart the operation:
-RESTART RSFILE
FUP displays the original DUPLICATE command and continues the operation from
the point of failure. FUP continues to update the restart file. If a second failure
occurs, a RESTART command restarts the operation from the second point of
failure.
For more information, see the File Utility Program (FUP) Reference Manual.
Renaming Files
Use the FUP RENAME command to rename a file or a set of files. To rename a single
file, enter RENAME followed by the current file name, a comma, and the new file
name:
-RENAME FRED.INFO, MABEL.ARCHIVE
In this example, MABEL.ARCHIVE is the new name of the file. Note that you can
change the subvolume name and the file name, but not the volume name; a file that is
renamed remains on the same disk volume. To duplicate a file to another disk volume,
use the FUP DUPLICATE command.
To rename a set of files, specify a file set just as you would for the DUPLICATE
command. When you RENAME a file set, however, all the file names must remain the
same; only the subvolume name can change. Enter RENAME followed by a file set or
file-set list to be renamed, a comma, and a destination. For the destination, you must
specify:
• A subvolume name different from the subvolume names in the file set or file-set list
to be renamed; the renamed files will reside in this different subvolume.
• An asterisk (*) in place of the file name; the names of the renamed files will be the
same as those of the original files.
Suppose you want to rename the files in subvolumes $BIG.DOCUMNTS and
$BIG.PROGDOCS. The renamed files must still reside in volume $BIG, but you would
like to put all of them in the subvolume ALLDOCS. Enter:
-RENAME ($BIG.DOCUMNTS.*, $BIG.PROGDOCS.*), $BIG.ALLDOCS.*
If you omit system names or volume names in the file set or file-set list, FUP assumes
the current default values. Also, you cannot change the volume names of files with the
RENAME command. If you include a system or volume name in the file set or file-set
list to be renamed, the same system or volume name must appear in the destination.
To change the security of a file, enter SECURE followed by the name of the file, a
comma, and a security string. For example, to assign the security string NONO to all the
files in the subvolumes $FIDO.SPOT and $FIDO.ROVER, enter:
-SECURE ($FIDO.SPOT.*, $FIDO.ROVER.*), "NONO"
Instead of entering FUP codes, you could enter the program values in the security string.
For example, you could enter 4242 instead of NONO. For more information about file
security and security strings, see the description of the FUP SECURE command in the
File Utility Program (FUP) Reference Manual.
If you want to regain ownership of a file, the new owner or a user logged on as the super
ID must use the FUP GIVE command to give the file to you.
Deleting Files
Use the FUP PURGE command to delete individual files or sets of files from your
system. FUP prompts you for permission to purge files unless your command includes
an exclamation point (!).
Caution. Be careful when you include the exclamation point (!) in a FUP PURGE command.
The exclamation point means that the change you request will be made without further
prompting. The results can be irreversible.
You must have purge access to a file in order to purge it. If you do not, you get purge
error 48 (security violation).
To purge a file without being prompted for permission, add an exclamation point:
-PURGE OLDFILE !
$DATA.RECDS.OLDFILE PURGED.
1 FILE PURGED
this command, FUP prompts you for permission to purge each file named in the
command:
-PURGE OLDFILE, NEWFILE, REDFILE
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK
$DATA.RECDS
OLDFILE 101 83465 17OCT85 14:32 8,44 CUCU
PURGE?y
$DATA.RECDS.OLDFILE PURGED.
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK NEWFILE 101 101388
15:18 8,44 CUCU
PURGE?n
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK
REDFILE 101 7754 12:03
PURGE?y
$DATA.RECDS.REDFILE PURGED.
2 FILES PURGED
If you add an exclamation point to your PURGE command, FUP purges the files with no
further prompts. For example, after you enter the following command, FUP purges the
files, informs you that the three files have been purged, and redisplays its command
prompt:
-PURGE IDEAS.BAD, NOVELS.TRASH, NEWS.TABLOID !
$CORP.IDEAS.BAD PURGED.
$CORP.NOVELS.TRASH PURGED.
$CORP.NEWS.TABLOID PURGED.
3 FILES PURGED
You can choose to purge the subvolume with no more prompts (YES), to purge none of
the files in the subvolume (NONE), to select the files to purge (SELECT), or to list the
files in the subvolume (FILES). Type either the first letter of the word you choose or the
entire word, and then press Return:
• If you choose YES, FUP purges the entire subvolume with no more prompting.
• If you choose NONE, the PURGE command ends without purging the subvolume.
The FUP prompt reappears.
• If you choose SELECT, FUP displays information about each file in the subvolume
and prompts you for permission to purge each file in turn:
-PURGE IDEAS.*
DO YOU WISH TO PURGE THE ENTIRE FILESET $CORP.IDEAS?
( Y[ES], N[ONE], S[ELECT], F[ILES] )?S
$CORP.IDEAS
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK
BAD 101 98732 11:15 8,44 AOGO
PURGE? Y
$CORP.IDEAS.BAD PURGED.
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK
GOOD 101 2048 18MAY87 9:10 8,44 CUCU
PURGE?N
CODE EOF LAST MODIF OWNER RWEP TYPE REC BLOCK
INDIFF 101 68129 03MAR87 8:46 8,44 CUCU
PURGE?Y
$CORP.IDEAS.INDIFF PURGED.
2 FILES PURGED
• If you choose FILES at the subvolume prompt, FUP lists the files in the subvolume,
redisplays the PURGE command prompt, and waits for your next command:
-PURGE IDEAS.*
DO YOU WISH TO PURGE THE ENTIRE FILESET $CORP.IDEAS?
( Y[ES], N[ONE], S[ELECT], F[ILES] )?F
$CORP.IDEAS
BAD GOOD INDIFF
• If you press Return or type an answer that is not defined in the subvolume prompt,
FUP behaves as if you answered SELECT.
• To exit the FUP PURGE command, press CTRL-Y.
If you issue an INFO command with the DETAIL option, FUP displays the new
expiration date:
-INFO FILE1992, DETAIL
FILE1992 cannot be purged before 8:00 a.m. on January 1, 2000, except by a user with
super ID 255,255 or unless you alter the expiration date again.
HISTORY Command
You can specify the number of previous FUP commands to display by entering a
number after the command. If you do not enter a number, FUP displays the last ten
commands. To display your last four FUP commands, enter:
- HISTORY 4
FC Command
FC allows you to recall a command and then change it by deleting, inserting, or
replacing characters. It can save you keystrokes. For example, to use the STATISTICS
option of the INFO command and you have already used the DETAIL option, enter:
-FC 6
-INFO MYFILE, DETAIL
. DDSTAT
-INFO MYFILE, STAT
.
! Command
The ! command allows you to reexecute a specific FUP command. For example, to
reexecute the last INFO command, enter:
-! INFO
? Command
The ? command allows you to display (but not execute) a specific FUP command. For
example, to display the last command that referenced the system \WEST, enter:
-? \WEST
Topic Page
Creating Files 8-1
Maintaining Your Disk Files 8-15
For more information about file structures in NonStop™ Kernel systems, see the
ENSCRIBE Programmer’s Guide.
Creating Files
You can use FUP to create both structured and unstructured disk files. (You can create
unstructured files with the TACL CREATE command. For information about the TACL
CREATE command, see the TACL Reference Manual.)
To create a file with FUP:
1. Assign values to file-creation parameters with the FUP SET command. FUP
maintains a table of current file-creation parameters. The values of these parameters
can determine the attributes of any file you create with FUP. (You can also override
the current settings by specifying different values in your CREATE command.)
2. Check the values of file-creation parameters with the FUP SHOW command to
ensure that the values are correct, before creating a new file.
3. Create the file with the FUP CREATE command. When you enter the CREATE
command, FUP consults its table of file-creation parameters and, if the current
values result in a legal file, creates a file whose attributes are based on these values.
4. Restore one or more file-creation parameters to their original values with the FUP
RESET command.
TYPE K
EXT 5 PAGES
2 PAGES
REC 120
SET SHOW
BLOCK 1024
- SET TYPE K IBLOCK 1024 - SHOW
- SET EXT (5, 2)
- SET REC 120 KEYLEN 9
- SET KEYLEN 9 KEYOFF 0
MAXEXTENTS
16
-SHOW
TYPE K
EXT (5 PAGES, 2 PAGES)
REC 120
BLOCK 1024
IBLOCK 1024
KEYLEN 9
KEYOFF 0
MAXEXTENTS 16
MAXEXTENTS 16
BUFFERSIZE 4096 - RESET - CREATE
MYFILE
CDT 001.CDD
The file-creation parameters for the FUP SET command determine the default
characteristics of the file you create. Use the FUP SHOW command to display the
current values of the file-creation parameters. You can override the current value by
setting a value for a parameter in your FUP CREATE command.
The TYPE parameter determines the file type of a file. The default TYPE value is U (for
Unstructured). The EXT parameter determines the sizes of primary and secondary file
extents; the default extent sizes are 1 page each (a page is a unit of 2048 bytes).
MAXEXTENTS and BUFFERSIZE appear for DP2 files only. MAXEXTENTS
controls the maximum number of extents that can be allocated to a file. BUFFERSIZE
sets the size in bytes of the buffer used for unstructured files. (For information about
DP2 file attributes, see the File Utility Program (FUP) Reference Manual.)
If you enter the CREATE command at this point, you create an unstructured file whose
primary and secondary extent sizes are one page each:
-CREATE FILE1
CREATED - $MANUF.FREDFILE.FILE1
To see the file attributes, enter the INFO command with the file name and DETAIL
option:
-INFO FILE1, DETAIL
$MANUF.FREDFILE.FILE1 20 Jan 1992 11:04
ENSCRIBE
TYPE U
EXT ( 2 PAGES, 2 PAGES )
MAXEXTENTS 16
BUFFERSIZE 4096
OWNER 8,44
SECURITY (RWEP): NUNU
MODIF: 20 Jan 1992 11:03
CREATION DATE: 20 Jan 1992 11:03
LAST OPEN: NEVER OPENDED
EOF 0 ( 0.0% USED)
EXTENTS ALLOCATED: 0
To create a different type of file, such as a key-sequenced file, first specify the file type
with the FUP SET command:
-SET TYPE K
For a key-sequenced file, you must also specify the length of the primary key:
-SET KEYLEN 9
This SHOW display lists more attributes than those you assigned with your SET
command. The additional values are defaults that apply to structured files (including
key-sequenced files, files with alternate keys, and partitioned files).
Before you create a file, enter a FUP SHOW command and check that the values of the
file-creation parameters are the ones you want. Correct any parameters you want to
change, and then create the file.
For example, you can reset more than one parameter with a single RESET command by
separating the parameters with commas:
-SHOW <displays current values before you enter RESET
TYPE K
EXT ( 5 PAGES, 5 PAGES )
REC 80
BLOCK 4096
IBLOCK 4096
KEYLEN 9
KEYOFF 0
DCOMPRESS, ICOMPRESS
MAXEXTENTS 16
-RESET EXT, COMPRESS
-SHOW <displays new parameter values after RESET
TYPE K
EXT ( 1 PAGES, 1 PAGES )
REC 80
BLOCK 4096
IBLOCK 4096
KEYLEN 9
KEYOFF 0
MAXEXTENTS 16
To reset all file-creation parameters at once, enter RESET with no parameters. For
example, this command restores all the file-creation parameters to their default values:
-RESET
-SHOW
TYPE U
EXT ( 1 PAGES, 1 PAGES )
MAXEXTENTS 16
BUFFERSIZE 4096
File-Creation Examples
These examples show how to create all the types of files: unstructured, entry-sequenced,
relative, and key-sequenced files. Examples are also given for creating files with
alternate keys, partitioned files, and files that match the attributes of an existing file.
Each example shows the series of commands needed.
4th
Example:
READ (READS FIRST) 5th
Entry-
READ (READS SECOND)
6th Sequenced
READ (READS THIRD)
File
. 7th
.
. 8th
Latest
Relative Record
File: Number Record
0th
Primary access is via 1st
record number.
2nd
Example: 3rd
FIND 6th
4th
5th
Relative
6th
File
7th
.
.
.
.
nth
Primary
Key
CDT 004.CDD
To create a file for records in the key-sequenced format, enter the following FUP
commands in a disk file, and then start a FUP process that takes input from this file.
This example shows the commands in FILE1.
20> TEDIT FILE1
VOLUME $VOL1.SVOL -- Set the default volume and
-- subvolume to the desired values.
SET TYPE K -- Set file type as key-sequenced.
SET CODE 1000 -- You can optionally specify a file
-- code to identify the file.
SET EXT (16, 1) -- Set primary and secondary
-- extent sizes for the application.
SET REC 150 -- Set record length and block size.
SET BLOCK 2048
SET COMPRESS -- If desired, you can specify data
-- and index compression.
SET KEYLEN 34 -- You must specify a primary-key
-- length for key-sequenced files.
SET IBLOCK 2048 -- You can also specify the size of
-- index blocks.
SHOW -- Display current parameter values.
CREATE KEYSEQ -- Create the file.
Key-Sequenced Record
File:
Primary
Key
Primary access is by
a value in the primary- ADAMS
key field. BROWN
Example: COLLINS
FIND "KING"
FISH
JACKSON
KING Key-
Sequenced
MASTERS File
OBRIEN
RYAN
WATSON
ZANTE
Figure 8-6. Possible Record Format: Key-Sequenced File With Alternate Keys
Byte
Offset
[0] [2] [32] [40] [42] [46] [54]
To create a file in key-sequenced format with alternate keys, first enter the following
FUP commands in a file. Then run FUP, specifying the command file as the input file
with the IN option. This example shows the commands in FILE2.
20> TEDIT FILE2
VOLUME $VOL1.SVOL -- Set the default volume and
-- subvolume to the desired values.
SET TYPE K -- Set file type to key-sequenced.
SET CODE 1001 -- Set optional file code to
-- identify the file.
SET EXT (32,8) -- Set the appropriate primary and
-- secondary extent sizes for the
-- application.
SET REC 54 -- Set the record length.
SET BLOCK 4096 -- Set the block size.
SET IBLOCK 1024 -- Set the index block size.
SET KEYLEN 2 -- You must specify a primary-key
-- length for key-sequenced files.
--
-- Specify alternate keys and the name and number of
-- the alternate-key file. If FILE is not specified
-- in the SET ALTKEY command, the alternate-key file
-- number is set by default to 0.
--
SET ALTKEY ("AQ", KEYOFF 40, KEYLEN 2)
SET ALTKEY ("LO", KEYOFF 42, KEYLEN 4)
SET ALTKEY ("VN", KEYOFF 46, KEYLEN 8)
SET ALTFILE (0, INVALT)
.
.
.
SHOW -- Display current parameter values.
CREATE KEYSEQAL -- Create the file.
$VOL1.PARTFILE.PART
CDT 007.CDD
Make sure the parameters for the existing file have the values you want for the new file.
Then enter the SET command with the LIKE option. FUP then sets its file-creation
characteristics to match those of the file you specify. New files you create will have
those attributes:
-SET LIKE $CLEAN.BERKELEY.AIR
-SHOW
TYPE K
EXT ( 5 PAGES, 5 PAGES )
REC 80
BLOCK 2048
IBLOCK 2048
KEYLEN 9
KEYOFF 0
DCOMPRESS, ICOMPRESS
MAXEXTENTS 16
-CREATE $CLEAN.SANJOSE.AIR
CREATED - $CLEAN.SANJOSE.AIR
All these operations involve changes in the file label of the affected file(s); in some
cases, you must make the file-label changes yourself.
Each disk file has a file label — a record in the file directory that contains all the file
attributes, such as the file name, file type, size of the file (EOF), extent size, names of
partitions for partitioned files, and names of alternate-key files for key-sequenced files
that have alternate keys.
Some file operations automatically change the file label. For example, when you add
data to or delete data from a file, the EOF value in the file label changes accordingly.
For other file operations, however, you must change file-label values yourself. For
example, after you move an alternate-key file, you must change the name of the
alternate-key file in the file label of the primary-key file.
To make changes to the file label, use the FUP ALTER command. Some examples in
this section show file operations for which you must make file-label changes with the
FUP ALTER command. The appropriate ALTER commands are included.
When the LOAD command executes, the records from tape are first read, then sorted by
primary key. After the records are sorted, FUP loads them into the partitions using the
key specifications contained in the file label of PART. (Specify SORTED if the records
are already sorted to avoid the time required to sort the file.)
You can include a number of options in a LOAD command. See the description of the
LOAD command in the File Utility Program (FUP) Reference Manual for more
information.
• Use the FUP ALTER command to change the file label of the primary-key file to
reflect the change you made to the alternate-key file.
To alter the file label of PRIFILE so that it includes the new name of the alternate-key
file, enter:
-ALTER PRIFILE, ALTFILE ( 0, OLDSVOL.AFILE )
The ALTER command changes the name of the alternate-key file in the file label of
PRIFILE from $VOL1.SVOL.AFILE to $NEW.SVOL.AFILE. After you complete the
DUP and RENAME operations, you can purge the original file:
-PURGE $VOL1.SVOL.PRIFILE
This command creates a backup copy of each file on $VOL1 on $BACKUP. Each
backup file has the same file name and subvolume name as its original file. The
Guardian User’s Guide —425266-001
8- 17
Using FUP for Advanced File Management Adding Alternate Keys to Files
PARTONLY option means that only primary or secondary partitions that reside on
$VOL1 are duplicated; partitions on other volumes are not copied. The SAVEALL
option preserves the user ID, timestamp, and security setting for each file.
The LOADALTFILE command loads the alternate-key records for key specifier NM
and any other alternate keys into the alternate-key file. To allow for future growth of the
file, you can reserve empty space in index blocks by specifying a percentage of slack
space with the LOADALTFILE ISLACK option.
However, when you add a new alternate key, the length of the key can be no longer than
the longest key already in the alternate-key file unless you:
• Use the SET LIKE command to duplicate the attributes of the old alternate-key file.
• Specify the new alternate key with the ALTER command.
• Specify a new record and key length for the alternate-key file that is 2 + length of
the primary key + length of the longest alternate key.
For example, suppose that the file PRIFILE in the previous example has one alternate
key that is 15 bytes long. The primary-key length is 40 bytes. The name of the alternate-
key file is $VOL1.SVOL.ALTFILE. You can add a new alternate key, NM, with a
length of 20 bytes by entering:
-VOLUME $VOL1.SVOL
-ALTER PRIFILE, ALTKEY ( "NM", KEYOFF 15, KEYLEN 20 )
-SET LIKE ALTFILE
-PURGE ALTFILE!
-SET REC 62
-SET KEYLEN 62
-CREATE ALTFILE
-LOADALTFILE 0, PRIFILE
Here, the new record and key lengths must be 62 bytes (2 for the key specifier, plus 20
for the longest alternate key, plus 40 for the primary key).
In this example, the new alternate-key file is named $VOL1.SVOL.FILEB. The key
specifier for the new key is XY, the key offset in the record is 0, and the key length
is 10. This example uses an entry-sequenced file named $VOL1.SVOL.FILEA,
which does not have an alternate-key file
The CREATE command creates the alternate-key file $VOL1.SVOL.FILEB. For
non-unique alternate keys, the record length and key length are 16 bytes (2 for key
specifier, plus 10 for the alternate-key field lengths, plus 4 for the primary key
length). For unique alternate keys (specified by including the UNIQUE option in the
SET ALTKEY command), the key length is 12 bytes (2 for key specifier, plus 10
for alternate-key field lengths), and the record length is 16.
The ALTER command changes the file label for the primary-key file (FILEA) so
that it specifies FILEB as the alternate-key file and contains the key specifier XY.
Finally, the LOADALTFILE command loads the alternate-key records into the
alternate-key file. Note that an index-block slack percentage of 0 is the default
value.
The DUP command with the PARTONLY option copies the secondary partition
$VOL2.SVOL.PARTFILE to $NEW.SVOL.PARTFILE. The ALTER command
changes the file label of the primary partition ($VOL1.SVOL.PARTFILE) to indicate
that the first secondary partition resides in the file $NEW.SVOL.PARTFILE.
The CREATE command creates a temporary disk file to be used for output from the
BUILDKEYRECORDS command. Next, BUILDKEYRECORDS generates alternate-
key records that are to be loaded into the new file. The BUILDKEYRECORDS
BLOCKOUT option specifies record blocking to improve the efficiency of disk write
operations.
The LOAD command loads the secondary partition $VOL2.SVOL.AFILE. Because the
SORTED option is not included, records are sorted before they are loaded. The RECIN
option in the LOAD command specifies the same record blocking that was specified
with the RECOUT option in the BUILDKEYRECORDS command.
The ALTER command with the PART option changes the file label of the primary
partition so that it includes the new extent size of the secondary partition in $VOL2.
Next, the RENAME command with the PARTONLY option gives the secondary
partition a temporary name; this command preserves the data in this partition.
The SET LIKE command recreates the file-creation parameters of the original secondary
partition. Then the SET EXT command changes the extent size in the current FUP
parameters. The CREATE command recreates the secondary partition with a larger
extent size.
The DUP command with the OLD and PARTONLY options copies the data from the
temporary file to the newly created partition with the DUP command. Finally, the
PURGE command deletes the temporary file.
Although you can RENAME a file that is open for read-write or write-only access, you
cannot copy such a file with the DUPLICATE command. Thus, you must ensure that the
partition is not being written to if the preceding sequence of operations is to succeed.
(File-access modes are discussed in the ENSCRIBE Programmer’s Guide.)
Adding Partitions
You can add partitions to relative and entry-sequenced files that do not already have
them, but not to key-sequenced files. This example uses a nonpartitioned relative file
named $VOL1.SVOL.RELFILE. To add a partition to this file, enter:
-VOLUME $VOL1.SVOL
-SET LIKE RELFILE
-SET PARTONLY
-CREATE $VOL2.RELFILE
-SHOW EXT
EXT ( 100 PAGES, 10 PAGES )
-ALTER RELFILE, PART ( 1, $VOL2 , 100, 10 )
The SET LIKE command sets the file-creation parameters to those of the original file,
$VOL1.SVOL.RELFILE. The SET command with the PARTONLY option specifies
that the file to be created is a secondary partition. The CREATE command creates a new
partition on volume $VOL2.
The SHOW command with the EXT option displays the extent sizes of the original file.
The ALTER command with the RELFILE option changes the file label of
$VOL1.SVOL.RELFILE to show that it is the primary partition of a partitioned file with
a secondary partition in the volume $VOL2.
This command adds a third partition on the volume $VOL3:
-CREATE $VOL3.RELFILE
-ALTER RELFILE, PART ( 2, $VOL3, 100, 10 )
The RATE option controls the amount of processor time the reload operation uses. A
value less than 100 prevents the reload operation from monopolizing the processor and
its resources. For more information about FUP RELOAD and its other options, see the
File Utility Program (FUP) Reference Manual.
This part of the guide contains information about tape activities, including labeled tape
processing, and using Backup and Restore to copy files between disk and tape:
• Section 9, Performing Routine Disk Operations
• Section 10, Using Labeled Tapes
• Section 11, Backing Up and Restoring Disk Information
Topic Page
Using the Subsystem Control Facility (SCF) 9-1
Checking Disk Status 9-5
Bringing Up a Disk or Path 9-6
Taking Down a Disk or Path 9-7
Altering the Current Path to a Dual-Ported Disk 9-9
Removing Half of a Mirrored Disk 9-9
Bringing Up the Down Half of a Mirrored Disk 9-11
Finding and Sparing Bad Tracks and Sectors 9-12
Managing Disk Space Usage 9-14
Monitoring and Altering Swap Files 9-23
Solving Common Disk Problems 9-28
This listing shows that some of the disks are up and running normally and that others are
stopped. See Table 19-2, SCF Object States, on page 19-6 for information on the
different device states that can appear in the STATE column of the STATUS display.
Note. To obtain device listings for device types, subtypes, and other device characteristics,
use the SCF STATUS options. See the SCF Reference Manual for the Storage Subsystem .
Examples
• To list of the device characteristics and status of the disk $SPOOL, enter:
> SCF STATUS DISK $SPOOL
A listing similar to this is displayed on your home terminal:
STORAGE - Status DISK \SHARK.$SPOOL
LDev Primary Backup Mirror MirrorBackup Primary Backup
PID PID
7 *STARTED STARTED *STARTED STARTED 0,267 1,266
This display shows that all paths to this mirrored volume are currently up.
• To list the devices on your default system, enter:
> SCF STATUS $SYSTEM
Guardian User’s Guide —425266-001
9 -5
Performing Routine Disk Operations Bringing Up a Disk or Path
This display shows that the primary disk is up but the mirror disk is down.
Example
To bring the disk $DATA back up from a regular STOPPED state, log on as a super-
group user (255,n) and enter:
> SCF START DISK $DATA
Example
To reset the disk $DATA from a STOPPED state, substate HARDDOWN:
1. Make sure you are logged on as a super-group user (255,n).
2. Enter:
-> RESET DISK $DATA
Example
To make the disk $AMBER inaccessible to user processes:
1. Make sure you are logged on as a super-group user (255,n).
2. Take the disk down:
> SCF STOP DISK $AMBER, FORCED
FORCED means that SCF continues even if there are open files on the disk.
Example
To make the primary path to the mirror disk $DATA inaccessible:
1. Make sure you are logged on as a super-group user (255,n).
2. Stop the path:
> SCF STOP DISK $DATA-M
3. Check the path status to confirm it is down:
> SCF STATUS DISK $DATA
A listing similar to this is displayed on your home terminal:
STORAGE - Status DISK \SHARK.$DATA
LDev Primary Backup Mirror MirrorBackup Primary Backup
PID PID
50 STARTED STARTED STOPPED STOPPED 3,260 2,265
Example
In the partial STATUS DISK shown below, the STARTED states indicate that the
primary and mirror paths of $AMBER are active:
1-> STATUS DISK $AMBER
STORAGE - Status DISK \SHARK.$AMBER
LDev Primary Backup Mirror MirrorBackup Primary Backup
PID PID
6 STARTED STARTED STARTED STARTED 0,268 1,265
2. Bring the application to a quiet state to ensure the integrity of the files. This does not
require that application programs close their files, but that the current transactions
are completed normally.
3. If the target disk is protected by the Transaction Management Facility (TMF)
subsystem, disable it from the TMF subsystem before performing this operation.
4. Issue an SCF STOP DISK command.
SCF STOP DISK is valid only for physically demountable mirrored disks, and it is
rejected if either disk of the mirrored disk is already down.
5. Determine whether any unspared bad sectors exist on the disk:
-> INFO DISK $disk, BAD
Example
To remove the primary disk of $DATA00 with SCF before you physically remove it:
1. Make sure you are logged on as a super-group user (255,n).
2. Enter:
-> INFO DISK $DATA00, BAD
-> CONTROL DISK $DATA00-P, SPARE 173, 2, 6
-> STOP DISK! $DATA00-P
A warning message and verification request is displayed.
3. Respond yes by entering:
-> Y
The STOPPED status in this listing confirms that the paths to the primary disk
$DATA00-P and $DATA00-B are now down.
5. Stop the drive.
6. When the disk stops spinning, physically remove the disk pack.
Example
This example shows how to revive a mirrored disk, half of which has been physically
removed for use as a disk backup and replaced with a new disk pack. The mirrored disk
$DATA01 is physically demountable and an SCF STATUS DISK command shows both
$DATA01-M and $DATA01-MB to be down.
2. Log on as a super-group user (255,n), enter SCF, and logically remove $DATA01-
M from the system:
-> STOP DISK $DATA01-M
-> STOP DISK $DATA01-MB
3. Physically remove the $DATA01-M disk. Put it on a storage shelf.
4. Mount a previously formatted disk.
5. Start the newly installed disk pack from the primary of $DATA01 so that the new
pack becomes the mirror disk of $DATA01:
-> START DISK $DATA01
SCF prompts you to start a revive operation. Enter Y if you want to continue.
To check the progress of the start operation, enter:
-> STATUS DISK $DATA01, DETAIL
When the START DISK operation finishes, the mirror device is in the STARTED state.
4. Make sure there is not already an SCF CONTROL DISK, SPARE operation in
progress. (You must do this yourself; SCF does not warn you if you start a second
CONTROL DISK, SPARE operation.)
5. Spare the defective sectors:
> SCF
-> CONTROL DISK $disk, SPARE sector-address
sector-address must be specified and includes the numbers of the cylinder,
head, and sector to be assigned an alternate sector.
Caution. Do not spare cylinder 0, or head 0, sector 0 on any disk; doing so makes the disk
unusable. Do not spare sectors 0, 1, 2, or 3 of cylinder 0, head 0 on the disk $SYSTEM; doing
so prevents you from loading the system from that disk.
For more information about using these SCF commands, and their options, see the SCF
Reference Manual for the Storage Subsystem.
Example
1. List the defective sectors on the disk, $DATA01:
> SCF
-> INFO DISK $DATA01, BAD
A listing similar to this is sent to your home terminal:
This listing shows sectors on this disk that the disk process has flagged as bad.
2. Make sure you are logged on as a super-group user (255,n).
3. Stop all other processing on the disk.
4. Make sure there is not already an SCF CONTROL DISK, SPARE operation in
progress.
5. Unconditionally spare the sector that has logical sector address %H0000795C:
> SCF
-> CONTROL DISK $DATA01, SPARE %H795C
Analyzing Disk Space Usage With the Subsystem Control Facility (SCF)
The SCF STATUS DISK, DETAIL command lists the number of free pages, the sizes of
contiguous blocks of free pages, and the number of files currently on a specified disk. It
also lists the number of pages in the primary extent of the disk directory, and the number
of extents that have been allocated for the disk directory.
To check the free space on a disk with the SCF STATUS DISK, DETAIL command,
enter:
> SCF STATUS DISK $disk, DETAIL
The format of the resulting display and details about this command are described in the
SCF Reference Manual for the Storage Subsystem.
Example
To display disk free-space information for the disk $AMBER, enter:
> SCF STATUS DISK $AMBER, DETAIL
Usage Information:
Capacity (MB)......... 2000.09 Free Space (MB).......... 290.76 (14.53%)
Free Extents.......... 16 Largest Free Extent (MB). 172.42
Usage Information:
Capacity (MB)......... 2000.09 Free Space (MB).......... 290.76 (14.53%)
Free Extents.......... 16 Largest Free Extent (MB). 172.42
Hardware Information:
Path Location Power Physical Status
(group,module,slot)
PRIMARY (1,1,3) DUAL PRESENT
MIRROR (1,1,4) DUAL PRESENT
Analyzing Disk Space Usage With the Disk Space Analysis Program
(DSAP)
The Disk Space Analysis Program (DSAP) analyzes and displays how disk space is
being used on a specified disk. It copies the disk directory and the disk free-space table
to its own working storage and then, depending on which options you specify,
manipulates this data to produce reports relevant to the use of disk space on that disk.
DSAP only measures the use of disk space; it makes no modifications to your system.
DSAP is a privileged program and might not be available to all users on your system. If
you have questions about your access to DSAP, check with your system manager.
DSAP is a noninteractive program that runs online while your disk is up. You run DSAP
by entering a DSAP command with parameters at a TACL prompt. DSAP then takes
control of your terminal and generates the requested report. If you enter DSAP at a
TACL prompt without any parameters, DSAP displays help information, including run
options, report options, and examples.
To use DSAP to quickly check the free space on a disk, enter:
> DSAP $disk, SHORT
You can exit DSAP by pressing the Break key, but DSAP continues to run in the
background until it finishes. To continue running DSAP in the foreground after pressing
Break, enter PAUSE at the TACL prompt. To stop DSAP entirely, you can enter STOP
at the TACL prompt if DSAP was the last process you started.
DSAP can produce nine different report types, each of which can have several selection
options. Some of these reports are useful only to system operators, system managers, or
group managers. There are three reports that you might find useful:
See the Guardian Disk and Tape Utilities Reference Manual for the complete syntax,
considerations, and examples of DSAP reports, and for error messages generated by
DSAP.
Report Formats
When DSAP displays a report at a terminal, the report has an output width of 79
columns and is not formatted into pages. When DSAP sends a report to a spooler
location, however, the report has an output width of 132 columns and a page length of
60 lines. The spooler report also has a header at the top of each page, which includes a
page number. The SEPARATE option, in the example above, makes the information for
each user start on a new page.
Examples
These examples show how to use DSAP to generate reports with information based on
different specified criteria.
This report shows that the disk $DATA1 has a limited amount of free space.
No SQL views.
This report shows that SALES.BONNIE has eight files in two subvolumes.
or
10> DSAP $DISK2, USER 8,76
No SQL views.
or
11> DSAP $DISK2, USER 8,76, BYSUBVOL
No SQL views.
or
12> DSAP /OUT $S.#LP/ $DISK2, USER 8,100, DETAIL
DSAP displays a report such as this on your home terminal, and sends it to the spooler:
Disk Space Analysis Program -- T9543D20 - (01JUN93) -- 3/2/94 14:35:20
Tandem Computers Incorporated 1981, 1983, 1985-1993
No SQL views.
Example
1. Generate a DSAP report that lists all the subvolumes on $DATA1 owned by the user
SALES.BONNIE, the amount of disk space they occupy, and the number of days
since the subvolumes have been modified and opened:
> DSAP $DATA1, BYSUBVOL, USER SALES.BONNIE
No SQL views.
This report shows that SALES.BONNIE has only eight files in two subvolumes
named BONN and MEMOS. The columns “Min Mod” and “Age Opn” both show
that these subvolumes have not been modified or opened in 365 days. When the
number of days since these files have been modified or opened exceeds 999, the
DSAP program reports 1K+ in the “Min Mod” and “Age Opn” columns.
2. Determine the date that changes were last made to the files in the subvolume
BONN:
> VOLUME BONN
> FILEINFO
A report such as this is displayed on your home terminal:
$DATA1.BONN
This report shows that no files have been changed since July, 1991.
3. Purge the file MISC:
> PURGE BONN.MISC
4. Purge the subvolume BONN:
> FUP PURGE BONN.*
FUP responds with:
DO YOU WISH TO PURGE THE ENTIRE SUBVOLUME $DATA1.BONN
( Y[ES], N[ONE], S[ELECT], F[ILES] )?
reservation. When a process no longer needs swap space, the NonStop™ Kernel returns
it to KMSF.
When NSKCOM starts, it automatically displays your current configured swap files.
The NSKCOM opening banner does not display default swap files.
$SYSTEM SYS66 35> NSKCOM
NSKCOM - T9050D42 BASE (01JULY96)
Copyright [c] 1995, Tandem Computers Incorporated
$SYSTEM.SYSTEM.ZSYSCFG
KMS.SWAPFILE = 0 $SWAP0.SYSSWAP.SWAP00 THRESHOLD 80
KMS.SWAPFILE = 1 $DATA1.SYSSWAP.SWAP01
KMS.SWAPFILE = 2 $SWAP.SYSSWAP.SWAP02
KMS.SWAPFILE = 3 $SWAP3.SYSSWAP.SWAP03
NSK-
3. Display statistics for each processor, using the STATUS KMSF command.
> NSK- STATUS KMSF
Total swap space Total number of megabytes (MB) that are currently allocated in
kernel-managed swap files for the processor.
Reserved CPU Pages Total memory pages that are currently allocated for the processor.
Available pages Total number of memory pages currently available in swap files for
the processor.
Creates Total number of reservations made for process creations since the
processor loaded.
Releases Total number of reservations released since the processor loaded.
Resizes Total number of reservations that have been resized since the
processor loaded.
Allocates Total number of allocations that have been made in the swap files.
Frees Total number of allocations that have been freed.
• The difference between the creates and releases equals the current number of
reservations.
• The difference between allocates and frees is the actual number of pages currently
being used for storing swap data.
• This actual current usage can be at most equal to the number of Reserved CPU
Pages at any given time.
For more information about NSKCOM, see the Kernel-Managed Swap Facility (KMSF)
Manual.
Topic Page
How Labeled-Tape Processing Works 10-2
The MEDIACOM Interface 10-2
Tape Processing Modes 10-5
Common Labeled Tape Activities 10-10
Handling Labeled Tape Messages and Requests 10-14
Creating and Modifying Labeled Tapes 10-22
Premounting and Scratching Labeled Tapes 10-28
Compressing a Tape Dump File 10-30
Solving Common Tape Subsystem Problems 10-31
For more information about using MEDIACOM, see the DSM/Tape Catalog Operator
Interface (MEDIACOM) Manual.
MEDIACOM replaces the TAPECOM utility. If you have not yet switched from
TAPECOM and need more information about it, see the Guardian Disk and Tape
Utilities Reference Manual.
A job does not start until the system determines that the requested tape is mounted.
2. Mount the tape, or deliver the tape to the operator with instructions that include:
• The tape identification (volume ID or serial number)
• The open mode (LP)
• The tape label type (ANSI, IBM, or BACKUP)
• The name of the tape drive your program will use (if you included a DEVICE
attribute in your DEFINE)
• The time you will run the application that requires the tape
3. Run your application, specifying the DEFINE that describes the tape file you want.
If your application lets you specify the TAPE DEFINE on the TACL command line,
you must enter the correct name of the TAPE DEFINE.
For example, this application copies the disk file ACCOUNTS to a labeled tape
using the DEFINE =TAPE-JOB:
11> RUN TAPECOPY / OUT =TAPE-JOB, NOWAIT / ACCOUNTS
The labeled-tape server displays this mount message at the operator console:
$ZSVR: 0012 MOUNT TV0005 ON $TD2 WITH RING
"Low-priority. Runs 30 min. Thanks, Tom"
If your application does not allow time to mount the tape, the results can be
unpredictable. In this case, mount the tape before the application needs it.
Note. If a standard labeled tape is mounted on a tape drive that is opened in NL mode, the
system rejects the tape and displays an error message.
2. Mount the tape, or deliver the tape to the operator with instructions that include:
• The open mode (NL)
• The name of the tape drive your application will use
• The time you will run the application that needs the tape
3. Run your application.
If you run an application, make sure that your application specifies the TAPE
DEFINE that describes the tape file you want. If your application lets you specify
the TAPE DEFINE on the TACL command line, you must enter the correct name of
the TAPE DEFINE.
4. Mount an unlabeled tape depending on the value of NLCHECK, as described in
Using an Unlabeled Tape Without a TAPE DEFINE on page 10-7.
2. Mount the tape, or deliver the tape to the operator with instructions that include:
• The open mode (BLP)
• The name of the tape drive your application will use
• The time you will run the application that requires the tape
3. Run your application.
If you run an application, make sure that your application specifies the TAPE
DEFINE that describes the tape file you want. If your application allows you to
specify the TAPE DEFINE on the TACL command line, you must enter the correct
name of the TAPE DEFINE.
If BLPCHECK is on, the labeled-tape server displays the following request at the
operator console:
$ZSVR: 0341 REQUEST TO USE $TD2 WITH NO LABEL PROTECTION
"HIGH-PRIORITY! Call when finished"
The fields in this display are explained in the DSM/Tape Catalog Operator Interface
(MEDIACOM) Manual.
Example
To obtain status information about the tape drive $TAPE1 by using MEDIACOM, enter:
> MEDIACOM STATUS TAPEDRIVE $TAPE1
A listing such as this is sent to your home terminal:
MEDIACOM - T6028D20 (01JUN93)
Copyright Tandem Computers Incorporated 1993
Drive Tape Tape Label Open
Tape Drive Status Name Status Type Mode Process Name
---------- ------ ---- ------ ----- ---- ------------
$TAPE1 INUSE TT0046 ASSIGNED ANSI LP \SKY.$BURT
This listing shows that $TAPE1 is in use. For more information about MEDIACOM, the
listings it generates, and the tasks it enables you to perform, see the DSM/Tape Catalog
Operator Interface (MEDIACOM) Manual.
See Table 19-2, SCF Object States, on page 19-6 for more information about the
possible states of tape drives and other devices. For complete information about SCF,
see the SCF Reference Manual for G-Series Releases.
Example
To obtain status information about the tape drive $TAPE1 by using SCF, enter:
> SCF INFO TAPE $TAPE1
A listing such as this is sent to your home terminal:
Storage - Info TAPE $TAPE1
SubType Density NumOpeners RecSize TapeMode Compression
9 38000 6 8192 STREAM ON
Guidelines
• When writing to a tape that requires a certain recording density, make sure that the
specified drive supports that density.
• MEDIACOM does not support 7-track tape drives.
• The named device can be a network name because MEDIACOM operates in
distributed systems environments.
• Any subsequent device parameter in a MEDIACOM command does not change this
default assignment but does specify the device to be used for that command.
• The effect of the TAPEDRIVE command is valid only for the current session of
MEDIACOM.
Example
1. To make $TAPE1 the default drive with MEDIACOM, enter:
MC> TAPEDRIVE $TAPE1
2. Check that $TAPE1 is designated as the default tape drive for the current
MEDIACOM session:
MC> ENV
A listing such as this is sent to your home terminal:
Tape Drive \SAGE.$TAPE1
File Catalog \SAGE.FILE_CATALOG_SAGE
Volume Catalog \SAGE.MASTER_TAPE_CATALOG
Pool Name TAPES_FOR_SAGE
Volume \SAGE.$OPRVOL.OPR
Unload ON
Example
1. Log on as a super-group user (255,n).
2. Enter:
> SCF STOP TAPE $TAPE1
Example
1. Log on as a super-group user (255,n).
2. Enter:
> SCF START TAPE $TAPE1
This command also displays outstanding tape mount and drive-usage requests and puts
the specified terminal in console mode. If you do not specify a device, the current
terminal is used for tape mount and drive-usage requests.
Only one terminal in a system can be in console mode at a time. If you enter the
CONSOLE or ALTER CONSOLE command when another terminal is already in
console mode, an error message is displayed.
Use the TACL STATUS command to list the name of the terminal running the process
(cpu,pin):
> STATUS cpu,pin
To terminate console mode with MEDIACOM, enter the ALTER CONSOLE, RESET
DEVICE command at the terminal you have designated as the console.
Example
To use MEDIACOM to view the messages sent from $ZSVR on your terminal, log on
as a super-group user (255,n) and enter:
> MEDIACOM
$tape
is the tape device that is reporting the error.
number
is the error number: 0001–0499 are tape process error messages, and 0901–0999 are
tape process warning messages.
text
describes the error situation, containing any applicable volume serial numbers.
SAVEABEND files have names of the form ZZSAnnn and are located on the
volume and subvolume where the program file for the $ZSVR process resides. For
example, if a STATUS $ZSVR showed that the program file for $ZSVR was
$SYSTEM.SYS23.ZSERVER, the SAVEABEND file would be:
$SYSTEM.SYS23.ZZSAnnn
Then enter:
> FUP DUP $SYSTEM.SYS23.ZZSA001, $SYSTEM.SYS23.ZZSA002
2. Tell your operations manager the location of this file, or print a copy for reference.
3. Start another $ZSVR process pair:
> ZSERVER /NAME $ZSVR, NOWAIT, PRI 199, CPU x/y
All pending mount messages are lost and the requester’s application receives file system
error 195.
Example
To copy the SAVEABEND file and begin a new $ZSVR process pair using CPUs 1 and
2, enter:
> FUP DUP $SYSTEM.SYS23.ZZZSA001, $SYSTEM.SYS23.ZZZSAOO2
> ZSERVER /NAME $ZSVR, NOWAIT, PRI 100, CPU 1/2
When you receive a request to mount a labeled tape (or a scratch tape):
1. Install or remove the write ring, as requested.
2. Mount the correct tape on the requested tape drive or, if no drive is requested, on
any available tape drive (use the MEDIACOM STATUS TAPEDRIVE command to
determine which drives are free).
3. Ready the drive.
If the tape you mount matches the tape requested, this informational message appears:
$ZSVR: STATUS 1504 - vid TAPE OPENED ON $tape-device
If the system does not accept the tape, you get an error message.
When you receive a message of either type, you respond to it by mounting a labeled tape
according to the message elements:
seq
is the four-digit message sequence number that identifies this mount request. This
number is used in the MEDIACOM REJECT TAPEMOUNT and STATUS
TAPEMOUNT commands.
labeltype
asks for an IBM-standard labeled tape or a TMF tape. If labeltype is omitted,
the request is assumed to be for an ANSI-standard labeled tape.
vid
is the volume serial number.
reel
is a number from 1 through 255 that specifies the particular reel for a tape file that
extends over multiple volumes.
density
is either 1600 or 6250 bits per inch.
$tape
is the tape drive name in the system, displayed if you specify “device” in the tape
DEFINE, or if the mount message is for a continuation volume of a multivolume
operation. In this case, the tape drive used for the previous tape volume is named in
the mount message and is the only drive that can be used for continuation volumes.
comment
is an optional message for the operator that can include information such as the
relative length of the job and the degree of urgency.
1. Find the ANSI-standard labeled tape with volume serial number ANSABC.
2. Install a write ring on the tape.
3. Mount the tape on any free drive that supports density 1600.
4. Ready the drive.
For an IBM-format Tape Mount Request
1. Find the IBM-standard labeled tape with volume serial number IBMABC.
2. Remove the write ring from the tape reel.
3. Mount the tape on $TAPE.
4. Ready the drive.
For an IBM-format Scratch Tape Mount Request
1. Find an IBM-standard labeled tape from the IBM scratch tape pool.
2. Install a write ring on the tape.
3. Mount the tape on $TAPE.
4. Ready the drive.
number
the message number assigned by $ZSVR.
tname
the name of the tape being requested in the message.
type
the type of tape label or label processing mode (ANSI, IBM, BLP, and so on).
nodedev
the name of the node where tname must be mounted; or the name of the tape drive
to use.
prot
specifies whether to protect tname from being overwritten.
action
specifies the action you must take for processing to continue, such as ACCEPT OR
REJECT TAPEMOUNT.
seq
is the 4-digit message sequence number that identifies this request.
$tape
is the tape drive on which the unrecognized tape is mounted.
When a message of this type occurs, you should either accept or reject the request as
described under Responding to Tape Mount Requests on page 10-17.
If you accept an unknown tape, the system considers it to be an unlabeled tape. Use
caution and make sure that the tape does not have data written at a different density.
The system might consider a tape to be unknown if:
• The tape was written at a density that the drive does not support.
• The tape has never been used.
Example
This message can be sent as the result of an unknown tape having been mounted on the
tape drive named $TAPE:
$ZSVR: 0006 UNKNOWN TAPE ON $TAPE, ACCEPT OR
MOUNT CORRECT TAPE TO PROCEED
Labeling Tapes
You can create ANSI-standard labeled tapes using the MEDIACOM ADD
TAPELABEL command. The MEDIACOM ADD TAPELABEL command, LABELS
IBM option, creates IBM-MVS standard labeled tapes.
Caution. When you label a tape, all existing data on that tape becomes inaccessible. Before
you label a tape, check its contents with the MEDIACOM INFO TAPELABELS command. See
Displaying Tape Label Information on page 10-24.
Complete syntax for the MEDIACOM ADD TAPELABEL command is included in the
DSM/Tape Catalog Operator Interface (MEDIACOM) Manual.
Examples
• To use MEDIACOM to label an unlabeled tape with a density of 1600 bits per inch
(bpi) mounted on $TAPE with the volume serial ID of ABC:
MC> LABEL ABC, TAPEDRIVE $TAPE, DENSITY 1600
MEDIACOM responds with messages such as:
$TAPE: NOT READY?
VOLUME ABC INITIALIZED
The first message indicates that MEDIACOM has control of the drive and is waiting
for the tape to be mounted. The second message indicates that the labeling operation
is complete.
• To write the volume serial ID XYZ to an unlabeled tape mounted on $TAPE1,
adding a babel which includes the owner field SOFTWARE, enter:
MC> TAPEDRIVE $TAPE1
MC> ADD TAPELABEL, LABELS IBM XYZ, OWNER "SOFTWARE"
• To write a standard ANSI label on an unlabeled tape and leave the tape online at the
load point after labeling it, specifying a density setting of 1600 bits per inch (bpi):
MC> ADD TAPELABEL ABC123, TAPEDRIVE $TAPE, NOUNLOAD, DENSITY
1600
• To give an unlabeled tape an IBM-MVS label with a density of 6250 bpi and the
name AA0004, enter:
MC> ADD TAPELABEL AA0004,&
>>> DEVICE $TD001,&
>>> DENSITY 6250,&
>>> LABELS IBM
Examples
This MEDIACOM example shows how to display brief format label information for an
IBM-MVS labeled tape that is mounted on the tape drive named $TAP06:
MC> INFO TAPELABELS, TAPEDRIVE $TAP06
To Relabel a Tape
1. Log on as a super-group user (255,n).
2. Write the intended label on the tape reel.
3. Enter this MEDIACOM command:
MC> ADD TAPELABEL old-tape-name, NEWNAME new-tape-name,
TAPEDRIVE $tape
new-tape-name is the name you want to use in the relabel operation.
4. Mount the tape on the selected tape drive.
5. Ready the drive and press Return.
When the relabeling process is complete, this message is displayed:
The relabeling operation changes the volume serial identification number of standard
labeled tapes.
Examples
This MEDIACOM example shows that the NOUNLOAD state is on (the default value).
After the UNLOAD OFF command is entered, the default value changes from on to off.
MC> ENV
Tapes remain online after each labeling command until you enter another UNLOAD
command or exit the session.
Guidelines
• UNLOAD ON is the default value when MEDIACOM is started.
• The UNLOAD OFF condition applies to the following commands: ADD
TAPELABEL command and its options LABELS IBM, NEWNAME, and
SCRATCH, and the INFO TAPELABELS command.
• The UNLOAD ON command affects only the current MEDIACOM process and is
active until you change it with the UNLOAD command, OFF option.
• For error code 151, either the tape is blank or the density of the data on the tape
is lower than the density switch setting on the drive.
• For error code 120, the density of the data on the tape is higher than the density
switch set on the drive.
• If the tape is unloaded at all density settings, either the tape is blank or the data
is written at a density that is unacceptable to the drive.
• If you mount a tape to satisfy a request and the tape is unloaded after being placed
online, look for an error message in the Event Management Service (EMS) log:
• If you used an incorrect tape, find the correct tape and mount it on the drive. If
the correct tape is not available, reject the request with the MEDIACOM
REJECT TAPEMOUNT command.
• If the tape volume is not expired, and that volume was specifically requested by
a user, check with the user. The wrong tape might have been requested, or you
might have to scratch that tape with the MEDIACOM ADD TAPELABEL
command, SCRATCH option.
Example
In this example, three tapes that contain unexpired files are changed to scratch tapes.
Each tape is mounted on the default tape drive for this session.
MC> ADD TAPELABEL (V11233, V11244, V20055), SCRATCH
When the ADD TAPELABEL, SCRATCH operation successfully ends, MEDIACOM
responds with a message such as:
TAPE VOLUME V11233 SCRATCHED
TAPE VOLUME V11244 SCRATCHED
TAPE VOLUME V20055 SCRATCHED
source-file
specifies the memory dump file that is to be copied and compressed. Specify either
the name of the tape drive where the tape is loaded or the name of a disk dump file
you want to copy. If source-file is a tape file, you must create it by performing a
tape dump as described in the operator’s guide for your system. If source-file is a
disk file, you must create it by doing a bus dump as described in the operator’s
guide for your system or by using the RCVDUMP program or the RECEIVEDUMP
command.
dest-file
specifies the destination of the COPYDUMP operation. For dest-file, specify the
name of a disk file. If dest-file does not exist, it is created during the COPYDUMP
operation. If dest-file exists, it must be empty (EOF=0) and have file code 9614.
For a complete list and description of all COPYDUMP options, see the TACL Reference
Manual.
Note. You can also use FUP (the CREATE and COPY commands) to copy tape dump files to
disk files. However, using COPYDUMP is faster, and it generates a smaller disk dump file
because it compresses the dump. Also, COPYDUMP automatically determines the size of the
disk dump file, whereas you must specify the extent size of the disk file if you use FUP.
Examples
Copying and Compressing a Tape Dump File
If a tape dump file resides on the tape mounted on the tape drive $TAPE2, to copy and
compress the tape dump file into the disk file $DATA.DUMPS.CPU1, enter:
> COPYDUMP $TAPE2, $DATA.DUMPS.CPU1
Topic Page
Why Use Backup and Restore? 11-2
Supported Modes of Operation 11-2
Backing Up Your Files 11-3
Restoring Your Files 11-12
Using Labeled Tapes With Backup and Restore 11-19
Duplicating Backup Tapes With Backcopy 11-23
For more information, including the complete syntax, guidelines, and more examples of
using Backup, Restore, and Backcopy, see the Guardian Disk and Tape Utilities
Reference Manual.
run-options
One or more run options. See the RUN command in the TACL Reference Manual.
tape-drive
Name of a local or remote tape drive, or a TAPE DEFINE name.
qualified-file-set-list
One or more file-set lists (including any qualifiers) specifying the files you want to
back up.
command-option
Backup command option. See Table 11-2.
For example, this Backup command contains only the required elements (the
keyword Backup, the tape drive name, and a qualified file-set list), and copies all
files from the $DATA.USER subvolume to the tape on the tape drive $TAPE1:
10> BACKUP $TAPE1, $DATA.USER.*
Backup attempts to access the tape drive $TAPE1. If the drive is available, Backup
takes control of the drive, displays its program banner, and prompts you for a tape:
BACKUP Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
$TAPE1: Not Ready?
The program banner includes the name of the program, the product number and
release version, the release date, and the copyright notice.
The “Not ready?” message indicates that Backup has control of tape drive $TAPE1
and is waiting for you to mount your tape on this drive. To cancel the Backup
operation, enter CTRL-Y at the “Not ready?” prompt; you will exit the Backup
program and return to the TACL program.
Guardian User’s Guide —425266-001
11- 3
Backing Up and Restoring Disk Information Specifying a File-Set List for Backup
If the tape drive is in use by another process, Backup returns file-system error 12
(file in use) and stops. If this happens, select another tape drive and start again.
4. Mount your write-enabled tape according to the directions for the specific tape
drive. Press Return.
Backup copies the files from $DATA.USER to the tape on $TAPE1.
This procedure ensures that you have control of the tape drive before you put your tape
online. If you mount your tape before you enter your Backup command, the Backup
operation begins immediately without the “Not ready?” message. If the drive is already
controlled by another process, this process could write to your tape.
You can include these wild-card characters in the volume, subvolume, and
filename:
* (asterisk) Matches zero to eight character in the same position where it
appears
? (question mark) Matches any single character in the position where it appears
These characters cannot be used in a system name or for the volume identifier ($) or
field separator (.). Also, some Backup command options do not allow these characters;
see the Guardian Disk and Tape Utilities Reference Manual.
Examples of file sets are:
$MYVOL.EXTRA.INFO The file INFO in the subvolume EXTRA on volume $MYVOL.
MYFILE The file MYFILE on the current default subvolume and volume.
*.* All files on the current default subvolume.
$Z*.SUB*.* All files in subvolumes that have names beginning with SUB on
every disk volume that has a name beginning with $Z.
This command backs up all the files in the current default volume and subvolume:
10> BACKUP $TAPE, *
Because no volume or subvolume name is given in this example, Backup uses the
current default values for volume and subvolume.
To back up all the files in the volume $MANUF:
11> BACKUP $TAPE, $MANUF.*.*
To back up all files to which you have read access in the current default system:
12> BACKUP $TAPE, *.*.*
This command includes a file set containing special-case wild cards. This Backup
command copies all files in the current default system that meet these requirements: the
file name can be any length but must begin with SD, and the subvolume name must be
five letters long ending with MON:
14> BACKUP $TAPE, ??MON.SD*
A file-set list is one or more file sets. To include more than one file set in a file-set list,
separate the file sets with commas and enclose them in parentheses. This example shows
a file-set list in a command that backs up all files in the current default subvolume and
all the files in the volume $MANUF:
15> BACKUP $TAPE, (*, $MANUF.*.*)
This example backs up all files on $DISK2 that are owned by the user with user ID 8,76:
10> BACKUP $TAPE1,$DISK2.*.* WHERE OWNER = 8,76,LISTALL
This example backs up all EDIT files (file code 101) on $DISKA.SALESVOL and
$DISKB.REPORTS that are owned by users in the group SALES:
11> BACKUP $TAPE1,($DISKA.SALESVOL.*,$DISKB.REPORTS.*)&
11> &WHERE OWNER = SALES.* AND FILECODE = 101,LISTALL
The IN file option specifies a file or device from which Backup reads the command
parameters. If your Backup command contains a long or complicated list of files and
command parameters, entering the command from an IN file can be easier than entering
it interactively.
Instead of typing the parameters when you enter your Backup command, type the
parameters in a command file. Then, when you enter the Backup command, specify this
file for the IN file parameter.
Note. You must use an IN file if your Backup command exceeds 132 characters for a single
command line or 528 characters for a command that continues beyond one command line.
For example, this command starts a Backup process that uses the parameters in the IN
command file FRED.FLIST and sends its listing to the OUT file BRECD. With the
NOWAIT option, control of your terminal returns to your TACL process during the
back up operation:
11> BACKUP / IN FRED.FLIST, OUT BRECD, NOWAIT /
The tape drive then generates a tape with the recording density you specified. If you do
not specify a density, the tape receives the current density setting of the tape drive.
Backup displays:
BACKUP Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
Tape: $TAPE3 Operating System: G06 Tape Version: 1
Backup options: BLOCKSIZE 8, NO PARTONLY
Backup time: 11Feb1999 10:43 Page: 1
Reel: 1 Code EOF Last modif Owner RWEP Type Rec Block
$MYVOL.MYSUBVOL
BFILE *ERROR* File aborted (Open error 12).
XFILE *ERROR* File aborted (Open error 48).
Summary Information
Files dumped = 9 Files not dumped = 2
In the above example, two attempts to copy files resulted in errors. The error number in
parentheses identifies a file-system error. For example, error 48 is a security violation;
the user did not have read access to that file.
Include the LISTALL option to get a complete listing of the files backed up and the files
that generate errors or warnings. This example shows the output from a Backup
command with the LISTALL option:
4> BACKUP $TAPE3, *, LISTALL
Backup displays:
BACKUP Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
Drives: $TAPE3
System: \LAUN11 Operating System: G06 Tape Version: 1
Backup options: BLOCKSIZE 8, NO PARTONLY
Backup time: 11Feb1999 10:43 Page: 1
$MYVOL.MYSUBVOL
BFILE *ERROR* File aborted (Open error 12).
CFILE 101 334525 6Jan1999 8:55 8,44 NUNU
CFILE2 101 1854 8Jan1999 9:19 8,44 AOGO
EFILE 5120 8Jan1999 10:46 1,25 NUNU E 80 1024
FILE1 101 22657 15Jan1999 15:11 1,25 CUCU
Summary Information
Files dumped = 9 Files not dumped = 2
In this example, the Backup operation requires two tapes. Backup displays the prompt
“Mount Next Tapes #2?”when the first tape is full. After you mount another tape, press
Return to continue the Backup process.
With the LISTALL option, you can create a permanent record of the files that were
copied. In your Backup command, include the LISTALL option and name a disk file or
a spooler location for the OUT option. You can label the contents of the tape by
attaching the output to the reel or cartridge.
If you regularly back up your files, you can use the PARTIAL option to save tape space
and backup time. Each time you back up files, use the PARTIAL option to specify the
date and time of the previous backup. This lets you maintain current backup copies of all
your files without copying files that are already backed up.
For more information about tape operations, see Section 10, Using Labeled Tapes.
This example restores all files on tape drive $TAPE1 that have the current default
volume and subvolume name and all files that have the volume and subvolume name
$DATA.USER.
To restore files from a backup tape to your disk using file-mode operation:
1. Remove the write-ring from the tape reel that you are using for the restore operation.
This write-protects your tape; if your tape is write-enabled and another process
attempts to write to your tape, your data can be damaged or destroyed.
2. Enter a Restore command at the TACL prompt:
run-options
One or more run options. See the RUN command in the TACL Reference Manual.
tape-drive
Name of the tape drive you are using for the restore operation, or a TAPE DEFINE
name. Tape drive names begin with a dollar sign ($) and can be up to seven
characters long.
qualified-file-set-list
One or more file-set lists specifying the files you want to restore.
command-option
Restore command option. See Table 11-3 on page 11-14.
This example shows a Restore command:
10> RESTORE /OUT LIST, NOWAIT/ $TAPE1, & (*, $DATA.USER.*), LISTALL
Restore prompts you for tape drive $TAPE1 with the “Not Ready?”message.
3. Mount your tape and press Return. Restore copies the specified files from tape to
disk.
The above command includes the OUT option to send the listing to the file LIST and the
NOWAIT option so you can use your terminal for other applications while Restore is
running. The Restore command LISTALL option causes Restore to list all files that are
restored (including any files that cause an error).
To restore a file from tape that has the same name as a file on disk, you must have purge
access to the file on disk, unless you specify the KEEP option.
The IN file option specifies a file or device from which Backup reads the command
parameters. If your Restore command contains a long or complicated list of files and
command parameters, entering the command from an IN file can be easier than entering
it interactively.
Instead of typing the parameters when you enter your Restore command, type the
parameters in a command file. Then, when you enter the Restore command, specify this
file for the IN file parameter.
Note. You must use an IN file if your Restore command exceeds 132 characters for a single
command line or 528 characters for a command that continues beyond one command line.
Restore sends the listing to the file LIST. The NOUNLOAD option keeps your tape
online and ready to begin a restore operation after the listing is finished.
$MYVOL.MYSUBVOL
CFILE 101 334525 6Jan1999 8:55 8,44 NUNU
CFILE2 101 1854 8Jan1999 9:19 8,44 AOGO
EFILE 5120 8Jan1999 10:46 1,25 NUNU E 80 1024
FILE1 101 22657 15Jan1999 15:11 1,25 CUCU
FILE2 101 1118 10Jan1999 11:12 1,25 CUCU
FILE3 101 365520 27Jan1999 14:37 1,25 CUCU
INDEX 101 61616 19Jan1999 19:05 8,12 CUUU
KEYFILE 32768 3Dec1998 10:08 1,25 AOAO K 80 4096
SEC1 101 26374 18Jan1999 9:05 1,25 CUUU
Summary Information
Files on tape = 9
Restore displays:
RESTORE Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
Tape: $TAPE1 Operating System: G06 Tape Version: 1
Backup options: BLOCKSIZE 8, NO PARTONLY
Restore time: 12Feb1999 16:13 Backup time: 10Feb1999 13:38 Page: 1
$PASTRY.PUFF
APPLE 101 61616 19Jan1999 19:05 8,44 CUCU
CHEESE 101 1854 8Jan1999 9:19 8,44 CUCU
CHERRY 101 334525 6Jan1999 8:55 8,44 CUCU
$PASTRY.DOUGH
FILO 101 22657 15Jan1999 15:11 8,44 CUCU
COOKIE 101 1118 20Jan1999 11:12 8,44 CUCU
BREAD 101 365520 27Jan1999 14:37 8,44 CUCU
Summary Information
Files restored = 6 Files not restored = 0
You can also use the MAP NAMES option with Restore to convert files from one disk-
process format to another. For example, you can convert files from DP1 format to DP2
format (that is, restore DP1 files to a DP2 disk volume), by specifying a DP2 destination
volume with the MAP NAMES option.
If you use the MAP NAMES or VOL option and your backup tape has two (or more)
files with the same file name, only the last file with the same name is restored. For
example, consider this file-set list:
($TOLSTOY.NOVELS.BIG1, $PROUST.RTP.BIG1)
Suppose you attempt to restore both of these files to the subvolume $GIANT.NOVELS
by entering:
20> RESTORE $TAPE, ($TOLSTOY.NOVELS.BIG1, $PROUST.RTP.BIG1), VOL $GIANT.NOVELS
Because files are stored on tape in alphabetical order, the data in $PROUST.RTP.BIG1
is first restored to $GIANT.NOVELS.BIG1 but then is purged and overwritten with the
data in $TOLSTOY.NOVELS.BIG1. After the restore finishes,
$GIANT.NOVELS.BIG1 contains only the data from the $TOLSTOY.NOVELS.BIG1
tape file.
For more information about DEFINEs and labeled tapes, see Section 6, Creating and
Using DEFINEs, and Section 10, Using Labeled Tapes.
Backup displays a mount request for this job at the operator console:
$ZSVR: 0005 MOUNT TP022 WITH RING
"Labeled BACKUP. Tape #1."
Backup sends this listing to the OUT file, which in this case is the home terminal of
the Backup process.
BACKUP Program - T9074D46 (07SEP98)
Copyright Tandem Computers Incorporated 1981-1998
*WARNING* This tape can only be restored with TNS/II RESTORE (C00 or
later).
Labeled BACKUP tape. Operating System: G06 Tape Version: 3
$DISK.WEEK
BUILD 101 46282 5Feb1998 21:11 1,3 CUCU
COMMENTS 101 5512 10Feb1998 18:08 1,3 CUCU
COPY 101 128858 27Jan1998 2:38 1,3 CUCU
COVER 101 2540 28Jan1998 18:09 1,3 CUCU
CPU1 *Continued on next tape*
CPU1 *Tape change* Tape #2, volume id: TPO23, drive: $TAPE
CPU1 5Feb1998 9:33 1,3 CUCU
DIST 101 5364 10Feb1998 17:05 1,3 CUCU
INTERN1 101 75234 12Dec1998 20:21 1,3 CUCU
TRFTEST 7502 10Feb1998 17:25 1,3 CUCU
Summary Information
Files dumped = 8 Files not dumped = 0
4. Mount the first tape in the set (with volume ID TP022) on tape drive $TAPE0.
The Restore operation begins. When the restoration of TP022 is finished, Restore
prompts for the second tape, if necessary. The second tape must also be mounted on
$TAPE0.
Running Backcopy
When you run Backcopy, you can make one or two duplicate tapes. If you make one
duplicate copy, Backcopy generates a tape in the same format as the original tape unless:
• You use labeled tapes.
• You specify the ARCHIVEFORMAT option.
For these cases, Backcopy generates a tape in the archive tape format.
If you make two duplicate copies, Backcopy always generates the tape in tape format 3
(archive tape format).
run-options
One or more run options. See the RUN command in the TACL Reference Manual.
source-tape
Name of the tape drive that reads the tape you are duplicating, or a TAPE DEFINE
name.
dest-tape
Name of the tape drive(s) where the duplicate tape(s) is written, or a TAPE DEFINE
name.
*.*.*
Specifies all files on the source tape. You cannot specify individual files.
command-option
A Backcopy command option:
Backcopy copies all files. If Backcopy cannot read a file because of a parity or
checksum error, it displays an error message and the tape duplication fails.
A duplicate tape generated with Backcopy is different from a parallel tape copy
generated with Backup:
• When parallel copies are made with Backup, both copies contain exactly the same
amount of information on each reel. You mount new tape reels for both copies at the
same time. Backup makes identical copies so that each reel of tape is
interchangeable with its corresponding copy during a Restore.
• When you make a second copy with Backcopy, the amount of information on each
tape reel can vary between the copies. You mount a new tape whenever a drive
reaches the end of reel; you do not necessarily change tape reels for both copies at
the same time. The individual reels are not interchangeable; only the whole
duplicate tape set is interchangeable with the original set.
Backcopy Examples
Making one copy of an unlabeled tape
This Backcopy command makes one copy of an unlabeled backup tape. The source tape
is on tape drive $TAPE1, and the destination tape is on tape drive $TAPE2. The format
of the new tape is the same format as the source tape. The LISTALL option causes
Backcopy to list all files that are copied.
10> BACKCOPY $TAPE1, $TAPE2, *.*.*, LISTALL
This part of the guide contains information about the spooler subsystem, and describes
using Peruse and Spoolcom to manage spooler jobs and the spooler, respectively:
• Section 12, Introduction to the Spooler
• Section 13, Managing Your Spooler Jobs Using Peruse
• Section 14, Performing Routine Spooler Operations Using Spoolcom
• Section 15, Managing the Spooler Using Spoolcom
Topic Page
Why Use the Spooler? 12-2
Spooler Components 12-2
Spooler Jobs and Job Attributes 12-4
Printer Attributes 12-6
Routing Structure 12-8
Printing To the Spooler 12-10
Spooler Components
The spooler consists of processes, output devices, and routing structures:
Spoolcom
2 Supervisor Print
Collector 3
Process
1 5 4
Application 2 4
Peruse
5 Printer
Interprocess messages
Disk Spooled data path
2. The collector writes data to the disk and informs the supervisor that it has accepted a job.
3. The supervisor informs the print process where the job can be found on the disk.
4. The print process reads the job from disk and writes the job to the printer.
5. Peruse obtains the job information from the supervisor or lets you examine data on the disk.
Attribute Definition
Batch Identifies a batch, which is a group of individual jobs that have been linked
Number together with the Peruse LINK command.
Job Number A unique number in the range 1 through 4095 that the spooler assigns to
identify each spooler job.
Job Copies Specifies the number of copies that the spooler should print.
Job Form An optional attribute that lets you guarantee that your job is printed only on
Name the printer that has the same form name.
For example, if an application produces a job that fills out W-2 forms, the job
must be printed on a printer loaded with W-2 form paper. If the job has a form
name of “W2,” it will print only on a printer that has the same form name. The
form name “W2” is assigned to the printer when the special paper is loaded.
Job Priority Determines when a job will print in relation to other jobs queued for the same
printer. The spooler maintains a queue for all printers. Higher-priority jobs are
placed near the front of the queue, while lower-priority jobs are placed near
the end of the queue. See Selection Algorithm on page 12-6.
Job State Describes the job status (see Figure 12-2 on page 12-5), which can be:
OPEN: Job being added to the spooler. For example, if you send a TFORM
process’ output to the spooler, the job is OPEN until the TFORM output is
complete.
READY: Job ready to print, but not yet printing (usually because another job
is printing).
PRINT: Job being printed. PRINT is normally the last state before the job is
deleted from the spooler. To prevent the spooler from deleting a job after
printing, use Peruse to set the hold-after-printing flag; see Section 13,
Managing Your Spooler Jobs Using Peruse, for details.
HOLD: Job not printed, remains in the spooler indefinitely until you delete it
or remove the hold. You can put a job on HOLD using the Peruse HOLD
command.
You can put a job on hold at any time. If the job is in READY or PRINT, it is
placed on hold immediately. If it is in OPEN, it is placed on hold after the job
is completely spooled.
Attribute Definition
Job Report The job report name is printed in the header message of the job, which is
Name described under Printer Attributes on page 12-6.
Job The job location can be associated with a physical printer on the system or
Location with a dummy holding location. See Routing Structure on page 12-8.
Life Cycle 1. A job starts at the OPEN state while the application is writing the data to
of a Job the collector process.
2. The collector process stores the data as a job in a print queue on disk.
3. When the application is finished, the job is in the READY state.
4. The job enters the PRINT state if its spooler location is associated with a
printer.
5. The print process controls the printing of the job.
6. When printing is complete, the spooler deletes the job, unless the hold-
after-printing flag is set.
Hold
Create: You create a job when your application opens a collector process and writes to it; for example:
Open: The application writes to the collector process, which in turn writes the data to a disk file.
Ready: The job is ready when the application closes the collector process.
Hold: You can hold a job, removing it from the device queue, only when it is in the ready or print state.
Print: The job waits in the device queue until it is ready to print. While in the print state, the job is printing
on the output device. If you place the job on hold, it immediately stops printing.
Delete: If the hold-after-printing flag is not set, the job is deleted after it finishes printing. You can also
delete a job from the spooler using a specific request. If the job is printing when you make that request,
the job immediately stops printing and is deleted. CDT 009.CDD
Printer Attributes
Each printer (and associated print process) on your system has these attributes that affect
your spooler jobs:
Form Name
The form name of a printer defines the type of job that can be printed on it. Only a job
whose form name is the same as the form name of the printer can be printed. For an
example, see Job Form Name on page 12-4.
Header Message
The header message includes the job report name, location, job number, form name, and
date and time of printing. An operator can turn on or off the header message for each
printer. When the header message is on, it prints on the first page of the job; the report
name and location are printed in large letters (see Figure 12-3). If the header message is
off, jobs print consecutively with only a form feed (new page) to indicate the beginning
of the next job.
If the system operator specifies a batch header, the job information prints on two of the
three trailer pages as well as on the first two pages of each job. The trailer pages have
printing over the page folds, enabling jobs printed on accordion-fold paper to be easily
separated. The two-page header message always appears on the top page, regardless of
how the job is folded.
The actual header message depends on the print process controlling the printer. The
headers described above are produced by a NonStop™ Kernel print process. If a printer
is controlled by a user-written print process, it can produce a custom header (or none at
all).
State
The printer state describes the status of the printer:
Printing The printer is printing a job.
Waiting The printer is idle and waiting for a job to print.
Offline The printer is offline and not available for printing.
Suspended The printer is in the process of printing a job but has been suspended by
the operator (for example, to change ribbons).
Deverror The printer received a file-system error while printing. Operator
intervention is required.
Procerror The supervisor process determined that the print process for the printer is
not working correctly. Operator intervention is required.
Selection Algorithm
For each printer, the spooler maintains a queue, which is a list of the jobs to be printed
on the printer. The job at the head of the queue is the next job to be printed.
Jobs with a high priority usually print sooner than lower priority jobs. However, a
selection algorithm affects the order in which jobs print within the same priority level.
If the selection algorithm is FIFO (First In, First Out), jobs are placed at the end of the
queue and wait to be printed. If the selection algorithm is not FIFO, the spooler lets
short jobs print before longer jobs of the same priority.
For a description of the spooler job-selection algorithm, see Controlling Jobs on
page 14-20.
Routing Structure
The spooler routing structure, which consists of a set of locations and printers, directs a
spooler job to a printer.
A spooler location is the logical destination of a job, while a printer is the physical
destination. This distinction allows flexibility when routing jobs. The spooler assigns
each job a location when it enters the spooler. The job eventually prints on the printer
associated with that location, if a printer exists with that name.
Location names have two parts: a group name and a destination name. The group name
is always preceded by a number (#) symbol. Examples of location names are:
#LP.EAST
#LP.WEST
#LP is a group name; EAST and WEST are destination names.
Default Routing
The spooler has a special location, #DEFAULT, which is used when you do not specify
a location for a job. For example, these two commands are equivalent; both send
TFORM output to $S.#DEFAULT:
10> TFORM / IN DAYREPRT, OUT $S /
11> TFORM / IN DAYREPRT, OUT $S.#DEFAULT /
Ask your system manager which physical printer or printers are associated with
#DEFAULT on your system.
Group #X
LP1
A
C
LP2
Group #Y
LP3
E
(Broadcast)
Group #Z
LP4
F
The collector $S creates the spooler job, assigns a job number, and stores the output in a
disk file. When TFORM is finished, the spooler puts the job in the READY state.
If a printer is associated with #LP.WEST, the job is printed when the printer is available.
If a printer is not associated with the location, the job remains on the print queue until
you delete it or send it to another printer.
The command is still valid if you do not specify the entire location name:
11> TFORM /IN MYFILE, OUT $S.#LP/
If #LP is a nonbroadcast group, the job is printed on the first available printer associated
with the #LP group.
For location groups that have only one associated printer, the full location name is
unnecessary. This is a valid TFORM command that does not specify the location:
12> TFORM /IN MYFILE, OUT $S/
In this case, the job is sent to #DEFAULT and is printed on one of the printers
associated with the #DEFAULT group name.
This example shows how to use a SPOOL DEFINE to set the attributes of a spooler job.
First, ensure that DEFINEs are enabled for your TACL process (that is, the DEFMODE
setting is ON):
10> SHOW DEFMODE
Defmode ON
2. Enter an INFO DEFINE command with the DETAIL parameter to display the
attributes and their values for =PAY-RUN.
12> INFO DEFINE =PAY-RUN, DETAIL
Define Name =PAY-RUN
CLASS SPOOL
LOC $S.#LLP
COPIES 3
FORM PAYLST
OWNER 8,255
SELPRI 7
REPORT JANUARY PAYROLL
The spooler job created by PAYLIST has the attributes specified in the SPOOL
DEFINE named =PAY-RUN.
2. To see these spooler job attributes, use Peruse:
14> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1991, 1992
3. Run the PAYLIST program; the spooler job now has these new values.
Topic Page
Running Peruse 13-2
Entering Peruse Commands 13-3
Peruse Commands 13-6
Using Peruse With TFORM 13-7
Using Peruse With TAL 13-9
Using Peruse With Files 13-12
For more information about Peruse, see the Spooler Utilities Reference Manual.
Running Peruse
To run Peruse, enter the keyword PERUSE at your TACL prompt. Peruse displays its
program banner, copyright message, and prompt, which is an underscore (_):
10> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
_
Spooler Jobs
If you have jobs on the spooler queue when you start Peruse, these jobs are listed below
the program banner as shown below:
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
Each line under the column headers describes a different job. The column headers are:
JOB Job number of each job, as assigned by the spooler supervisor process. If a
spooler job file is the current job, Peruse displays FILE under this header.
BATCH Spooler batch job number to which this spooler job is linked. For single
jobs, no batch number is listed.
STATE Status of each job:
OPEN The job is still being collected by the spooler.
READY The spooler has finished collecting; the job is queued and
waiting to print.
HOLD The hold-before-printing flag is on.
PRINT The job is currently printing.
PAGES Number of pages in each job. OPEN jobs are being collected, so the number
of pages is not known.
If you know the job number, you can also enter these commands at the TACL prompt. A
semicolon (;) must precede each Peruse command, as shown above. The spaces before
and after the semicolons are optional.
10> PERUSE ; J 123 ; DEL
You declare a spooler job file as the current job using the JOB command. For example,
if you have a spooler job file named JOBFILE in your current subvolume, enter a JOB
command and the file name (and a second JOB command to invoke the Peruse display):
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
Displaying a Job
There are three ways to display the current spooler job using Peruse:
• Use the LIST command.
• Press Return to display one line. Press and hold down Return to scroll the job until
you release the key.
• Use function keys to list groups of lines from the job. The number of lines listed by
each function key is shown below:
Key Lines Key Lines Key Lines Key Lines
Peruse Commands
For a detailed description of these Peruse commands, see the Spooler Utilities Reference
Manual.
When you enter the LIST command, use an asterisk (*) for the page number. Peruse
displays the page from the previous FIND command, which contains the error.
Continue using the FIND and LIST commands to find any remaining errors; if you don’t
specify a new string, FIND continues to search for the same string (*** ERRORS).
After you have found all errors, the FIND command displays only the Peruse prompt.
After making a note of your errors, you can delete the job with the DEL command, exit
Peruse, and correct your TFORM document.
The JOB command shows that the changes have been made to the job:
_JOB
The LIST command creates job 560 and leaves job 534 unchanged. The C option
preserves form-control information for job 560, such as overprinting of lines for
boldface and underscores.
Start Peruse and display your job. Peruse displays the status of your job as OPEN
because the TAL compiler is still running:
2> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
Continue using the FIND command to find any remaining errors; if you don’t specify a
new string, FIND continues to search for the same string. Determine the page on which
each error occurs with the PAGE command and then display the page, with the LIST
command:
_FIND
**** ERROR 54 **** Illegal reference parameter
_PAGE
PAGE: 8 LINE: 12
_LIST *
Continue searching for the error string until there are no more occurrences of it in the
program. For example:
_FIND
**** ERROR 72 **** Indirection must be supplied
_FIND
When you have found all the errors in the program and are through with this TAL
listing, delete it with the DEL command and exit Peruse:
_DEL ; EXIT
Correct the errors in your source file and run TAL again.
The following example shows a TAL compilation with the compiler listing sent to
location $S.#HOLD:
11> TAL /IN PROG, OUT $S.#LOOK/ TALOBJ
12> PERUSE
PERUSE - T9101D10 - (08JUN92) SYSTEM \WEST
Copyright Tandem Computers Incorporated 1978, 1982, 1983, 1984, 1985, 1986,
1987, 1988, 1989, 1990, 1991
Use the LIST LAST (or LL) command to display the last page of the listing, which is
the TAL trailer message. This message indicates that no warning or error messages were
generated during the compilation:
_LIST LAST
Object file name is $VOL1.ADMIN.PROG
This object file will run on either a TNS or a TNS/II system
Number of errors = 0
Number of warnings = 0
Primary global storage = 44
Secondary global storage = 1120
Code size = 1888
Data area size = 40 pages
Code area size = 2 pages
Maximum symbol table space available = 24892, used = 4064
Maximum extended symbol table space available = 0, used = 0
Number of source lines = 3224
Elapsed time - 00:11:05
To print this job, use the LOC command to send it to a location associated with an actual
printer. When your job prints, Peruse displays the status as PRINT:
_LOC #LP; JOB
Job number 97 is already on the queue waiting to print. The COBOL85 listing is job
number 150, which is the current job because it is the most recently spooled job on
the queue.
3. Use the LIST command to copy the job from the spooler to the spooler job file
named LISTFILE in your current subvolume:
_LIST COMPRESS /OUT LISTFILE !/ ALL
Peruse copies job 150 to the LISTFILE file. This file now contains the COBOL85
listing and formatting control information.
The exclamation point (!) purges the LISTFILE file (if it exists) before the copy
begins. If you do not specify the exclamation point and LISTFILE already exists,
Peruse appends the spooler job to the file.
The LIST command in this example includes the COMPRESS keyword, which
specifies ASCII compression for the spooler job file. ASCII compression saves disk
space by compressing 8-bit ASCII characters into five bits each in the spooler job
file.
4. If you know that job 150 is your most recently spooled job, you can also enter the
above commands from your TACL prompt:
10> PERUSE ; LIST COMPRESS / OUT LISTFILE ! / ALL
To copy two or more spooler jobs to the same spooler job file, issue a LIST
command for each spooler job, but include the exclamation point for only the first
LIST command. The second and subsequent spooler jobs are appended to the
spooler job file. This procedure is useful for concatenating several reports or listings
into a single spooler job file.
Peruse copies job 97 to the file LETTER. The exclamation point (!) purges the file
(if it exists) before the copy begins. If you do not specify the exclamation point and
LETTER already exists, Peruse appends the spooler job to the file. If the file
LETTER does not exist, Peruse creates it.
3. If you know the job number, you can enter the above commands from the TACL
prompt:
10> PERUSE; JOB 97 ; LIST EDIT /OUT LETTER ! / ALL
_SJFILES
\WEST.$DISK2.USERS
.REPORTL
You can also enter the above commands from the TACL prompt:
10> PERUSE ; JOB REPORTL ; LIST /OUT $S.#LAZR/ ALL
Topic Page
Entering Spoolcom Commands 14-2
Listing Printers and Checking Their Status 14-6
Restarting a Printer 14-7
Displaying the Status of Spooler Components 14-8
Monitoring Spooler Processes 14-9
Draining the Spooler 14-11
Starting a Drained Spooler 14-12
Stopping the Spooler 14-17
Controlling Print Devices 14-19
Controlling Jobs 14-20
Controlling Locations 14-24
Solving Common Spooler Problems 14-26
Method Page
Entering Individual Spoolcom Commands at the TACL Prompt 14-2
Starting a Spoolcom Process and Entering Commands Interactively 14-2
Entering Commands From a Command File 14-3
The Spoolcom DEV command expects a printer device name, not a printer location
name. Use the Spoolcom LOC command to list all printer locations on your node and
the device name of each location.
Spoolcom displays the status of $LP1, $LP2, and $LP3 and then returns control of your
terminal to the TACL program.
Comment lines in the command file identify the file and explain the operations being
performed. Each comment line must begin with the word COMMENT, which tells
Spoolcom to ignore the rest of the characters on that line.
Spoolcom Commands
Spoolcom commands entered from a terminal or read from a command file cannot
exceed 132 characters. You can enter two or more Spoolcom commands on the same
line if you separate them with semicolons. For example, this command displays the
status of job number 322, then exits Spoolcom:
)JOB 322, STATUS; EXIT
JOB BATCH STA FLAGS OWNER TIME COPY PAGE REPORT LOCATION
322 RDY T 1,30 11:23 1 12 MANFJOE #LP
JOB The command; parameter 1635 references job number 1635 for the command
HOLD Subcommand that places the job in the hold state (to rename a job report, you
must first put the job on hold)
REPORT Subcommand that specifies the report name TAL COMPILE for the job
START Subcommand that places the job back in the printer queue
If you enter commands on separate lines, each command must be complete. For
example, to enter the subcommands from the previous example on three separate lines,
you must repeat the command JOB and the parameter 1635 on each line:
)JOB 1635, HOLD
)JOB 1635, REPORT TAL COMPILE
)JOB 1635, START
WAITING in the STATE column indicates that the above printers are all available to
print users’ jobs. Table 14-2 describes the possible states for a printer.
Example
To check the status of the printer $LASER, enter:
> SPOOLCOM DEV $LASER
A listing such as this is sent to your home terminal:
DEVICE STATE FLAGS PROC FORM
$LASER WAITING H $SPLP
WAITING in the STATE column of this listing shows that the printer $LASER is up
and available to print users’ jobs.
Restarting a Printer
If a printer is offline because of a device error, you can determine the error condition
with Spoolcom. Spoolcom displays both the file-system error number (in this case, error
100, NOT READY) and the job numbers in the printer queue. In this example, device
error 100 occurred for the $LP1 printer:
18> SPOOLCOM DEV $LP1
You can use Spoolcom to restart a printer that has gone offline because of a device error.
To restart $LP1:
1. Correct the device error (in this case, make the printer ready).
2. Issue a DEV command:
19> SPOOLCOM DEV $LP1, START
You can also use the Peruse DEV command to examine the status of a printer and
receive not only the device status, but the owner ID and the printing times for the
queued jobs. In this example, the device state shows an error number for the printer
$LP1, indicating that this printer is offline:
_DEV $LP1
A plus sign (+) following an estimated printing time indicates that the printer must come
back online before the print time has any meaning.
You can use these commands from a TACL or Spoolcom prompt, or a command file.
For example, to display the status of the spooler process, enter the Spoolcom SPOOLER
command at the TACL prompt:
14> SPOOLCOM SPOOLER
SPOOLER STATE LOGGING FILE LAST ERROR
$SPLS ACTIVE $0
Spoolcom displays the spooler process status and returns you to the TACL program.
Your spooler subsystem has many printers, jobs, and related routing structures.
Therefore, to display only specific information, specify a single entity such as a job
number, the name or number of a printer, or a location name:
1. Use Peruse to list your spooler jobs in the spooler system, and the job location.
For example, this display shows that your job is number 566 at location #HT4:
JOB BATCH STATE PAGES COPIES PRI HOLD LOCATION REPORT
566 OPEN 1 4 #HT4 MKTG BOB
_
2. Exit Peruse, and use the Spoolcom LOC command to display the status of the
printer that is to print your job.
For example, to find the location assigned to printer #HT4 and the jobs in its queue:
15> SPOOLCOM LOC #HT4
Use the number sign (#) and not the dollar sign ($) with the LOC command. If you
use the dollar sign, you get this error message:
16> SPOOLCOM LOC $HT4
OPEN $SPLS ; LOC $HT4
^
INVALID COMMAND PARAMETER
OPEN $supervisor-name
^
SPOOLER OPEN ERROR 14
the supervisor is not running. See Warmstarting a Drained Spooler on page 14-12.
This example shows that the three collector processes, $S, $S1, and $S2, are active and
none is approaching a full state. If the %FULL column shows any collector process
approaching 90 percent capacity, you should delete jobs from the collector in question.
You can modify the attributes of a print process when it is in the dormant or procerror
state. The spooler can be active, warm, or cold. See Section 15, Managing the Spooler
Using Spoolcom, for instructions on modifying print process attributes.
Note. If you are warmstarting the spooler after migrating from one system version to
another, see the migration considerations in the Spooler Utilities Reference Manual.
Automation Example
This command file warmstarts a spooler. You can adapt it by substituting elements
specific to your system, then invoke it with an OBEY command:
> OBEY $SYSTEM.SPLUTIL.WARMFILE
COMMENT -- Add or modify any collectors and print processes (to delete a
print COMMENT process, first delete the locs and devices associated
with it):
The spooler coldstart procedure is generally the same each time you do it. You should
maintain command files to save time when you start the spooler. Automation Example on
page 14-13 has a sample command file you can adapt for your system.
Automation Example
These two command files coldstart a spooler in response to a single OBEY command.
You can use these files as a model in setting up your own spooler coldstart command
files. After you have entered these files into two separate EDIT files, enter:
> OBEY $SYSTEM.SPLUTIL.COLDFILE
The commands contained in this file are executed, and this text is displayed on your
home terminal:
COMMENT -- THIS IS $SYSTEM.SPLUTIL.COLDFILE
COMMENT -- THIS COMMAND FILE CREATES A SPOOLER SYSTEM
COMMENT -- Purge any existing collector data files having the
COMMENT same name as the data file you intend to use.
PURGE $MKT.SPL.DATAFILE
COMMENT -- Purge spooler supervisor control files having
COMMENT names you intend to use:
PURGE $MKT.SPL.SPL0
PURGE $MKT.SPL.SPL1
PURGE $MKT.SPL.SPL2
PURGE $MKT.SPL.SPL3
PURGE $MKT.SPL.SPL4
PURGE $MKT.SPL.SPL5
PURGE $MKT.SPL.SPL6
PURGE $MKT.SPL.SPL7
PURGE $MKT.SPL.SPL8
PURGE $MKT.SPL.SPL9
SPOOLCOM / IN $SYSTEM.SPLUTIL.SPLCONF /
SPOOLER, START
The coldstart file above causes Spoolcom to execute the commands contained in this
spooler configuration file named SPLCONF:
EXIT
Guidelines
• Collector data files usually last for the life of the system. To prevent disk
fragmentation, allocate the data files to an empty volume immediately after labeling
the volume.
• When you configure the collector (Step 6 of the coldstart procedure), use the
collector attribute:
UNIT unit-size
to specify the amount of space allocated for each unit needed by the collector. A unit
is a 512-word block. unit-size multiplied by 1024 is the number of bytes
allocated each time a unit is needed. unit-size can be any integer from 2
through 32,767. One collector can handle a maximum of 8192 units.
The maximum logical data file size is:
(unit-size * 1024) * 8192 = maximum-data-file-size
where maximum-data-file-size is a number in bytes.
Determine the value of unit-size carefully, because you cannot increase its size
after the collector is configured. If the value of unit-size is large and the
majority of spooled jobs are small, the last allocated unit of each job can contain a
lot of unused space. On the other hand, if the value of unit-size is small and the
majority of spooled jobs are large, more units must be allocated for each job and
more time is required to complete the jobs.
• Once you calculate the unit size needed for the data file, you can determine the data
file’s total extent size.
The data file can have up to 16 extents. However, to prevent disk space
fragmentation, allocate the collector data file in one extent. You specify the extent
size when you create the collector data file (Step 3 of the coldstart procedure). For
example, if unit-size is 4, the extent size is 16384 and you create the data file
with the command:
> FUP CREATE file-name, EXT ( 16384, 0 )
• If the size of spooled jobs varies greatly, configure several collectors with different
unit sizes. For example, configure $SS with unit size 2 for small jobs, $SM with unit
size 4 for medium jobs, and $SL with unit size 8 for large jobs.
• You cannot change the data file size once you start the collector. To change the data
file size:
1. Drain the spooler.
2. Create a larger file and change the unit size if necessary.
3. Coldstart the spooler.
• File-system error 45 might indicate that no more units are available for a job
because the file is full.
You might need to use the TACL STOP command if you cannot get jobs out of the
spooler, if the supervisor isn’t running, or if an error has occurred with a print process.
Caution. Do not use the TACL STOP command as a regular way of bringing down the spooler
subsystem: recovery from the STOP command can be time-consuming. You should first try to
bring the spooler to an orderly halt with the Spoolcom command SPOOLER, DRAIN. Use the
TACL STOP command only after the SPOOLER, DRAIN command fails to work.
1. To stop your spooler subsystem with the TACL STOP command, exit from
Spoolcom and enter:
> STOP $supervisor
> STOP $collector
> STOP $print-process
2. Warmstart the spooler (use your warmstart command file):
> OBEY warmstart-file
See Warmstarting a Drained Spooler on page 14-12 for an example of a command
file you can adapt and use for your system.
3. Check the status of the supervisor, collectors, and print processes:
> SPOOLCOM
) COLLECT
) PRINT
If the status displays show that any processes are stopped or if they continue to
receive error messages, see Solving Common Spooler Problems on page 14-26.
Example
To check the status of a print device named $LASER, stop it with the DEV, SUSPEND
command, restart it with the DEV, START command, and check its status one more
time, enter:
> SPOOLCOM
) DEV $LASER
) DEV $LASER, SUSPEND
) DEV $LASER, START
) DEV $LASER
A listing such as this is sent to your home terminal:
WAITING in the STATE column of this listing shows that the printer $LASER is up
and available to print users’ jobs.
Controlling Jobs
To manage your spooler jobs, you can use the Spoolcom JOB commands the same way
you would use Peruse commands.
All users can perform these operations on their own jobs; you must be a member of the
super group to change any attributes of a job belonging to another user.
• To monitor all current jobs in your spooler subsystem, enter:
> SPOOLCOM JOB
• To check the status of a specific job in your spooler subsystem, enter:
) JOB job-number, STATUS
• To place a job on hold, enter:
) JOB job-number, HOLD
• To remove a job from the hold state, enter:
) JOB job-number, START
• To make a job print after or ahead of other jobs, enter:
) JOB job-number, SELPRI selection-priority
A job must be in the hold state to change its priority. When jobs are added to the
spooler, they are given a default priority of 4; the range is 0 through 7. The higher
the priority, the sooner the job prints.
• To reroute a single job, enter:
) JOB job-number, LOC #location
A job must be in the hold state to change its location. If you omit #location,
#DEFAULT is used.
• To reroute all jobs that are queued on a down device:
1. Determine all the locations that are associated with the down device:
) DEV $device, XREF
2. Enter a separate LOC, DEV command for each location that is connected to the
device. This routes each location to a different device:
) LOC #group.dest, DEV $different-device
• To delete a job, enter:
) JOB job-number, DELETE
The Spoolcom JOB command includes other subcommands and qualifiers. See the
Spooler Utilities Reference Manual for a complete description of the JOB command.
• You can enable or disable manager access for the spooler so that a group manager
(n,255) can list and access all jobs that belong to group members. The default
setting for MGRACCESS is OFF. A MGRACCESS ON setting does not persist
through a warmstart. If spooler users expect manager access to be enabled, you must
explicitly set MGRACCESS ON after warmstarting the spooler.
• To determine whether manager access is enabled, enter:
> SPOOLCOM SPOOLER, STATUS DETAIL
• To enable manager access, enter:
> SPOOLCOM SPOOLER, MGRACCESS ON
• To disable manager access, enter:
> SPOOLCOM SPOOLER, MGRACCESS OFF
Examples
• When you enter a Spoolcom JOB command, a listing similar to this is displayed on
your home terminal:
JOB BATCH STA FLAGS OWNER TIME COPY PAGE REPORT LOCATION
See Job States on page 14-23 for an explanation of the possible entries in the STA
column of this listing.
• To check the status of job number 37, enter:
) JOB 37, STATUS
• To place job 37 on hold, enter:
) JOB 37, HOLD
• To remove job 37 from the hold state, enter:
) JOB 37, START
• To make job 37 print ahead of other jobs by changing its selection priority, enter:
) JOB 37, HOLD
) JOB 37, SELPRI 7
• To change the location of job 37 to #TLOGOUT, enter:
) JOB 37, HOLD
) JOB 37, LOC #TLOGOUT
• To reroute job 37 (and any other jobs) from a down device:
1. Determine all the locations that are associated with the down device:
) DEV \SAGE.$C, XREF
A listing similar to this is displayed on your terminal:
DEVICE LOCATION PRINT PROCESS
2. Enter a separate LOC, DEV command for each location connected to the device:
) LOC #BIRD6.DEFAULT, DEV \ROSE.$C
) LOC #EBIRD.DEFAULT, DEV \ROSE.$C
) LOC #EBIRD1.DEFAULT, DEV \ROSE.$C
) LOC #TAF3.DEFAULT, DEV \ROSE.$C
• To delete job 37, enter:
) JOB 37, DELETE
• To determine whether manager access is enabled for your spooler, enter:
) SPOOLER, STATUS DETAIL
STATE: ACTIVE
MGRACCESS: OFF
LOG FILE: $0
LAST ERROR: NONE
STATE: ACTIVE
MGRACCESS: ON
LOG FILE: $0
LAST ERROR: NONE
• To change the location of job 566 to #HT5 and specify that two copies be printed:
17> SPOOLCOM JOB 566, HOLD, LOC #HT5, COPIES 2, START
Job States
A job can be in any of these states:
Open (OPN) The job has been added to the spooler. It remains in this state until the
collector has finished storing the data on disk.
Ready (RDY) The job is ready to print, but has not yet begun to print because another job
is ahead of it in the device queue or its location is not connected to a device.
Hold (HLD) The job has been placed on hold in order to prevent it from printing or in
order to change its attributes.
Print (PRT) The job is being printed.
Controlling Locations
A location is the logical destination of a job that has been sent to the spooler subsystem.
If a print device is associated with a location, that device becomes the job’s physical
location. Locations are always two-part names taking the form #group.dest, where
#group is a group name, such as #LP, and.dest is a destination name, such
as.LASER.
To control locations in your spooler subsystem:
1. Make sure you are logged on as a super-group user (255,n).
2. List the locations in your spooler subsystem:
> SPOOLCOM LOC
3. Modify your spooler subsystem locations as needed:
• To assign and connect a location to a print device:
) LOC #group.dest, DEV $device-name
• To break the connection between a location and any devices with which it is
associated:
) LOC #group.dest, DEV
• To delete a location from the spooler:
) LOC #group.dest, DELETE
#BIRD2.DEFAULT \TAF.$C
#BIRDK.DEFAULT \KTTY.$C
#BIRDS.DEFAULT $LOST.#BOOK
Deleting a Location
For the location #BIRD1.DEFAULT:
1. Delete any current jobs from #BIRD1.DEFAULT.
2. Delete the location:
) LOC #BIRD1.DEFAULT, DELETE
c. Stop any running collector or print processes with the TACL STOP command:
> STOP $collector
> STOP $print-process
Go to Step 3.
2. Drain the spooler:
) SPOOLER, DRAIN
If the drain doesn’t work (that is, spooler activity doesn’t stop), exit from Spoolcom
and stop the collectors, print process, and spooler supervisor with the TACL STOP
command:
) EXIT
> STOP $supervisor
> STOP $collector
> STOP $print-process
3. Warmstart the spooler (use your warmstart command file):
> OBEY warmstart-file
4. Check the status of the collectors:
> SPOOLCOM
) COLLECT
Check the %FULL column in the collector status listing to see how full the
collectors are. If %FULL is close to 100%, there might not be room for new jobs.
Delete or print some jobs. With regular observation, you can monitor the collector
and take preventive steps to keep it below full capacity.
If a collector is in the error state, the octal number that follows the error (in the
ERROR column of the listing) indicates the error condition. The error number and
its explanation appear on the operator console.
Try to restart the collector:
) COLLECT $collector-name, START
5. If the collector doesn’t start, drain the spooler and warmstart it again. If that fails,
coldstart it. See Warmstarting a Drained Spooler on page 14-12, and Coldstarting a
Drained Spooler on page 14-13 for instructions.
Example
To use the procedure described above to free a hung spooler:
1. Check the status of the supervisor:
> SPOOLCOM
This startup banner tells you that the supervisor is still running.
Example
1. Check the status of the spooler supervisor $SPLS on the system \KONA:
> SPOOLCOM
This listing shows that the print process $SPLB has an error. The device status
command shows that the devices controlled by $SPLB are also in an error state:
) DEV
A listing such as this is sent to your home terminal:
This DEV listing shows that all devices are now in a normal state.
Example
To clear a job that the printer named $LASER1 is unable to print:
1. Check the physical status of the printer $LASER1.
2. Log on as a super-group user (255,n) and check the logical status of the printer:
) DEV $LASER1
A listing such as this is sent to your home terminal:
DEVICE STATE FLAGS PROC FORM
$LASER1 DEV ERROR 100 H $SPLX
Look for the entry PRINTING JOB; in this example, the job number is 88.
4. Determine the owner of the job:
) JOB 88
A listing such as this is sent to your home terminal:
JOB BATCH STA FLAGS OWNER TIME COPY PAGE REPORT LOCATION
88 PRT 4 8,001 08:12 1 3 SALES BONNIE #DEFAULT
If the owner is not apparent from this listing, exit from Spoolcom and learn more
about the user through the TACL USERS program:
) EXIT
> USERS 8,1
The USERS program displays information such as this:
GROUP . USER I.D. # SECURITY DEFAULT VOLUMEID
The Job -1 in the STATE column indicates that device \AM.$S1 has fallen into an
invalid state.
2. Clear the invalid state:
) DEV \AM.$S1, DRAIN
3. Check the device status:
) DEV
A listing such as this is sent to your home terminal:
DEVICE STATE FLAGS PROC FORM
\SF.$S1 WAITING H $SPLX
\AM.$S1 OFFLINE H !T $SPLA
The spooler subsystem creates a disk file, type 130, that can be used to analyze the
problems you are experiencing.
Example
To dump the memory of the supervisor process to a disk file named DUMP07, enter:
> SPOOLCOM SPOOLER, DUMP DUMP07
Problem-Solving Summary
Table 14-7 summarizes the common spooler-related problems discussed in this
subsection and lists possible causes and solutions for such problems.
Topic Page
Naming Spooler Components and Files 15-2
Managing Collector Processes 15-3
Managing Print Processes 15-6
Managing Print Devices 15-11
Managing Locations 15-17
Rebuilding the Spooler Control Files 15-19
Example
This example is based on these collector attributes:
• The data file name is $SPOOL.SPOOLER.S2DATA.
• The backup CPU is processor 2.
• The processor that is to run this collector is CPU 3.
Guardian User’s Guide —425266-001
15- 3
Managing the Spooler Using Spoolcom Displaying Collector Attributes
Example
To display the current attributes of the collector named $S2:
) COLLECT $S2, STATUS DETAIL
COLLECTOR: $S2
STATE: ACTIVE
LAST ERROR: NONE
PROGRAM FILE: $SYSTEM.SYSTEM.CSPOOL
CPU: 3
BACKUP: 2
PRIORITY: 144
DATA FILE: $SPOOL.SPOOLER.S2DATA
PAGESIZE: 60
UNIT SIZE: 8
ALLOCATED UNITS: 1366
TOTAL UNITS: 8192
PERCENT FULL: 16
Example
To modify a collector attribute by changing the backup processor from CPU 2 to CPU 5:
> SPOOLCOM
) COLLECT $S2, DRAIN
) COLLECT $S2, BACKUP 5
) COLLECT $S2, START
Deleting a Collector
1. Drain the collector:
) COLLECT $collector-name, DRAIN
Example
To delete collector $S2 from the spooler:
> SPOOLCOM
) COLLECT $S2, DRAIN
) COLLECT $S2, DELETE
Examples
• To define a new print process named $XP to be a copy of the program file
$SYSTEM.SYSTEM.PSPOOL and to run on CPU 3; the process then readies the
new print process to run jobs:
> SPOOLCOM
) PRINT $XP, FILE $SYSTEM.SYSTEM.PSPOOL, CPU 3
• To add a PSPOOLB print process called $PPPS to an existing spooler on
processor 2:
) PRINT $PPPS, FILE $SYSTEM.SYSTEM.PSPOOLB, CPU 2
• To add a FASTP print process called $XLNT to an existing spooler on processor 4:
) PRINT $XLNT, FILE $SYSTEM.SYSTEM.FASTP, CPU 4
Example
To display the current attributes of the print process named $SPLA, enter:
) PRINT $SPLA, STATUS DETAIL
A listing such as this is displayed on your home terminal:
PRINT PROCESS: $SPLA
STATE: ACTIVE
LAST ERROR: NONE
DEBUG: OFF
INDEPENDENT: NO
PROGRAM FILE: $SYSTEM.SYSTEM.PSPOOL
CPU: 3
BACKUP: 2
PRIORITY: 128
PARM: 0
Example
To modify an attribute of the print process named $SPLA by changing the backup
processor from 2 to 4:
1. Enter:
) PRINT $SPLA, XREF
A listing such as this is displayed on your home terminal:
PRINT PROCESS DEVICE LOCATION
$SPLA $LP1 #FAST.DEFAULT
$SPLA $LP2 #SLOW.DEFAULT
Example
To check the locations associated with print process $SPLB, drain the device connected
to it, and delete $SPLB from the spooler:
If a device has been configured but was not included in the spooler coldstart, you can
add it to your spooler any time the spooler is not draining or dormant. It is not necessary
to stop the spooler to add a new device. As soon as a device is defined, the supervisor
control files are updated with the name and corresponding attributes of the new device.
Note. The total number of devices must not exceed the maximum configured at the time of
spooler coldstart, and the number of locations cannot exceed that maximum.
If you want a device to be part of your configuration every time you perform a system load of
the spooler, be sure to add it to the spooler configuration file.
Example
To add a device named $LP3 to the spooler and cause all jobs printed on that device to
have a standard header page, enter:
> SPOOLCOM
) DEV $LP3, PROCESS $XP, HEADER ON
) LOC #LINE.DEFAULT, DEV $LP3
) DEV $LP3, START
Example
To display the current attributes of the device named $LP, enter:
) DEV $LP, STATUS DETAIL
Example
To change the form name assigned to the device named $PRINT, enter:
) DEV $PRINT, DRAIN
) DEV $PRINT, FORM LETTERH
) DEV $PRINT, START
Now, only jobs that specify form LETTERH will print on this device; all other jobs sent
to this device remain in the device queue.
Example
To delete the printer named $LP1 from a running spooler by first draining it and then
disconnecting it from its location, enter:
) DEV $LP1, DRAIN
) LOC #LP1.LP1, DEV
) DEV $LP1, DELETE
Managing Locations
You can add a location to a spooler, and display and modify location attributes from
your spooler subsystem at any time. To delete a location, there must not be any jobs
currently in that location.
Example
To connect location #PRIN.DEFAULT to device $LP and location #PRIN.CHAR to
device $PRINT, enter:
) LOC #PRIN.DEFAULT, DEV $LP
) LOC #PRIN.CHAR, DEV $PRINT
Example
To display the current attributes of the location named #BIRD6.DEFAULT, enter:
) LOC #BIRD6.DEFAULT, STATUS DETAIL
A listing such as this is displayed on your home terminal:
LOCATION: #BIRD6.DEFAULT
BROADCAST: OFF
DEVICE: \CAT.$C
FONT NAME:
This listing shows that the BROADCAST attribute is off, that this location is connected
to the device \CAT.$C, and that no FONT attribute has been configured for this
location.
Table 15-6. Location Attributes
SPOOLCOM LOC
Attributes and Subcommands Description and Default Value
BROADCAST [ ON | OFF ] BROADCAST or BROADCAST ON causes a job routed
to #group to be printed on all devices connected to
#group. BROADCAST OFF, the default value, causes
jobs routed to #group to be printed on the one device
connected to the group that can print the job the fastest.
DEV $device Specifies which device the location is connected to. There
is no default; you must connect a location to a device to
direct the jobs sent to the location to an output device.
FONT font-name Specifies which font job should be downloaded to the
location before any jobs are sent to it. This attribute causes
jobs routed to a particular location to be printed with the
character set, compressed print mode, or whatever other
printing attributes have been programmatically set in the
font-name file. See the Spooler Utilities Reference
Manual for details and instructions.
Example
To modify location attributes by breaking the connection between the location #BIRD6
and any devices connected to that location, enter:
) LOC #BIRD6, DEV
Deleting a Location
1. Check that there are no jobs currently in the location being deleted:
) LOC #group [.dest ]
The status of any jobs currently in the location are displayed. If any jobs are listed,
you must delete them or wait until they finish before you can delete the location.
2. Delete the location from the spooler:
) LOC #group [.dest ] , DELETE
If you specify only the group, this command refers to all locations within the group.
Example
To check the status of current jobs, then delete the location #BIRD6, enter:
) LOC #BIRD6
A listing such as this is displayed on your home terminal:
LOCATION FLAGS DEVICE FONT
#BIRD6.DEFAULT \CAT.$C
This listing shows no current jobs in this location, so you can delete it:
) LOC #BIRD6, DELETE
• Devices that can be known to the spooler at any one time (num-of-devices)
• Collectors that can be declared for this spooler (num-of-collectors)
• Print processes that can be declared for this spooler (num-of-print-
processes)
• Font jobs that can be declared for this spooler (num-of-font-jobs)
• Batch jobs that can be declared for this spooler (num-of-batch-jobs)
a. Drain the spooler:
> SPOOLCOM SPOOLER, DRAIN
b. Rebuild the spooler control files:
> SPOOL / IN control-filename ,
NAME $supervisor-process-name /
R[EBUILD]
, num-of-jobs , num-of-locations
, num-of-devices , num-of-collectors
, num-of-print-processes
, num-of-font-jobs
, num-of-batch-jobs
You must include the REBUILD option if you want to increase the values of
any coldstart parameters (num-of-jobs and so forth) in a warmstart. If you
do not use this option, you must coldstart the spooler to increase the values of
any parameters. You cannot decrease the values of any parameters. See the
Spooler Utilities Reference Manual for more information about SPOOL.
c. Add, delete, or modify spooler components as needed.
4. Enter SPOOLCOM and start the spooler:
> SPOOLCOM SPOOLER, START
This part of the guide contains information about the security features available through
FUP and TACL, and instructions for using the Guardian utilities DSAP, Error, and
VPROC:
• Section 16, Managing Users and Security
• Section 17, Monitoring Event Messages
• Section 18, Displaying Version and System Information
Topic Page
Your Responsibility to System Users 16-2
Adding Users to the System 16-2
Deleting Users From the System 16-5
Determining Group and User Name and Number 16-7
Interfaces for the Security Features 16-8
System Users 16-10
Disk-File Security 16-13
Process Security 16-15
Network Security 16-19
Solving System Access Problems 16-24
Note. Depending upon your company’s policies and system configuration, you might not be
able to perform all of the tasks included in this section, especially if your system is protected by
Safeguard. Consult with your security administrator or system manager if you have questions
about your system or network. The Security Management Guide also contains helpful
information about tasks and issues involving system security.
Keeping Current
Depending on your company’s policies, when you arrive at work you might be expected
to check for:
• Messages from the operations staff who worked the shift before yours. If you have a
shift log book, be sure to check for any messages left by these operators.
• Telephone messages, electronic mail, faxes, and so on from users of your system.
Respond to these messages promptly: system users are often the first to notice a
potential problem.
• Operator messages that have occurred during the shift before yours and respond to
any potential problems (see Section 17, Monitoring Event Messages).
Section 1, Introduction to Guardian System Operations, contains a complete check list
of tasks operators should perform at the beginning of each shift. The above list
represents areas that are of particular importance when supporting system users.
If you are authorized as the super ID (255,255), you can add a new user to any
group on your local system. You can also add a new group name at the same time
you add a new user. If you are a group manager (n,255), you can add a new user to
your own group.
2. Enter the ADDUSER command at your TACL prompt:
> ADDUSER group-name.user-name, group-id, user-id
where group-name and user-name are the group and individual names,
respectively, of the new user. Each name can contain from one through eight letters
or digits, and the first character must be a letter.
group-id is an integer in the range 0–255 that uniquely identifies a group. Note
that 255 is reserved as the group-id for system operators and for the super ID.
user-id is an integer in the range 0–255 that uniquely identifies a user within a
group. 255 is reserved as the user-id for group managers and the super ID.
3. Assign a password and default volume and subvolume for the new user:
> LOGON group-name.user-name
Password: (RETURN)
> PASSWORD password
> DEFAULT $volume.subvolume, "security-code"
If you do not specify any in this step, the logon defaults for users when they are first
added to the system are:
• Default volume: $SYSTEM
• Default subvolume: NOSUBVOL
• Default disk file security: AAAA
• No password is assigned.
You can include options of the TACL RUN command in the ADDUSER program
syntax. See the RUN[D] command description in the TACL Reference Manual for
details about RUN options.
Examples
• To create a new group at the same time you add a new user, enter:
> ADDUSER SALES.BONNIE, 8,1
This command creates a new group named SALES, with the group ID 8, and also
adds a new user named BONNIE, with user ID 1.
• The Super ID can also add a manager to the SALES group by adding a user with the
user ID 255. For example, to add the manager BOSS, enter:
> ADDUSER SALES.BOSS, 8,255
• The new manager, BOSS, can add other members to the SALES group. For
example:
> ADDUSER SALES.PAT, 8,2
About Passwords
Rules regarding the correct number of characters required for passwords can vary from
system to system. Check with your operations manager if you have questions about rules
regarding passwords that might be specific to your system.
A password must not include blanks, commas, or null characters. Passwords are case-
sensitive; that is, those letters that are in uppercase the first time you enter a new
password must appear in uppercase whenever you enter that password (and the same is
true for lowercase letters).
For systems protected by the Safeguard security product, considerations and rules
regarding passwords can vary. For more information, see the Safeguard User’s Guide.
If users report that they have forgotten their passwords, your operations manager or
security administrator can help restore these users’ access to the system.
Example
In this example, the group manager of the SALES group or a super-group user (255,n)
can delete the user SALES.BONNIE and other members of that group.
To delete the user SALES.BONNIE, enter:
> DELUSER SALES.BONNIE
This message is displayed:
SALES.BONNIE (8,1) HAS BEEN DELETED FROM THE USERID FILE.
DSAP returns a report that displays all subvolume names owned by the specified
user, a listing of files, total pages used, and so forth.
2. Determine the subvolumes you want to purge to free some space on the specified
disk. If necessary, consult with the deleted user’s manager.
You can print the DSAP report to review:
> DSAP / OUT $disk.#printer / $disk, BYSUBVOL USER
group-number,user-number
3. Delete the files determined in Step 2. If you are not logged on as the Super ID
(255,255), you might not have authority to delete these files. In that case, ask the
user's group manager (or the Super ID) to delete the files.
For additional instructions and examples of using DSAP, see Managing Disk Space
Usage on page 9-14. Complete syntax, considerations, and examples for the DSAP
program are in the Guardian Disk and Tape Utilities Reference Manual. For more
information about FUP commands and considerations relating to their use, see the File
Utility Program (FUP) Reference Manual.
Example
1. Run a DSAP report on the subvolumes and files owned by SALES.BONNIE
(user 8,1) on \SAGE.$DATA1:
> DSAP $DATA1, BYSUBVOL USER 8,1
A report similar to this is returned to your home terminal:
Disk Space Analysis Program -- T9543D20 - T9543D20 - (01JUN93) -- 7/20/93
10:27:22
Tandem Computers Incorporated 1981, 1983, 1985-1993
No SQL views.
This report shows that SALES.BONNIE has eight files in two subvolumes.
2. Consult with the manager of SALES.BONNIE before you purge any files or
subvolumes. To show this manager a printout of the DSAP report, send the report to
the printer $S.#LASER1:
> DSAP / OUT $S.#LASER1 / $DATA1, BYSUBVOL USER 8,1
3. Delete the files.
or
> USERS 8, *
USERS displays information about all users in the SALES group, such as:
GROUP USER I.D. # SECURITY DEFAULT VOLUMEID
See the TACL Reference Manual for more information about the USERS program.
System Users
The system prevents access from unauthorized users. A group manager or super ID user
assigns each user a unique user name and user ID to each user. To log on to systems that
require passwords, a user must enter the user name or ID and the password.
NonStop™ Kernel system users fall into one of these classes, indicated by the user ID:
General users Log on to a system to run one or more specific applications such
as a text editor or manufacturing application. (General users are
sometimes called application users.)
Group managers Are responsible for members of a specific group on the system.
The user ID is n,255, where n is the number of the group.
System operators Perform various system functions such as managing system files,
disks, and other devices. The user is ID 255,n, where n is an
integer from 1 to 254.
Super ID users Can access files, processes, and devices for the entire system
with no restrictions. The user ID is 255,255.
2. The group manager can now add new users to the group. For example, the
ADMIN.MANAGER user can now use the ADDUSER program to add these users
to the group:
11> ADDUSER ADMIN.JOAN, 6,11
12> ADDUSER ADMIN.CHRIS, 6,12
13> ADDUSER ADMIN.JOHN, 6,13
14> ADDUSER ADMIN.NADINE, 6,14
15> ADDUSER ADMIN.MIKE, 6,1
As many as 256 groups with a maximum of 256 users in each group can be created
for each system.
3. The new user can log on with the TACL LOGON command to access the system:
1> LOGON ADMIN.JOAN
Password:
If ADMIN.JOAN has a password (which was supplied by the super ID user or group
manager), the user enters this password at the “Password:” prompt. Otherwise,
ADMIN.JOAN should press Return at this prompt. In either case, the user should use
the PASSWORD program to change or select a password (provided the system requires
a password).
The TACL program displays its prompt, which is a number and a greater-than sign (>).
ADMIN.JANE can now enter TACL commands or run an application program.
For more information about logging on to the system and passwords, see Section 2,
Getting Started With TACL.
Disk-File Security
Each disk file has an owner and a file security. When you create a file, you are its
owner, and the file ownership is identified as your user ID. You remain the owner of the
file unless you, your group manager, or a super ID user (255, 255) delete it or transfer its
ownership to another user. As the file owner, you can secure the file with the File Utility
Program (FUP) to prevent unauthorized users from accessing it.
When you create a file, your default logon security is automatically assigned to any file
you create during a TACL session. To determine your default security, use the TACL
WHO command. Unless you specify a different security for a file, all files that you
create will have this default security.
You set file security with the FUP SECURE command. You set your default security
attributes with the TACL DEFAULT command or TACL VOLUME command.
DEFAULT sets the logon (or saved) attributes, while VOLUME temporarily sets the
attributes.
Each letter in NONO sets the respective RWEP attribute for MYFILE.
This security string means that any local user can read the file, only local members of
the ADMIN group can write to the file, any network user can execute the file, and only
the owner (whether logged on locally or remotely) can purge it.
If a second user ADMIN.ANN is on a remote system in the network, she can only
execute the file. However, if she logs on locally, she also has read and write access for
BILLFILE.
Process Security
The system can prevent one process from interfering with another process. Process
security features, however, do not interfere with applications running on systems where
security is not required.
This subsection describes the security features that protect and restrict access to running
processes, such as process and creator access IDs, and describes their use in the security
system. Also described are procedures for licensing programs and for adopting the user
ID of a program file owner as that program’s process access ID.
Program File
for Process p1; (p1) Creator Access ID = 8,10
Owner ID = 1,112 Process Access ID = 1,112
CDT 014.CDD
This example shows how a user can control the access to such a data file and also
control any future file accesses or program functions.
An employee data file is owned by user 1,112 and is secured for local owner access only
(OOOO). This means that only the file owner (or the local super ID) has direct access to
the file. However, a controlled form of file access is allowed using a query program that
has been written to return only nonsensitive information. The program file is owned by
user 1,112 and is secured so that any local user can execute the process (OOAO).
Additionally, program file ID adoption has been specified (use owner ID as process
access ID).
As shown in Figure 16-4, user 8,10 (process access ID of 8,10) executes the query
program, which returns “limited data views” only. The query process adopts the owner
ID of the program file (1,112), which becomes its process access ID. (If the query
program were to create another process, that process would inherit 1,112 as both its
creator access ID and its process access ID.)
Query
User Running Employee
Program
the Program (P1) Data File
Licensing Programs
If a program contains privileged procedures (procedures having the CALLABLE or
PRIV attribute), it must be licensed before it can be run by any user other than the super
ID. Only a super ID user can license a file; licensing is performed with the FUP
LICENSE command.
Programs running in the privileged mode have total freedom to access operating system
tables and to execute privileged instructions and procedures, so it is possible for such
programs to circumvent the file security checks and thereby gain access to any file.
However, some privileged programs are needed in the system. Through licensing, the
installation can run privileged programs that it has authorized, but users may not run
unauthorized privileged programs. If a licensed file is opened with write access or read-
write access, the file becomes unlicensed.
For example, a privileged program called PRIVPROG exists in a software development
group. PRIVPROG is owned and licensed by the super ID so that all members of the
group can execute it. A programmer in the group has developed a revision to the
PRIVPROG program and wants to replace the object program with the revision.
Provided that the super ID user also gives the programmer write access to the program
file, the following TAL compilation replaces the program with the revision and causes
the program to become unlicensed:
10> RUN TAL / IN SOURCE / PRIVPROG
This means that no users except super ID users (not even the programmer who replaced
the program) are allowed to execute the program. When PRIVPROG is debugged and
ready for use, the super ID can license it so that others in the group can run it.
Network Security
This subsection describes several basic security tasks for systems connected on a
network dealing with user access to files and processes.
The allow-access password for ADMIN.BILL for \WEST from all other systems is
SHAZAM.
At system \EAST, these commands are entered:
10> LOGON ADMIN.BILL
11> REMOTEPASSWORD \WEST, SHAZAM
The user at system \EAST entered the matching password and now has remote access to
system \WEST as ADMIN.BILL.
ADMIN.BILL, logged on at system \EAST, does not have the same status at \WEST as
does the ADMIN.BILL at \WEST. Because ADMIN.BILL at \EAST is a remote
accessor of \WEST, this user cannot access disk files on \WEST that are secured for
local access only.
Also, if ADMIN.BILL on \EAST creates a process on \WEST that attempts to access the
home terminal on \EAST, the attempt will fail because remote passwords to allow
access from \WEST to \EAST were not established.
For ADMIN.BILL to gain access to \EAST from \WEST, an allow-access password
must be defined for ADMIN.BILL at \EAST, matched by a request-access password at
\WEST. For example, this is entered first at \EAST and then at \WEST:
10> LOGON ADMIN.BILL
11> REMOTEPASSWORD \EAST, AARDVARK
Now users logged on as ADMIN.BILL at either system \WEST or system \EAST have
access to both systems.
2,10) on system \EAST with an EXIT command or with CTRL-Y, the TACL program
displays the message:
Are you sure you want to stop this TACL (\EAST.2,10)?
A remote user can be prevented from becoming a local user if the local super ID
specifies A (any local user) as the execute security for the TACL program file. This
prevents anyone on a remote system from starting a TACL process on the local system.
Also, a user who has the same user name as a user in another system cannot log on to
that system without knowing the local password for that user name. For example,
ADMIN.BILL on system \WEST cannot log onto system \EAST if ADMIN.BILL at
\EAST has a local password that is unknown to ADMIN.BILL at \WEST.
The REMOTEPASSWORD command is issued for each system on the network. The
global remote password is the same for all systems and is known only to the system
managers. The local password is different for each system and is given only to users
who are allowed to access all systems on the network.
Only the users who know the local password can log on as NET.ACCESS. While logged
on as NET.ACCESS, these users can access remote files. For example, this command
lets users access remote files secured for access by NET.ACCESS.
1> LOGON NET.ACCESS, local-password
Establishing Subnetworks
In a large network, it is sometimes preferable to allow users to access some nodes but
not others. For example, users on system \SANFRAN are allowed to access systems
\LA, \SEATTLE, and \CUPRTNO but not the \NEWYORK and \CHICAGO systems.
In this case, the preceding examples can be extended to allow access to any number of
subnetworks (that is, any collection of individual nodes). A user such as NET.WEST is
established at each node of the subnetwork, and a password scheme like the one used in
the previous example allows certain users to log on as NET.WEST.
Subnetworks implemented in this manner can overlap or include one another.
\CHICAGO might be accessible from \NEWYORK by logging on as NET.EAST, and
from \PHOENIX by logging on as NET.MIDWEST. Similarly, each system in the
network might have a user called NET.GLOBAL, who is allowed to access every other
node.
The final topic listed above provides a table of common system access problems and
their solutions.
This subsection applies only to users who have TACL access. Depending on your
system configuration, some users might use other means for system access. Check with
your system manager if you have questions about user access.
Is TACL Yes
Fix Resume
OK Now?
No
Step 4
Check
Stop TACL
With
Process
User
Step 5
Start New
TACL
Step 6 Yes
No Is TACL
Check, Abort Resume
OK Now?
&
Restart Line
No Is TACL Yes
OK Now?
Start New
TACL
No Is TACL Yes
Escalate Resume
OK Now?
CDT 016.CDD
Example
To check the status of the TACL process running on the terminal $JT1.#J01, enter:
> STATUS *, TERM $JT1.#J01
Information such as this is displayed:
Process Pri PFR %WT Userid Program file Hometerm
$TH02 4,100 150 005 8,001 $SYSTEM.SYS00.TACL $JT1.#J01
$TH02 B 5,100 150 001 8,001 $SYSTEM.SYS00.TACL $JT1.#J01
This status report example shows a normally functioning TACL process and includes:
• The process name, if it is named (Process)
• Whether the process is a backup or primary process (B if a backup process)
• The processor and process number (for example, 4,100; 5,100)
• The execution priority of the process (Pri)
• PFR code (PFR)
• P indicates that the process contains privileged code.
• F indicates that the process is waiting on a page fault.
• R indicates that the process is on the ready list.
• The wait state (%WT)
• The group and user ID numbers of the person using the process (Userid)
• The name of the program file (Program file)
• The home terminal of the process (Hometerm)
Example
To stop the TACL process that the user SALES.BONNIE is running on her terminal
$JT1.#J01:
> STATUS *, TERM $JT1.#J01
Example
To stop the unnamed TEDIT process that the user SALES.BONNIE is running on her
terminal $JT1.#J01, enter:
> STATUS *, TERM $JT1.#J01
Example
To start a new TACL process for the user SALES.BONNIE on the terminal $JT1.#J01,
enter:
> TACL /IN $JT1.#J01, OUT $JT1.#J01, NAME $TH02, NOWAIT, PRI
150,&
CPU 4/5
> STATUS *, TERM $JT1.#J01
Caution. The ABORT command will stop the subunit #subdevice when a subunit is assumed
with the ASSUME command. Aborting a line will usually affect other users connected to
subunits associated with the line, so it is not usually done unless all subunits (subdevices) on a
particular line are being affected by a problem.
Example
1. Check the status of the terminal line and subdevice $JT1.#J01.
1> SCF
-> ASSUME LINE $JT1
-> ASSUME SU #J01
-> STATUS
When there is a problem with the line, the status shows that the state of the line is
STOPPED.
2. Stop the subunit.
-> ABORT
3. Restart the subunit (subdevice).
-> START
4. Check the status of the subunit (subdevice).
-> STATUS
When the line is functional, the status shows that the state of the line is STARTED.
5. Exit SCF.
-> EXIT
Topic Page
Understanding Operator Messages 17-2
Displaying Error Messages With Error 17-6
Displaying Operator Messages With a Printing Distributor 17-7
Interpreting Operator Messages 17-8
Directing Messages to a Disk File 17-10
Printing Operator Messages 17-11
Monitoring Messages With the TSM EMS Event Viewer 17-12
The $Z0 compatibility distributor can be configured only in EMS mode. It formats event
messages from the event log file into operator messages and distributes them to the local
operator console.
Figure 17-1 shows these EMS components and how they interact to route operator
messages. The EMS Manual describes these processes in detail.
Customer Tandem
Subsystem Subsystem
Event
Messages
EMS
Collector ($0)
Forwarding
Event Distributor
Log Filter
Send to
Another Node
Consumer Printing
Distributor Distributor Compatibility
Filter Filter Distributor
Event viewing
application*
Console
Device
Log
File
Terminal Printer
* Such as the TSM Event Viewer on G-series systems or ViewPoint on D-series systems
CDT 017.CDD
Running Error
You run Error from the TACL program; the syntax is:
run-option
Any run option described under the RUN command in the TACL Reference Manual.
error-number
A file-system error number. If you enter an invalid error number, Error displays an
error message. If you specify -1, Error displays all error-number descriptions. To
stop displaying the list of all error-number descriptions, press the Break key and
enter STOP.
Error Examples
This example shows a FUP DUPLICATE command that generates file-system error 11:
30> FUP DUP OLDFILE, NEWFILE
ERROR - $DISK2.COMPILES.OLDFILE: ERR 11
*ABEND*
ABENDED: 15,47
FUP displays file-system error 11 and stops (the FUP process ID is 15,47). For an
explanation of this error, enter Error, a space, and the error number at your TACL
prompt:
31> ERROR 11
0011 The file is not in the directory or the record is not in the file, or the
specified tape file is not on a labeled tape.
Error displays the error description and returns control to the TACL program. From the
description, you can determine that OLDFILE is not a valid file. You can then correct
the file name and reexecute the FUP DUPLICATE command.
This example shows a file-system error generated by a TACL PURGE command:
40> PURGE FILE89
$ACCTS.CUSTOMER.FILE89 File error 48
A security violation occurred; you cannot purge FILE89 because you don’t have purge
access for the file.
You can specify that a printing distributor begin or end or both on a specified date at a
specified time by using the EMSDIST TIME and STOP options. See the following
example and to the EMS Manual for instructions on using these options.
Example
This example uses the TIME and STOP options of the EMSDIST command to:
• Begin a printing distributor immediately
• Print operator messages starting at 1:00 a.m. on May 12, 1993
• Print the messages on the printer associated with spooler location #HANS1
• Stop the distributor and the printing of messages at 11:00 p.m. the same day
> EMSDIST TYPE PRINTING, COLLECTOR $0, TEXTOUT $S.#HANS1,&
> & TIME 1993-05-12 1:00:00, STOP 1993-05-12 23:00:00
1 2 3 4
1 the timestamp
2 the names of the system and the process reporting this message
3 the owner name, subsystem name, and release number
4 the event number
5 the text of the message
To interpret the message shown above:
1. Determine the subsystem name and event number from the information in the
operator message header. In this example, fields 3 and 4 contain the information
you need.
MHS is the subsystem name and 000023 is the event number.
2. Turn to the appropriate section in the Operator Messages Manual (in this example,
it is the section describing MHS messages).
3. Search for the event number. The probable cause, effect, and suggested recovery
steps are included for each event number.
The message’s subsystem ID and event number variables include:
Examples
TSM EMS Event Viewer Message Format
For operator messages displayed using the TSM EMS Event Viewer application, the
message’s subsystem ID and event number are displayed on the TSM EMS Event
Viewer main window. If you see events without a subsystem ID, subsystem name, and
event number, see the Operator Messages Manual to find out what the message means.
The main window of the TSM EMS Event Viewer displays messages in this format:
Date Time SSID Subject Event # Event Name Event Text
10/03/96 08:10:23 Tandem.DSK.G01 $SYSTEM 500 Path-Switch Operator’s
Console
Message
The SSID column identifies the owner-name, subsystem-name, and version. The
Event # column displays the event-number.
TANDEM.TMF.G06 000041
Example
This example shows how to direct operator messages to a specific file then display them
on your terminal.
1. Direct operator messages to the disk $OPS, subvolume LOGS, and file MSG1:
> EMSDIST TYPE PRINTING, COLLECTOR $0, TEXTOUT $OPS.LOGS.MSG1
Disk file logging begins and continues until you stop the printing distributor.
2. When you want to return to a TACL prompt, press the Break key on your terminal.
3. Display the contents of the disk file MSG1 on your home terminal:
> FUP COPY LOGS.MSG1,, SHARE
The SHARE option of the FUP COPY command, which must include two commas
as shown, is necessary because the log file is likely to be open at any time.
Note. You can specify that the logging of messages to your disk file begin, end, or both at a
specified date and time by using the EMSDIST options TIME and STOP. For an example of
using these options, see Printing Operator Messages on page 17-11. See the EMS Manual for
complete information about EMS, its options, and for instructions on how to use them.
Example
To print the contents of the disk log file NEWLOG to a printer named #HANS1, enter:
> FUP COPY NEWLOG, $S.#HANS1, SHARE
You can specify that logging begin or end or both on a specified date at a specified time
by using the EMSDIST TIME and STOP options. This example begins the printing
distributor immediately, starts printing at 1:00 a.m. on May 12, 1993, on the printer
named #HANS1, and stops the distributor and the printing of messages at 11:00 p.m. the
same day:
> EMSDIST TYPE PRINTING, COLLECTOR $0, TEXTOUT $S.#HANS1,&
> & TIME 1993-05-12 1:00:00, STOP 1993-05-12 23:00:00
Guidelines
• When you print a log file with the FUP COPY command, you must use the SHARE
option if the file is currently open, which is often the case. For example:
> FUP COPY NEWLOG, $S.#HANS1, SHARE
• The person or process that runs EMSDIST must have read access to the log files that
EMSDIST accesses. Super-group privileges are required if the collector creates its
own log files with the protection string COOO, which is the system default file
security. See the EMS Manual for further information.
Topic Page
Displaying File Version Information 18-1
Displaying System Information 18-9
The following example shows how, from the TACL program, to find the object file for
the version of the File Utility Program (FUP) that you use:
1> fup /nowait, name $stein/
2> status $stein
System \FORTY
In this example, the file your system refers to when starting FUP is
$SYSTEM.SYS00.FUP. Now you should stop this FUP process, as shown:
3> stop $stein
Related product files should also be in the same subvolume as the FUP object file.
Most of the time you will be interested in the object files for a product. An object file is
a program file on disk, such as FUP, TEDIT, or c89, that you can run as a process.
Files in the OSS file system can have only the file codes listed previously, so you need
not select OSS product files based on their file code. To determine the file code of a file
in the Guardian file system, use the FILEINFO command from a TACL prompt, as
described in Section 3, Managing Files With TACL.
Files can be stored either singly or in sets called ar-format archive files. An ar-format
archive file is normally used only in the OSS file system and on UNIX systems. If you
request version information for an ar-format archive file that contains no Binder-format
object files, VPROC returns only the timestamp of the most recently modified file in the
archive file.
run-option
Is any run option described under the RUN command in the TACL Reference
Manual. If you specify pathname in the VPROC command, you must enter at
least one valid run option. If no run option is needed, use the NAME option.
file-set
Is a file or set of files entered as:
[\system.[$volume.[subvolume.]]]fileid
The file-set parameter specifies the Guardian file name of the product whose
version information you are seeking. The fileid specification can be either a
single disk file ID or an asterisk (*) to indicate all files in a subvolume.
pathname
Specifies the absolute OSS pathname of the product whose version information you
seek. A local Guardian file name can be expressed in OSS pathname syntax by
replacing the $ with /G/ and replacing the . with /; lowercase characters are used
for Guardian file names in OSS pathname syntax (for example,
$SYSTEM.SYSTEM.VPROC is expressed as /G/system/system/vproc).
VPROC does not support the wild-card asterisk (*) in OSS pathnames in the
Guardian environment.
You cannot express remote Guardian file-set values in OSS pathname syntax.
Note. VPROC retrieves information only for one file-set value or pathname value per
command line; additional characters are ignored.
These examples show two ways to display information about FUP in the Guardian
environment.
Using Guardian file-name syntax:
6> VPROC \MYNODE.$SYSTEM.SYS00.FUP
\WEST.$SYSTEM.SYS00.FUP
Binder timestamp: 23MAR1998 06:20:04
Version procedure: S7053D40^29AUG1997^LOAD^10SEP1997
Version procedure: T6553D40^28MAR1998^FUP^23MAR1998
Target CPU: TNS, TNS/R
AXCEL timestamp: 23MAR1998 06:20:33
The following command requests product version information for a set of Guardian files
rather than for a single file. The wild-card asterisk (*) causes VPROC to display
information about all object files (file code 100) in the $SYSTEM.SYS00 subvolume.
8> VPROC $SYSTEM.SYS00.*
run-option
Is any run option described under the RUN command in the TACL Reference
Manual. When you specify pathname in the VPROC command, you must enter at
least one valid run option for VPROC to run successfully. If no run option is
needed, use the NAME option.
pathname
Specifies the absolute OSS pathname of the product whose version information you
are seeking. VPROC does not support the wild-card asterisk (*) in OSS pathnames
in the Guardian environment.
Guardian User’s Guide —425266-001
18- 4
Displaying Version and System Information Task 3: Run VPROC
You cannot express remote OSS pathname values in OSS pathname syntax.
Note. Currently, VPROC has access only to local OSS files.
VPROC can process files in the OSS file system only if VPROC is run on a TNS/R system
running a D30.00 or later release with the Open System Services environment active.
This command causes VPROC to display information for an OSS ar-format archive file
containing Binder-format object files.
10> VPROC /NAME/ /USR/LIB/LIBC.B
As stated earlier, a request for version information for an ar-format archive file that
contains no Binder-format object files returns nothing but the last modified timestamp.
For example, if you enter:
11> VPROC /NAME/ /USR/LIB/LIBC.C
After the VPROC prompt (>), you can enter a Guardian file-set value or an OSS
pathname value for a file in the Guardian or OSS file system. The OSS pathname must
be absolute if VPROC is started from the Guardian environment, and VPROC accepts
the wild-card asterisk (*) in OSS pathnames only if used from the OSS shell.
To exit VPROC, enter CTRL/Y at the VPROC prompt.
In this example, VPROC displays information about Peruse.
12> VPROC
VPROC - T9617G03 - (30 MAR 1999) SYSTEM \WEST Date 12 AP 1999, 08:17:34
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1986 - 1995
Enter filename:
> $SYSTEM.SYSTEM.PERUSE
$SYSTEM.SYSTEM.PERUSE
Binder timestamp: 21NOV1995 03:53:08
Version procedure: T9101D40^01NOV1995
Target CPU: UNSPECIFIED
Successful Retrievals
VPROC provides the following product version information in a successful retrieval:
Displayed Label Displayed Information
Archive Indicates the OSS or UNIX archive member file name. This
member: information appears only for ar-format archive files.
Binder Indicates the time when the object file was generated. This timestamp
timestamp: is either the time when the object was compiled or the time when the
object was processed by the Binder program.
Version Identifies the type of product, product number, and version level. There
procedure: can be multiple version procedures per product. The version procedure
information has this format:
cttttrvv_ddmmmyy_nnnnnn_xxxxxx
or
cttttrvv_ddmmmyyyy_nnnnnn_xxxxxx
where
ctttt is the Tandem number (T number) of the
corresponding product.
rvv is the version of the product.
ddmmmyy or is the release date of the product version.
ddmmmyyyy
nnnnnn is the abbreviated product name of the code.
xxxxxx is optional information for use by Compaq.
Target CPU: Indicates the type of system the product runs on, which can be TNS
(CISC-based architecture), TNS/R (RISC-based architecture), or
UNSPECIFIED.
AXCEL Indicates the date and time the code was accelerated. This information
timestamp: appears only for files that have been accelerated.
GMT Binder Indicates the date and time the ELF file was created in GMT (UTC).
timestamp:
Native Mode: Indicates whether the file can be executed. This information appears
only for files with file code 700. The possible values are:
Not runnable file
runnable file
Cause. Either the Guardian volume that you specified does not exist or you made a
typographical error when entering the volume-name portion of the file name or
pathname value.
Effect. If you are using VPROC interactively, VPROC prompts you for another file
name or pathname. If you are using VPROC from a TACL or an OSS shell prompt,
VPROC terminates.
Recovery. Check the volume name and enter a corrected command or value.
Cause. Either the specified file does not exist or you made a typographical error when
entering the file name or pathname value.
Effect. If you are using VPROC interactively, VPROC prompts you for another file
name or pathname. If you are using VPROC from a TACL or an OSS shell prompt,
VPROC terminates.
Recovery. Check the file name or pathname and enter a corrected command or value.
Cause. Either the indicated file does not have a file code of a type that VPROC can
read, or the file contains only text data.
Effect. This is an informative message.
Recovery. No action is required.
To display information about another system, run SYSINFO specifying the node name
you want information on:
8> SYSINFO \node
The system serial number is only displayed for a local system, not for a remote system.
Topic Page
Listing the Devices on Your System 19-4
Determining Device States 19-5
Checking the Status of Peripherals 19-8
Checking the Status of Processors 19-14
Checking the Status of Network Components 19-15
Checking the Status of Pathway 19-25
Checking the Size of Database Files 19-27
Automating System Monitoring 19-28
ServerNet ServerNet
Adapter Adapter
ServerNet ServerNet
Adapter Adapter
SEB SEB
SEB SEB
Legend
SEB = ServerNet Expansion Board CDT 018.CDD
Example
In this example, the SCF LISTDEV command lists all the devices on the system
\SHARK.
1-> SCF LISTDEV
SCF - T9082F40 - (29FEB96) (01JAN96) - 09/18/96 16:33:11 System \SHARK
Table 19-2 lists and explains the possible object states that can be reported by the SCF
STATUS command.
Examples
• Following are some examples of the SCF STATUS command:
-> STATUS LINE $LAM3
-> STATUS WS $LAM3.#WS1
-> STATUS WS $LAM3.*
-> STATUS WINDOW $LAM3.#WS1.*
-> STATUS WINDOW $LAM3.*, SEL STOPPED
• This example shows the results of the SCF STATUS DISK $* command:
29-> STATUS DISK $*
STORAGE - Status DISK \SHARK.$DATA02
LDev Primary Backup Mirror MirrorBackup Primary Backup
PID PID
62 STOPPED STOPPED STOPPED STOPPED 0,268 1,265
Other common disk-monitoring operations such as checking disk free space with the
Disk Space Analysis Program (DSAP) are included in Section 9, Performing Routine
Disk Operations.
• To display the summary status of the mirror disk of the volume $DATA00, enter:
-> STATUS $DATA02-M
Usage Information:
Capacity (MB)......... 2000.09 Free Space (MB).......... 290.76 (14.53%)
Free Extents.......... 16 Largest Free Extent (MB). 172.42
Hardware Information:
Path Location Power Physical Status
(group,module,slot)
PRIMARY (1,1,3) DUAL PRESENT
MIRROR (1,1,4) DUAL PRESENT
The fields in this display are explained in the DSM/Tape Catalog Operator Interface
(MEDIACOM) Manual.
Example
To obtain status information about the tape drive $TAPE1 by using MEDIACOM, enter:
> MEDIACOM STATUS TAPEDRIVE $TAPE1
A listing such as this is sent to your home terminal:
MEDIACOM - T6028D20 (01JUN93)
Copyright Tandem Computers Incorporated 1993
Drive Tape Tape Label Open
Tape Drive Status Name Status Type Mode Process Name
---------- ------ ---- ------ ----- ---- ------------
$TAPE1 INUSE TT0046 ASSIGNED ANSI LP \SKY.$BURT
This listing shows that $TAPE1 is in use. For more information about MEDIACOM, the
listings it generates, and the tasks it enables you to perform, see the DSM/Tape Catalog
Operator Interface (MEDIACOM) Manual and to Section 10, Using Labeled Tapes.
See Table 19-2 on page 19-6 for more information about the possible states of tape
drives and other devices.
For additional information about tape operations and the tasks you can perform, see
Section 10, Using Labeled Tapes.
Example
To obtain status information about the tape drive $TAPE1 by using SCF, enter:
> SCF STATUS TAPE $TAPE1
A listing such as this is sent to your home terminal:
STORAGE - Status TAPE $TAPE1
LDev State SubState Primary Backup DeviceStatus
PID PID
48 STOPPED DOWN 0,274
“WAITING” in the STATE column indicates that the printer is available to print users’
jobs. See Section 14, Performing Routine Spooler Operations Using Spoolcom, for more
information about using Spoolcom.
Guardian User’s Guide —425266-001
19 -12
Monitoring Hardware Components Checking Printer and Collector Status
This listing shows that the three collector processes, $S, $S1, and $S2, are active and
none is approaching a full state. If the SPOOLCOM COLLECT display shows any
collector process approaching 90 percent capacity, jobs must be deleted from the
collector in question. See Section 14, Performing Routine Spooler Operations Using
Spoolcom, for additional information about this and other tasks relating to the spooler
subsystem.
The data shown in the report means:
COLLECT The collector processes.
STATE The current state of the collector processes. These states can be ACTIVE,
DORMANT, DRAIN, or ERROR.
FLAGS The current SCF substate of the tape path.
CPU The CPU number of the collector.
PRI The execution priority of the collector. The default value is 145.
UNIT The number of 512-word blocks requested by the collector when it needs
more disk space. The default value is 4.
DATA FILE The name of the disk file where the collector stores jobs.
%FULL The percentage the disk directory is full.
See Table 19-2 on page 19-6 for more information about the possible states of tape
drives and other devices.
Example
To check the status of the printer $LASER with the SPOOLCOM DEV command, enter:
> SPOOLCOM DEV $LASER
A listing such as this is sent to your home terminal:
DEVICE STATE FLAGS PROC FORM
$LASER WAITING H $SPLP
This display shows that the printer $LASER is up and available to print users’ jobs. See
Section 14, Performing Routine Spooler Operations Using Spoolcom, for more
information about using Spoolcom.
To use the ViewSys utility to obtain information about processor activity, enter:
> VIEWSYS
After the first ViewSys screen appears, press F1 to view CPU busy statistics:
See Interpreting the CPUS Display on page 19-16 for an explanation of the elements in
the previous display. See the SCF Reference Manual for G-Series Releases for complete
information about SCF and its commands.
1 2 3
System 0<--CPU States-->15 OS Version
116 \C2 1111,....,....,.... P40
3 OS Version contains the version of the operating system running on each system.
For additional information about SCF and its commands, see the SCF Reference Manual
for G-Series Releases.
Example
To check the configuration characteristics, status, and operating-system version of all
processors connected to the system \C2, enter:
2-> CPUS \C2
A report such as this is displayed on your home terminal:
System 0<--CPU States-->15 OS Version
116 \C2 1111,....,....,.... P40
See Interpreting the CPUS Display on page 19-16 for an explanation of the elements in
this display.
• Adapters
• ServerNet Addressable Controllers (SACs)
• Logical Interfaces (LIFs)
• Filters
• Physical Interfaces (PIFs)
The following commands describe how to obtain the status of SACs, adapters, LIFs, and
PIFs. For more information on the ServerNet LAN subsystem, see the LAN
Configuration and Management Manual.
• To check the status of a SAC, enter:
> SCF STATUS SAC sac-name
A listing similar to this is sent to your home terminal:
Name State
$ZZLAN.E4SA1 STARTED
Name State
$ZZLAN.E4SA0.0.A STARTED
Examples
• To obtain a listing of all SACs on $ZZLAN.E4SA1, enter:
> SCF STATUS SAC $ZZLAN.E4SA1*
Name State
$ZZLAN.MIOE0 STARTED
$ZZLAN.E4SA0 STARTED
$ZZLAN.MIOE1 STOPPED
$ZZLAN.E4SA2 STARTED
Access State............. UP
CPUs with Data Path...... ( 0 )
Potential Access CPUs.... ( 0, 1 )
State.................... STARTED
Trace Filename...........
Trace Status.............
Name State
$ZZLAN.E4SA0.0.A STARTED
$ZZLAN.E4SA0.0.B STARTED
$ZZLAN.E4SA0.1.A STOPPED
$ZZLAN.E4SA0.1.B STARTED
For information about the WAN subsystem SCF commands that are relevant to
ATP6100 configuration, see the SCF Reference Manual for Asynchronous Terminals
and Printer Processes.
For information about the functions of the WAN subsystem, see the LAN Configuration
and Management Manual.
For information on terminal profiles and installing and managing ATP6100 lines, see
the Asynchronous Terminals and Printer Processes Configuration Manual.
Examples
To check the status of the terminal line and subdevice $JT1.#J01, enter:
1> SCF
1> SCF
SCF - T9082F40 - (29FEB96) (01JAN96) - 09/18/96 16:20:46 System \SHARK
Copyright Tandem Computers Incorporated 1986 - 1996
(Invoking \SHARK.$SYSTEM.NOSUBVOL.SCFCSTM)
Line handlers are commonly named $LH. This listing shows that the Expand line
handlers on the system being monitored are up and functioning normally.
Guardian User’s Guide —425266-001
19 -20
Monitoring Hardware Components Checking NonStop™ TM/MP Status
Check the meaning of the code in Determining Device States on page 19-5 if the State is
other than STARTED. Depending upon the type of problem, follow your established
procedures for problem reporting and escalation.
For more information about line handlers, see the Expand Configuration and
Management Manual.
Example
To check the detailed status of line $LHCS6S, enter:
-> SCF STATUS LINE $LHCS6S, DETAIL
A listing such as this is sent to your home terminal:
- > STATUS LINE $LHCS6S, DETAIL
A report summarizing the current activity of the TMF subsystem, audit trails, and the
audit dump and catalog processes is displayed. See the example below and TMF States
on page 19-22 for more information.
The STATUS TMF command presents status information about the audit dump, audit
trail, and catalog processes. Thus, in addition to the general TMF information, the
STATUS TMF command combines information from the STATUS AUDITDUMP,
STATUS AUDITTRAIL, and STATUS BEGINTRANS commands. However,
information from the other STATUS commands (STATUS DATAVOLS, STATUS
OPERATIONS, STATUS SERVER, and STATUS TRANSACTION) does not appear
in the STATUS TMF display.
To display information about the data volumes for which the TMF subsystem generates
audit records on behalf of transactions performed on those volumes, enter:
~ STATUS DATAVOLS
You can control which volumes are displayed, using the STATE, AUDITTRAIL, and
RECOVERYMODE parameters.
The normal operating state for a data volume is STARTED, which indicates that the
volume is ready to process TMF transactions. Audited requests are allowed for data
volumes in this state only as long as transaction processing is enabled within the
subsystem.
TMF States
The TMF subsystem can be in any of the states shown in Table 19-3.
For information about using the graphical user interface, TM View, to monitor your
TMF subsystem, see the NonStop TM/MP: Getting Started with TM View.
Examples
To check the status of the TMF subsystem on your node, enter:
> TMFCOM
After TMFCOM displays its banner, enter:
~ STATUS TMF
See TMF States on page 19-22 for an explanation of the elements of this display.
To check the status of all data volumes, enter:
~ STATUS DATAVOLS
TMFCOM responds with a display similar to:
Audit Recovery
Volume Trail Mode State
---------------------------------------------------
$DATA1 MAT Online Started
$DATA2 MAT Online Started
$DATA3 MAT Online Recovering
$DATA4 MAT Archive Recovering
$DATA5 AUX01 Online Started
$DATA6 AUX01 Online Started
$DATA6 AUX01 Archive Recovering
PATHMON States
The status of the PATHMON process can be either STARTING or RUNNING:
• STARTING indicates that a cold or cool start has not finished.
• RUNNING indicates that a cold or cool start has finished.
The other elements of the STATUS PATHMON display are as follows:
• CPUS shows the number of the primary and backup processors in which the
PATHMON process is running. If the backup PATHMON process is not running,
the second number will be blank.
• PATHCTL, LOG1, and LOG2 contain information about the PATHMON control
file and the logging files.
• REQNUM contains the PATHMON internal identifiers of application requesters
that are currently running in this environment.
• The FILE column identifies the type of requester.
• The WAIT column explains if the process is waiting, which can be caused by one of
the following conditions:
• IO: the request is waiting for an I/O operation to finish.
• LOCK: the request is waiting for an object that has been locked by another
requester.
• PROG-DONE: the request is waiting for a RUN PROGRAM to finish.
Examples
• To check the status of the PATHMON process for the Pathway environment on your
system, enter:
> PATHCOM $ZVPT
$Y290: PATHCOM - T9153D20 - (01JUN93)
COPYRIGHT TANDEM COMPUTERS INCORPORATED 1980 - 1985, 1987 -
1992
= STATUS PATHWAY
PATHCOM responds with a display such as:
RUNNING
EXTERNALTCPS 0
LINKMONS 0
PATHCOMS 1
SPI 1
FREEZE
RUNNING STOPPED THAWED FROZEN PENDING
SERVERCLASSES 13 5 18 0 0
This display provides information about the number of Pathway processes and
servers that are running, stopped, and so forth. For specific information about
interpreting this display, see the NonStop TS/MP System Management Manual.
• To check the status of the PATHMON process for your application, enter:
= STATUS PATHMON
PATHCOM responds with a display such as:
PATHMON -- STATE=RUNNING CPUS 6:1
PATHCTL (OPEN) $GROG.VIEWPT.PATHCTL
LOG1 SE (OPEN) $0
LOG2 (CLOSED)
This report shows that FILEA is 58.2 percent full. When database files become 90
percent full or more, you can modify the file extents dynamically with FUP or perform
other procedures as determined by your local system policies.
Example
To check the size of the file DATA1.MEMOS, enter:
> FUP INFO DATA1.MEMOS, DETAIL
A report such as this is sent to your home terminal:
$DATA.DATA1.MEMOS 12 Jul 1994, 14:05
ENSCRIBE
TYPE U
CODE 101
EXT ( 2 PAGES, 2 PAGES )
ODDUNSTR
MAXEXTENTS 16
BUFFERSIZE 4096
OWNER 8,255
SECURITY (RWEP): NUNU
DATA MODIF: 12 Jul 1994, 14:04
CREATION DATE: 12 Jan 1994, 14:04
LAST OPEN: 12 Jul 1994, 14:04
EOF 567022 (88.2% USED)
FILE LABEL: 775 (31.6% USED)
EXTENTS ALLOCATED: 10
Note. The allocation of additional extents to any file causes that file to take up more disk
space. Before you change the maximum allowable extents for any file, as shown in the
following example, check your local procedures to determine whether this is the appropriate
action for you to take.
Because this file is nearly 90 percent full, you might want to allocate more extents. To
allocate additional extents to the file TRAIL1, enter:
> FUP
- ALTER MEMOS, MAXEXTENTS 20
- INFO MEMOS, DETAIL
A report such as this is sent to your home terminal:
$DATA.DATA1.MEMOS 12 Jul 1993, 14:05
ENSCRIBE
TYPE U
CODE 101
EXT ( 2 PAGES, 2 PAGES )
ODDUNSTR
MAXEXTENTS 20
BUFFERSIZE 4096
OWNER 8,255
SECURITY (RWEP): NUNU
DATA MODIF: 12 Jul 1993, 14:04
CREATION DATE: 12 Jan 1993, 14:04
LAST OPEN: 12 Jul 1993, 14:24
EOF 567022 (78.5% USED)
FILE LABEL: 649 (22.8% USED)
EXTENTS ALLOCATED: 10
This report shows that the maximum number of extents allocated to this file has
increased to 20 and that the file TRAIL1 is now only 78.5 percent full.
For more information about setting file extents, see the File Utility Program (FUP)
Reference Manual.
To create a command file that will automate system monitoring, enter this into an EDIT
file:
COMMENT THIS IS THE FILE SYSCHK
COMMENT THIS CHECKS ALL DISKS:
SCF STATUS DISK $*
COMMENT THIS CHECKS ALL TAPE DRIVES:
SCF STATUS TAPE $*
COMMENT THIS CHECKS THE SPOOLER COLLECTOR PROCESSES:
SPOOLCOM COLLECT
COMMENT THIS CHECKS THE LINE HANDLERS:
SCF STATUS LINE $*
COMMENT THIS CHECKS THE STATUS OF TMF:
TMFCOM;STATUS TMF
COMMENT THIS CHECKS THE STATUS OF PATHWAY:
PATHCOM $ZVPT;STATUS PATHWAY;STATUS PATHMON
After you create this file, enter this at your TACL prompt:
> OBEY SYSCHK
See the example below for an illustration of the display that is sent to your home
terminal when you execute this command file.
Example
To execute the command file SYSCHK to automatically monitor many elements of your
system discussed in this section, enter:
> OBEY SYSCHK
Listings similar to this are sent to your home terminal:
COMMENT THIS IS THE FILE SYSCHK
COMMENT THIS CHECKS ALL DISKS:
SCF STATUS DISK $*
STORAGE - Status DISK \SHARK.$DATA12
LDev Primary Backup Mirror MirrorBackup Primary Backup
PID PID
52 *STARTED STARTED *STARTED STARTED 3,262 2,263
Name State
$ZZLAN.MIOE0 STARTED
$ZZLAN.E4SA0 STARTED
$ZZLAN.MIOE1 STARTED
$ZZLAN.E4SA2 STARTED
Name State
$ZZLAN.E4SA0.0.A STARTED
$ZZLAN.E4SA0.0.B STARTED
$ZZLAN.E4SA0.1.A STOPPED
$ZZLAN.E4SA0.1.B STARTED
RUNNING
EXTERNALTCPS 0
LINKMONS 0
PATHCOMS 1
SPI 1
FREEZE
RUNNING STOPPED THAWED FROZEN PENDING
SERVERCLASSES 26 1 27 0 0
The above listings show that all elements of the system being monitored are up and
running normally.
Task Page
Task 1: Get the Facts and Log the Problem A-3
Task 2: Find and Eliminate the Cause of the Problem A-4
Task 3: Escalate the Problem A-5
Task 4: Focus on Prevention A-6
A Problem-Solving Process
Table A-1 shows a worksheet that you can use to help you through the problem-solving
process. You can use such a worksheet to:
• Get the facts about a problem
• Find and eliminate the cause of the problem
• Focus on prevention
• Make any appropriate escalation decisions
Copy this worksheet and use it to collect and analyze facts regarding the problem you
are experiencing. The results might not tell you exactly what is occurring, but they will
narrow down the number of possible causes.
Where?
When?
Magnitude?
Example
This is an example of information you might learn from asking questions like those in
Task 1.1:
Question Answer
What is happening that indicates A terminal is hung.
a problem?
Where is this problem In the office of USER.BONNIE. The affected terminal is
occurring? named $JT1.#C02.
When is this problem occurring? At 8:30 this morning and also at the same time two days
ago. Both times, this occurred after three unsuccessful
attempts to log on.
What is the magnitude of this Intermittent; the problem seemed to disappear on its own
problem? when it first occurred two days ago.
Example
Possible causes of the hung terminal problem in the above example could be:
• A terminal hardware problem
• A stopped or suspended TACL process
• System security, which locks a user out after three unsuccessful logon attempts
This worksheet illustrates further how the problem of a hung terminal can be evaluated
and lists some possible causes of such a problem:
Problem Facts Possible Causes
Terminal hardware TACL process Security
What?
Terminal $JT1.#C02 is hung Yes Yes Yes
Where?
Office of USER.BONNIE Yes Yes Yes
When?
8:30 today Yes Yes Yes
Two days ago at 8:30 Yes Yes Yes
After 3 failed logon attempts No No Yes
Magnitude?
Intermittent ? Yes Yes
Goes away on its own ? Yes Yes
Account Quality Planning (AQP) Service. Compaq AQP provides services for improving
your current operations management processes.
alias. A definition that can provide an alternate name for a TACL command.
Alliance program. A program that Compaq has developed with third parties to augment
Compaq offerings. Alliance partners offer consulting services, products, and application
development services.
ATP6100 subsystem. ATP6100 provides the means for an application program to use
asynchronous point-to-point terminals, printers, and other devices connected through the
WAN concentrator. A communications access process and download module that
provides software for asynchronous point-to-point terminal support.
automatic volume recognition (AVR). The process your system uses to check tape labels
when a tape is mounted on a tape drive. AVR checks the label to ensure that the correct
tape is mounted on the correct tape drive. If an incorrect tape is mounted, the system
rejects the tape and displays an operator message.
BACKCOPY. A utility program that allows you to duplicate tapes made with the BACKUP
utility. With BACKCOPY, you can create up to two duplicate tapes for archiving,
distribution, or disaster recovery.
BACKUP. A utility program that copies disk files onto magnetic tape.
client/server architecture. A computer architecture that divides work between a client and a
server. The client provides application and user interface resources; the server stores,
retrieves, and protects data. Client/server architecture enables users to access shared data
and resources. Clients and servers run on a local area network. See client/server
computing.
collector. (1) An EMS collector is an Event Management Service (EMS) process that accepts
event messages from subsystems and logs them in an event log. (2) A spooler collector
accepts output from applications and store the output on disk. Each spooler must include
at least one collector but can contain multiple collectors
command file. An edit file (file code 101) that contains a series of TACL commands in the
order you want to execute them. To execute the commands in the file, you either use the
OBEY command and give the name of the file, or you name the file as the input file
when you run TACL. Using command files is a method of automating operations tasks.
configuration. (1) The arrangement of cabinets, system components, and peripheral devices
into a working unit. (2) The definition or alteration of characteristics of an object.
configuration management. The process of configuring the production system hardware and
software to adapt to changes. One of the operations disciplines in the operations
management model. See operations management model (OM model).
connection. (1) The path between two protocol modules that provides reliable stream
delivery service. (2) For the Compaq Tandem Service Management (TSM) software
package, the logical link established between the TSM client software on a workstation
and the TSM server software on a NonStop™ Kernel system after a logon sequence has
been performed. There are two types of logical connections: service connections and
low-level links.
consumer distributor . An EMS distributor process that returns selected event messages to
management applications upon request. The consumer distributor is used by applications
provided by Compaq and by users to read the EMS log file (or alternate log files) and all
or specific event messages, depending on filter specifications loaded to the consumer
distributor process. The application can take appropriate action, if necessary, in response
to an important event. The TSM EMS Event Viewer application, provided by Compaq,
uses the consumer distributor.
controller . (1) A device, sometimes a logic board containing computer chips, consisting of
hardware and software that manage a computer function such as disk operations or
communications. (2) The access paths from a processor to a controller. On NonStop™
Kernel systems, each controller is dual-ported, meaning that it is connected to two
separate processors and that it has two access paths, one to each of the processors to
which it is connected.
DEFINE. A named set of attributes and values that allows you to specify information for a
process before you start the process.
define process library. A set of TACL routines that allow you to run background server
processes so that management applications can send commands to a number of
subsystems without the overhead of creating a new server process for each command.
device. A logical or physical entity that can be specifically and uniquely identified and with
which a processor can communicate. Examples of devices are printers, disks (volumes),
disk drives, tape drives, controllers, processors, and terminals
disk. A physical disk pack mounted on a disk drive. Because they are electromechanical
devices, disks are more subject to hardware faults and media errors than other system
components and should therefore be monitored frequently. See also volume.
Disk Compression Program (DCOM). A utility program that compresses disk space.
Disk Space Analysis Program (DSAP). A utility program that analyzes displays how space
is used on a given disk volume.
Distributed Systems Management (DSM) products. A set of software tools that facilitate
management of NonStop™ Kernel systems and Expand networks. These tools include
the Distributed Name Service (DNS), the Event Management Service (EMS), the
Subsystem Control Facility (SCF) for a variety of subsystems, and the Subsystem
Programmatic Interface (SPI).
distributor process. An EMS process that distributes event messages from event logs to
requesting management applications, to another collector on this or another node, or to
printers, devices, or files. EMS provides the following distributor processes for handling
event messages: consumer, forwarding, printing, and compatibility.
Error. A utility program that displays the error message associated with a file-system error
number.
Ethernet. A local area network that uses the CSMA/CD (carrier sense multiple access with
collision detection) access method on a bus topology and is the basis for the IEEE 802.3
standard.
Ethernet 1 ServerNet adapter (E1SA). A ServerNet adapter for Ethernet local area network
(LAN) that contains one Ethernet port.
event. A change in some condition in the system or network, whether minor or serious.
Events might be operational errors, notifications of limits exceeded, requests for action,
and so on.
event log. A file or set of files maintained by EMS to store event messages generated by
various subsystems.
Event Management Service (EMS). The processes, procedures, and utilities used to report
and log events; to forward, print, and distribute event messages to applications; and to
filter, retrieve, and obtain information from event messages.
Guardian User’s Guide —425266-001
Glossary -4
Glossary Event Management Service Analyzer (EMSA).
event message. The message generated by a subsystem when a subsystem detects an event
that might affect its operation. These messages are generally formatted with tokens.
Expand. Compaq’s NonStop™ network that extends the concept of fault-tolerant operation
to networks of geographically distributed NonStop™ Kernel systems. If the network is
properly designed, communication paths are constantly available, even in the event of a
single line or component failure. For G-series systems, the Network Control Process
(NCP) and Expand line handler processes are defined and started with SCF from the
WAN subsystem.
FAXAdvisor. Compaq FAXAdvisor is a free, automated fax information system that enables
you to receive professional services documents, support documents, and product
documents by means of a touch-tone telephone and a fax machine.
file mode. The mode of operation in which Backup or Restore copy files one at a time.
File Utility Program (FUP). A utility program that allows you to perform a variety of
operations on disk files.
forwarding distributor . An EMS distributor process that sends selected event messages to
an EMS collector on another network node or, if the node has multiple collectors, to an
EMS collector on the same node.
Global Customer Support Center (GCSC). A support organization, formerly the Tandem
NonStop Support Center (TNSC), that provides telephone and remote diagnostic support
for NonStop™ Kernel customers. There are GCSCs located all over the world.
group manager (n, 255). A user ID that allows a user to control a group of user IDs.
high PIN. A process identification number (PIN) that can range from 256 to an architectural
limit of 65534. (PIN 255 is reserved by the system.) See also low PIN.
Himalaya S-series servers. The set of servers in the NonStop™ Himalaya range of servers
having product numbers beginning with the letter “S.” These servers implement the
ServerNet architecture and run the NonStop™ Kernel operating system.
IBM format. A standard tape-label format supported on NonStop™ Kernel systems. Other
formats include BACKUP and TMF. See also ANSI format.
input/output (I/O). (1) Data entered into a computer or transmitted out of a computer. (2)
The process of entering data into or transmitting data out of a computer.
input/output process (IOP). A running program (part of the operating system) that manages
the I/O functions for one or more ServerNet addressable controllers (SACs) of the same
type.
input source. The resource from which Subsystem Control Facility (SCF) accepts command
input. SCF can accept input from a terminal or a disk file. The initial input source is
determined by the form of the RUN command used to initiate SCF. At any time during
an SCF session, the input source can be temporarily changed to execute a series of
commands from a command file.
internet protocol (IP). A data communications protocol that handles the routing of data
through a network, which typically consists of many different subnetworks. IP is
connectionless; it routes data from a source address to a destination address. See IP
address.
IP address. An internet protocol (IP) address. An IP address consists of two parts: a network
address, which identifies the network, and a local address, which identifies a host within
a network. A network address is concatenated with a host address to form the IP address
and uniquely identify a host within a network. IP routes data between source and
destination IP addresses.
labeled tape processing. The general term used for an operations environment that uses
labeled tapes, as opposed to unlabeled tapes, for backups of data and other operations
tasks and activities.
line. The specific hardware path over which data is transmitted or received. A line can also
have a process name associated with it that identifies an input/output process (IOP) or
logical device associated with that specific hardware path.
local-area network (LAN). A network that is located in a small geographical area and whose
communications technology provides a high-bandwidth, low-cost medium to which low-
cost nodes can be connected. One or more LANs can be connected to the system such
that the LAN users can access the system as if their workstations were connected
directly to it. Contrast with “wide area network (WAN).”
licensed program. A program that has the privileges of the operating system. When a
licensed program runs, privileged operations in it can bypass ordinary security
interfaces.
logical device. A process used to communicate with a physical device. Logical devices are
identified by names and numbers; for example, $DISK1.
low PIN. A process identification number (PIN) that can range from 0 through 254. See also
high PIN.
macro. A sequence of TACL commands and built-in functions that can contain dummy
arguments, thus providing a means for simple argument substitution. When the macro
name is given to TACL, TACL substitutes the command sequence for the macro name
and replaces any dummy arguments with parameter values supplied to TACL. Macros
are used to automate operations tasks.
Measure. A performance-measurement tool that lets users collect and examine statistics for a
system or network.
network. Two or more computer systems (nodes) connected so that they can exchange
information and share resources.
NO UNLOAD. A state in labeled-tape processing. When you set NOUNLOAD, tapes remain
online after labeling operations. When you clear NOUNLOAD, the system unloads
tapes after it completes labeling operations.
node. A physical computer system that is part of an Expand network. It can be a stand-alone
system or be part of a network of systems.
nonsensitive command. A command that can be issued by any user or program that is
allowed access to the subsystem—that is, a command on which the subsystem imposes
no further security restrictions. For Subsystem Control Facility (SCF) subsystems,
nonsensitive commands are those that cannot change the state or configuration of
objects; most of them are information commands. Contrast with “sensitive command.”
NonStop™ Virtual Hometerm Subsystem (VHS). A subsystem that acts as a virtual home
terminal for applications by emulating a 6530 terminal. NonStop™ VHS receives
messages normally sent to the home terminal, such as displays and application prompts,
and uses these messages to generate event messages for EMS, which can in turn be used
to inform operations staff of problems.
object. (1) One or more of the devices, lines, processes, and files in a NonStop™ Kernel
subsystem; any entity subject to independent reference or control by one or more
subsystems. (2) In Subsystem Control Facility (SCF), a resource controlled by an SCF
subsystem. SCF objects include processes, disks, disk files, and data communications
lines. Each object has an object type and an object name.
object type. The category of Subsystem Control Facility (SCF) objects to which a specific
SCF object belongs; for example, a specific disk has the object type DISK and a specific
terminal may have the object type SU. An SCF subsystem has a set of object types for
the objects it manages.
offline. Used to describe tasks that can be performed only when the system is down. Contrast
with online.
online. Used to describe tasks that can be performed while the system is up. Contrast with
offline.
online-ready site. A fully operational backup site (also known as a hot site) that has all
necessary hardware and software. Archived data is sent to the operational-ready site but
is not loaded onto the system until a disaster occurs.
Open Notification Service (ONS). (D-series only) A data encapsulation and forwarding
server that gathers EMS events from the system event log, translates them into Simple
Network Management Protocol (SNMP) trap format, and forwards them to the SNMP
Agent, thereby facilitating delivery of NonStop™ Kernel subsystem-specific data to
problem management components that comply with SNMP and that are external to the
NonStop™ Kernel system.
Open System Services (OSS). An open system environment available for interactive or
programmatic use with the NonStop™ Kernel. Processes that run in the OSS
environment use the OSS application program interface; interactive users of the OSS
environment use the OSS shell for their command interpreter.
operational-ready site. A fully operational backup site (also known as a hot site) that has all
necessary hardware and software. Archived data is sent to the operational-ready site but
is not loaded onto the system until a disaster occurs.
operations area. The area where you locate the computer systems and peripherals, for
example a computer room or an office.
operations management model (OM model). A model for managing NonStop™ Kernel
systems that categorizes operations management functions into the following
disciplines: production management, problem management, change management,
configuration management, security management, and performance management.
operator message. The text displayed for a system operator that describes an event.
operations outage class. An outage class that includes errors caused by operations personnel
due to accidents, inexperience, or malice. See outage class.
outage. Time during which the system is not capable of doing useful work because of a
planned or unplanned interruption. From the end-user’s perspective, an outage is any
time the application is not available.
outage class. A concept developed by Compaq to categorize the cause of unplanned and
planned outages. There are five outage classes: physical, design, operations,
environmental, and reconfiguration.
outage log. A record of system outages. An outage log can provide an accurate assessment of
availability. Compaq recommends that outages be measured in minutes rather than
percentages.
output destination. The resource to which Subsystem Control Facility (SCF) sends its
responses to commands. SCF can direct output to a disk file, an application process, a
terminal, or a printer. The initial output destination is determined by the form of the
RUN command used to initiate SCF. The output destination can be changed
dynamically during an SCF session.
path. The route between a processor and a subsystem. If a subsystem is configured for fault
tolerance, it has a primary path (from the primary processor) and a backup path (from
the backup processor).
PATHMON process. The central control process for the NonStop™ TS/MP transaction-
processing core service and the optional Pathway/TS software, which together form the
Pathway environment. The PATHMON process controls all processes and devices in the
Pathway environment and provides the means to configure, manage, monitor, and
change the configuration of the Pathway environment.
Pathway environment. The programs and operating environment required for developing
and running online transaction-processing (OLTP) applications. This group of tools is
packaged as two separate products: NonStop™ TS/MP and the optional Pathway/TS
software.
Pathway Open Environment Toolkit (POET). A set of programs and utilities that assist in
the creation and running of client/server applications for NonStop™ Kernel systems.
Pathway/TS. A Compaq product that provides tools for developing and interpreting screen
programs to support OLTP applications in the Guardian operating environment.
PEEK. A utility program that reports statistical information concerning processor activity for
system storage pools, paging activity, send instructions, and interrupt conditions.
Peruse. A spooler utility that allows users to control and monitor print jobs.
peripheral device. Any device used by processors to communicate with users or to acquire
or store data. Peripheral devices include terminals, printers, workstations, disk drives,
and tape drives.
physical interface (PIF). The hardware components that connect a system node to a
network.
physical outage class. An outage class that includes physical faults or failure in the
hardware. Any type of hardware-component failure belongs in this category. See outage
class.
planned outage. Time during which the system is not capable of doing useful work because
of a planned interruption. A planned outage can be time when the system is brought
down to allow for servicing, upgrades, backup, or general maintenance. Contrast with
unplanned outage.
primary processor. The processor that is designated at system generation time as “owning”
the controller connected to the two separate processors of a NonStop™ Kernel operating
system. The primary processor is the processor that has direct control over the
controller. See backup processor.
printing distributor. An EMS distributor process that sends operator messages to printers,
devices, processes, or files.
processor. (1) The central processing unit (CPU). The processor reads program instructions,
moves data between processor memory and the ServerNet addressable controllers
(SACs), and performs arithmetic operations. (2) One or more computer chips, typically
mounted on a logic board, that are designed to perform data processing or to manage a
particular aspect of computer operations. Most NonStop™ Kernel systems have a
minimum of two processors that can act as backups to each other.
production management. The set of regularly scheduled activities that keeps the
applications on a system or network of systems running smoothly. These activities
include administering storage media such as disks and tapes, managing space in
processors and disks, and starting or stopping system components. One of the operations
disciplines in the operations management model. See operations management model
(OM model).
reconfiguration outage class. An outage class that includes all planned outages. Examples
include down time required for planned maintenance such as software upgrades, and
configuration changes such as adding a new disk or restructuring a database. See outage
class.
remote mirroring. A pair of mirrored disk drives that are used together as a single logical
drive in which the primary drive and the backup (mirror) drive are located in
geographically distinct (remote) locations. Each byte of data written to the primary drive
is also written to the mirror drive. If the primary drive fails, the mirror drive can
continue operations. By providing geographic separation of mirrored volumes, remote
mirroring protects the database from local environment hazards.
Safeguard. A group of programs that supplements the security features of the system,
providing users of NonStop™ Kernel systems and distributed networks with a set of
services for protecting the components of the system or network from unauthorized use.
Safeguard services include authentication, authorization, and auditing.
scratch tape. A labeled tape whose expiration date has passed. Scratch tapes are used for
output.
security management. Activities that provide support for establishing and maintaining
system security. One of the operations disciplines in the operations management model.
See operations management model (OM model).
sensitive command. A Subsystem Control Facility (SCF) command that can be issued only
by a user with super-group access, by the owner of the subsystem, or by a member of the
group of the owner of the subsystem. The owner of a subsystem is the user who started
that subsystem (or any user whose application ID is the same as the server ID— the
result of a PROGID option that requires super-group access). Contrast with nonsensitive
command.
ServerNet address. (1) An algorithmic translation of the memory address indicating where
the memory access needed by a ServerNet transaction begins. This is the address
contained in ServerNet packets. (2) An identifier for an endpoint on the ServerNet
system area network (ServerNet SAN). This address consists of a ServerNet node ID
and an identifier that is unique within that ServerNet node.
ServerNet LAN systems access (SLSA) subsystem. The software that allows the protocol
I/O processes (IOPs) and drivers to access the ServerNet adapters.
service connection. A connection between the Compaq Tandem Service Management (TSM)
client software running on a workstation and the TSM server software on a NonStop™
Himalaya S-series server. A service connection can be used only to communicate with
the server when the NonStop™ Kernel operating system is running. A service
connection provides a comprehensive service and maintenance picture of the server and
is used to perform most service management tasks.
service-level agreements. Agreements between the operations group and the group’s users
that specify the group’s objectives, requirements, and standards.
SPOOLCOM. A spooler utility program that helps system operators monitor and maintain
the spooler and create and initialize spooler components.
spooler. A set of programs that acts as an interface between users (and user application) and
the print devices on a particular node.
spooler supervisor. A process that monitors and communicates with the other processes and
decides when and where to print jobs. Each spooler has one supervisor.
state. In Subsystem Control Facility (SCF) subsystems, one of the generally defined possible
conditions of an object with respect to the management of that object. Examples of
states are DEFINED, STARTED, and STOPPED.
structured file. A file designed to contain a database. Structured files are key-sequenced,
entry-sequenced, or relative files.
substate. Further information about the state of a device. The state and substate together
provide information about the current condition of a device or path to a device.
Subsystem Control Point (SCP). The management process for all NonStop™ Kernel data
communications subsystems. There can be several instances of this process.
Applications using the Subsystem Programmatic Interface (SPI) send all commands for
data communications subsystems to an instance of this process, which in turn sends the
commands on to the manager processes of the target subsystems. SCP also processes a
few commands itself. It provides security features, version compatibility, support for
tracing, and support for applications implemented as NonStop™ process pairs.
subvolume. A group of related files stored on a single disk volume; all the files have the
same volume and subvolume name, but each file has a unique file identifier.
subvolume defaulting. The practice of making the system provide the subvolume identifier
in a file name by providing only the volume name followed by the file identifier. A
D-series file-system interface interprets volume-name.file-ID as
volume-name.subvolume-name with the file-ID missing.
super-group user (255, n). A user ID that allows users to execute some potentially
destructive commands. The super-group user is provided for operators who perform
system operations tasks, such as controlling the status of peripherals and other system
components.
super ID (255,255). A user ID that allows users to do anything on the system. Users with the
super ID can access all data and devices.
swap space. Each processor has at least one kernel-managed swap file that provides the swap
space needed by its processes. Proper configuration and management of kernel-managed
swap space is critical to the operation of your system.
system. A node. All the processors, controllers, firmware, peripheral devices, software, and
related components that are directly connected together to form an entity that is
managed by one operating system image and operated as one computer.
system area network (SAN). A high-speed network, within a system, that connects
processors to each other and to peripheral controllers. A SAN has the performance of a
massively parallel interconnect, but has distribution capabilities similar to a local area
network (LAN). NonStop™ Himalaya S-series servers support the ServerNet system
area network (ServerNet SAN).
Tandem Network Statistics Extended (NSX). A network management tool that provides
operators with a global perspective on the entire network. With NSX, operators can
collect and monitor up-to-the-moment performance statistics on all nodes, processors,
and Expand line handlers in the network.
Tandem NonStop™ Kernel. The operating system for NonStop™ systems, which consists
of the core and system services. The operating system does not include any application
program interface.
Tandem NonStop™ Series (TNS). NonStop™ Kernel computers that support the Guardian
environment and that are based on complex instruction-set computing (CISC)
technology. The term TNS can refer to the instruction set, the architecture, or the
processors. Systems with these processors are the NonStop™ II, NonStop™ TXP,
NonStop™ VLX, NonStop™ Cyclone, and NonStop™ CLX 600, CLX 700, and CLX
800 systems. Contrast with Tandem NonStop™ Series/RISC (TNS/R).
Tandem NonStop™ Series/RISC (TNS/R). NonStop™ Kernel computers that support the
Guardian environment and that are based on reduced instruction-set computing (RISC)
technology. TNS/R processors implement the TNS/R instruction set and maintain
architectural compatibility with TNS processors. The term TNS/R can refer to the
instruction set, the architecture, or the processors. The first TNS/R processor is the
NSR-L processor. Systems with these processors are the NonStop™ Cyclone/R and
NonStop™ CLX 2000 systems. Contrast with Tandem NonStop™ Series (TNS).
Tandem NonStop™ Support Center (TNSC). See Global Customer Support Center
(GCSC).
Tandem Object Monitoring Facility (OMF). A Compaq product that enables operators to
supervise objects such as processors, disks, files, and processes within the NonStop™
Kernel environment.
Tandem TCP/IP subsystem. Tandem TCP/IP lets you use the NonStop™ Kernel host from
Macintosh, personal computer, and UNIX workstations. Cooperative applications can
partition function so as to use the strengths of the different operating systems.
Applications running on a NonStop™ Kernel system or an Expand network can
transparently exchange data with TCP/IP devices.
Tape label. A record at the beginning of a tape that identifies the tape volume and the files it
contains.
Tape processing modes. One of the following three modes that you can use to run jobs in a
labeled-tape environment:
• Standard label processing, or LP mode: an application generates a mount request at
the operator console for a specific labeled tape. You can either mount the requested
labeled tape or reject the request.
• Bypass label processing, or BLP mode: an application generates a request at the
operator console for a specific tape drive. You can accept or reject the request. If
you accept the request, the tape mounted on the drive is used for the application.
The system does not check the tape, so you must ensure that the correct tape is
mounted.
• Unlabeled or no label processing, or NL mode: for unlabeled tape processing only,
an application generates a drive-usage request at the operator console for an
unlabeled tape on a specific tape drive. (Labeled tapes are rejected.)
TCP/IP. TCP/IP is the name applied to the combined protocol layers that are defined by RFC
793 and 791. See Tandem TCP/IP subsystem.
TERM. A task that uses a screen program to control input and output devices (such as
terminals or workstations) or input and output processes (such as front-end processes).
Each task runs as a thread in a terminal control process (TCP), which can handle many
such tasks concurrently.
Terminal control process (TCP). A multithreaded process supplied with Pathway/TS that
interprets and executes screen program instructions for each input-output (I/O) device or
process the TCP is configured to handle. The TCP coordinates communication between
screen programs and their I/O devices or processes and, with the help of the PATHMON
process, establishes links between screen programs and Pathway server processes.
Total Information Manager. The Total Information Manager (TIM) product integrates
multiple collections of NonStop™ Kernel product and support information—including
customer manuals, education course information, and other technical documents—to
provide a single, searchable library. The TIM viewer provides the interface to
collections of documents that are available on local CD-ROM discs as well as online,
Internet-accessible servers. This common interface allows you to merge local and online
searches and display local and online windows.
TSM application. A component of the Compaq Tandem Service Management (TSM) client
software. The TSM application enables you to communicate with a NonStop™
Himalaya S-series server even when the NonStop™ Kernel operating system is not
running. When the operating system is running, you will usually communicate with the
server using a service connection. When the operating system is not running,
communication must take place over a low-level link.
TSM client software. The portion of the Compaq Tandem Service Management (TSM)
package that resides on a workstation. The TSM client software consists of the TSM
application, the TSM Notification Director, and the TSM EMS Event Viewer. See TSM
server software.
TSM EMS Event Viewer. Used to perform a variety of tasks associated with viewing and
monitoring EMS event logs. The TSM EMS Event Viewer lets you select from a variety
of parameters to set the criteria to search for and view the EMS event log file.
TSM server software. The major component of the Compaq Tandem Service Management
(TSM) package that runs on a NonStop™ Himalaya S-series server. When the
NonStop™ Kernel operating system is running, the TSM software on the workstation
communicates with the server through the TSM server software. See TSM client
software.
unplanned outage. Time during which the system is not capable of doing useful work
because of an unplanned interruption. Unplanned interruptions can include failures
caused by faulty hardware, operator error, or disaster. Contrast with planned outage. See
outage.
unstructured file. An array of bytes of data; it often contains text or program code.
ViewSys. An interactive utility that monitors system resources while the system is running.
volume. A physical disk pack mounted on a disk drive. A mirrored volume is a pair of
physically independent disk packs that are configured and accessed as a single volume.
One is the primary volume and the other is the mirror volume. All data written to one
disk is written to the other as well. As long as both devices are operable, all data read
from one disk could just as well be read from the other, because the content of both
disks is the same.
volume mode. The mode of operation in which Backup or Restore copies an entire disk
volume of files.
VPROC. A utility program that displays product version information for object (file code
100) files.
wide-area network (WAN). A network that operates over a larger geographical area than a
LAN (typically, an area with a radius greater than one kilometer). The elements of a
WAN may be separated by distances great enough to require telephone communications.
Contrast with local-area network (LAN) and system area network (SAN).
$ZSVR. A labeled-tape server process. It is an optional product, without which you can
perform only unlabeled-tape operations. When an application tries to open a labeled
tape, it sends an open request to $ZSVR. $ZSVR checks to see whether the requested
tape is mounted, and if it is not, $ZSVR sends an operator message to alert operations
staff to mount that tape.
Open System Services (OSS) messages 17- PAUSE command in TACL 4-7
3 PEEK program 19-3, A-1
Operator Peripheral device Glossary-3
attention requests, labeled-tape Peruse 12-2, 13-1/13-14
processing 10-21
command summary (table) 13-6
messages 17-2, 17-8
commands
tasks 16-2
COPIES 13-8
OUT run option
DEL 13-4
See IN and OUT run options
FILES 13-12
OWNER command in Peruse 13-6
FIND 13-7
JOB 13-4, 13-8, 13-14
P LIST 13-4, 13-5, 13-7
PAGE command in Peruse 13-6 LIST LAST 13-11
Pages allocated LOC 13-8, 13-11
in TACL WHO display 2-13 NUMCOL 13-12
PARAM command in TACL 2-6 PAGE 13-7, 13-10
Partitioned files PURGE 13-12
adding partitions 8-21 REPORT 13-8
creating a key-sequenced file 8-12/8-16 SJFILES 13-14
increasing extent size 8-20 STARTCOL 13-12
loading an alternate-key file 8-20 STATUS 13-12
moving to a new volume 8-19 VOLUME 13-12
PASSWORD command in TACL 2-8 example with files 13-12
Passwords, rules regarding 16-4 example with TAL 13-9
Password, logon 2-3 example with TFORM 13-7
changing 2-8, 2-10 job status display 13-2
changing an expired 2-11 PERUSE program, related
entering 2-4/2-5 documentation 12-1
Path Physical device Glossary-3
access Glossary-1 Physical Interfaces (PIFs) 19-17
backup Glossary-1 PPD command in TACL 4-3
primary Glossary-1 PRI command in Peruse 13-6
PATHCOM 19-25 Primary access path Glossary-1
PATHMON, processes 19-25 Primary controller path Glossary-3
Pathway Primary processor
commands 19-25 in TACL command 4-9
processes 19-25 in TACL WHO display 2-13
transaction processing applications 19- Primary volume Glossary-4, Glossary-20
25 PRINT command in Spoolcom 14-8