Admin
Admin
Administering UniVerse
Trademarks
UniVerse and Informix are registered trademarks of Informix Software, Inc.
UniVerse Data Replication, UniVerse NLS, UniVerse ODBC, UV/Net, and Ardent
are trademarks of Informix Software, Inc.
Microsoft, Windows, and Windows NT are registered trademarks of Microsoft
Corporation in the United States and other countries. Open Database Connectivity
is a trademark of Microsoft Corporation.
UNIX is a registered trademark in the United States and other countries, licensed
exclusively through X/Open Company, Ltd.
All other company or product names mentioned are trademarks or registered
trademarks of their respective trademark holders.
Printing History
First Printing (000-6939) for Release 9.6.1, July 2000
Customer Comments
We welcome your input. Please comment on this manual using the customer
comment form provided in the back of the manual.
Preface
Organization of This Manual .................................................................................... xvi
Documentation Conventions ..................................................................................xviii
UniVerse Documentation ........................................................................................... xix
Related Documentation .............................................................................................. xxi
Uniclient APIs Documentation ................................................................................ xxii
Chapter 1. Introduction
What Is UniVerse Administration? ........................................................................... 1-1
UniVerse Files .............................................................................................................. 1-2
Nonhashed Files ................................................................................................... 1-2
Hashed Files ......................................................................................................... 1-2
B-Tree Files ............................................................................................................ 1-3
UV Account Directory Files ............................................................................... 1-3
UniVerse Administration Commands ..................................................................... 1-4
Assigning and Unassigning Peripheral Devices ............................................. 1-5
BASIC Programs .................................................................................................. 1-5
File and Account Maintenance .......................................................................... 1-6
Managing Processes ............................................................................................ 1-7
Monitoring Resources ......................................................................................... 1-8
Task and Record Locking.................................................................................... 1-8
Managing Transaction Logging ......................................................................... 1-9
iv Administering UniVerse
Maintaining User Accounts ....................................................................................... 5-3
Table of Contents v
Protecting User Accounts with Passwords ..............................................................8-3
Assigning a Password .........................................................................................8-3
Making a Nonlogin Account ..............................................................................8-3
Using Groups Effectively ...........................................................................................8-4
Defining Groups ...................................................................................................8-4
VOC File Security ........................................................................................................8-5
Security Subroutines ...................................................................................................8-5
vi Administering UniVerse
Deleting a Tape Drive Definition ................................................................... 10-10
Configuring Other Devices .................................................................................... 10-11
Defining a New Device ................................................................................... 10-11
Viewing and Modifying a Device Definition ............................................... 10-12
Deleting a Device Definition .......................................................................... 10-12
Configuring Terminals on UNIX Systems ........................................................... 10-12
Terminal Line Naming Conventions ............................................................. 10-13
Setting Default Terminal Characteristics ...................................................... 10-13
The terminfo Facility ......................................................................................... 10-17
Customizing Terminal Capabilities While Logged In ................................ 10-25
Mapping Terminals and Auxiliary Printers ........................................................ 10-25
Table of Contents ix
Starting and Stopping the Publishing System ...............................................13-9
Publishing Files ..................................................................................................13-9
Managing a Subscribing System ...........................................................................13-15
Configuring the Subscribing System .............................................................13-16
Starting and Stopping the Subscribing System ............................................13-17
Creating a Subscriber’s List of Publishing Systems ....................................13-17
Subscribing Files ...............................................................................................13-18
Managing Hot Standby Operations ......................................................................13-25
Configuring a Hot Standby Subscriber .........................................................13-25
Turning On Fail-Over Mode ...........................................................................13-26
Reconciling the Hot Standby with the Publisher ........................................13-27
Some Restrictions ....................................................................................................13-28
What to Do When Disk Space Fills Up .................................................................13-29
Removing Obsolete Replication Log Files ...........................................................13-29
What to Do When Replication Fails ......................................................................13-30
x Administering UniVerse
Monitoring Response Time on UNIX Systems ................................................... 14-13
Keeping Directory Files Small ........................................................................ 14-14
Running Programs During Off-Hours .......................................................... 14-14
Monitoring Errors on UNIX Systems ................................................................... 14-14
Table of Contents xi
The MESSAGE Command .......................................................................................17-4
Message of the Day on UNIX Systems ...................................................................17-4
Index
Preface xv
Organization of This Manual
This manual contains the following:
Chapter 1 gives an overview of the system administrator’s job, as well as a
brief behind-the-scenes look at the organization of the system software.
Chapter 2 describes UniVerse Admin, which a Windows program that lets you
administer UniVerse running on a UNIX or a Windows NT server.
Chapter 3 describes how to start up and shut down UniVerse.
Chapter 4 describes the UniVerse configurable parameters you can modify to
tune the performance of UniVerse.
Chapter 5 describes how to add new user login accounts to UNIX systems.
Chapter 6 describes how to add new UniVerse accounts and maintain existing
UniVerse accounts.
Chapter 7 explains how to transfer accounts to UniVerse from a Pick
ACCOUNT-SAVE tape or a Prime INFORMATION MAGSAV tape. It also
explains how to transfer UniVerse accounts from UNIX to Windows NT
systems.
Chapter 8 describes the basic UNIX security mechanisms. It also describes
special considerations in setting up secure UniVerse accounts.
Chapter 9 describes how to view the UniVerse lock table, and how to manage
record locks, group locks, locks held by a specific user, and deadlocks.
Chapter 10 describes the basic mechanisms by which UniVerse support
peripheral devices such as terminals and tape drives. It is included to help you
support additional terminals and tape drives on your system.
Chapter 11 describes how to configure and manage printers and the UniVerse
spooler on UNIX systems. It also describes how to manipulate and control
print jobs and the spooler queue. See the end of the chapter for troubleshooting
information.
Chapter 12 describes how to back up and restore the system. Various backup
and restoration methods are covered: backing up the entire system, backing up
incrementally, and backing up a single account or a single file.
Chapter 13 describes how to publish UniVerse files for replication, subscribe to
publications, and administer hot standby systems.
Preface xvii
Documentation Conventions
This manual uses the following conventions:
Convention Usage
Bold In syntax, bold indicates commands, function names, and
options. In text, bold indicates keys to press, function names,
menu selections, and MS-DOS commands.
UPPERCASE In syntax, uppercase indicates UniVerse commands,
keywords, and options; BASIC statements and functions;
and SQL statements and keywords. In text, uppercase also
indicates UniVerse identifiers such as filenames, account
names, schema names, and Windows NT filenames and
pathnames.
Italic In syntax, italic indicates information that you supply. In
text, italic also indicates UNIX commands and options,
filenames, and pathnames.
Courier Courier indicates examples of source code and system
output.
Courier Bold In examples, courier bold indicates characters that the user
types or keys the user presses (for example, <Return>).
[] Brackets enclose optional items. Do not type the brackets
unless indicated.
{} Braces enclose nonoptional items from which you must
select at least one. Do not type the braces.
itemA | itemB A vertical bar separating items indicates that you can choose
only one item. Do not type the vertical bar.
... Three periods indicate that more of the same type of item can
optionally follow.
➤ A right arrow between menu options indicates you should
choose each option in sequence. For example, “Choose
File ➤ Exit” means you should choose File from the menu
bar, then choose Exit from the File pull-down menu.
I Item mark. For example, the item mark ( I ) in the following
string delimits elements 1 and 2, and elements 3 and 4:
1I2F3I4V5
UniVerse Documentation
UniVerse documentation includes the following:
UniVerse BASIC: Contains comprehensive information about the UniVerse
BASIC language. It includes reference pages for all BASIC statements and
functions. It is for experienced programmers.
UniVerse BASIC SQL Client Interface Guide: Describes how to use the BASIC
SQL Client Interface (BCI), an interface to UniVerse and non-UniVerse data-
bases from UniVerse BASIC. The BASIC SQL Client Interface uses ODBC-like
function calls to execute SQL statements on local or remote database servers
such as UniVerse, ORACLE, SYBASE, or INFORMIX. This book is for experi-
enced SQL programmers.
Preface xix
Administering UniVerse: Describes tasks performed by UniVerse administra-
tors, such as starting up and shutting down the system, system configuration
and maintenance, system security, maintaining and transferring UniVerse
accounts, maintaining peripherals, backing up and restoring files, and
managing file and record locks, and network services. This book includes
descriptions of how to use the UniVerse Admin program on a Windows client
and how to use shell commands on UNIX systems to administer UniVerse.
UniVerse Transaction Logging and Recovery: Describes the UniVerse transac-
tion logging subsystem, including both transaction and warmstart logging
and recovery. This book is for system administrators.
UniVerse System Description: Provides detailed and advanced information
about UniVerse features and capabilities for experienced users. This book
describes how to use UniVerse commands, work in a UniVerse environment,
create a UniVerse database, and maintain UniVerse files.
UniVerse User Reference: Contains reference pages for all UniVerse
commands, keywords, and user records, allowing experienced users to refer to
syntax details quickly.
Guide to RetrieVe: Describes RetrieVe, the UniVerse query language that lets
users select, sort, process, and display data in UniVerse files. This book is for
users who are familiar with UniVerse.
Guide to ProVerb: Describes ProVerb, a UniVerse processor used by applica-
tion developers to execute prestored procedures called procs. This book
describes tasks such as relational data testing, arithmetic processing, and
transfers to subroutines. It also includes reference pages for all ProVerb
commands.
Guide to the UniVerse Editor: Describes in detail how to use the Editor,
allowing users to modify UniVerse files or programs. This book also includes
reference pages for all UniVerse Editor commands.
UniVerse NLS Guide: Describes how to use and manage UniVerse’s National
Language Support (NLS). This book is for users, programmers, and
administrators.
UniVerse SQL Administration for DBAs: Describes administrative tasks typi-
cally performed by DBAs, such as maintaining database integrity and security,
and creating and modifying databases. This book is for database administra-
tors (DBAs) who are familiar with UniVerse.
xx Administering UniVerse
UniVerse SQL User Guide: Describes how to use SQL functionality in UniVerse
applications. This book is for application developers who are familiar with
UniVerse.
UniVerse SQL Reference: Contains reference pages for all SQL statements and
keywords, allowing experienced SQL users to refer to syntax details quickly. It
includes the complete UniVerse SQL grammar in Backus Naur Form (BNF).
UniVerse Master Index: A comprehensive index for UniVerse documentation.
UniVerse Quick Reference: A quick reference to all UniVerse commands and
keywords. It also summarizes UniVerse SQL statements and keywords, all
elements of the UniVerse BASIC language, Editor commands, ProVerb
commands, file types, file dictionaries, and user exits.
Related Documentation
The following documentation is also available:
UniVerse GCI Guide: Describes how to use the General Calling Interface (GCI)
to call subroutines written in C, C++, or FORTRAN from BASIC programs.
This book is for experienced programmers who are familiar with UniVerse.
UniVerse ODBC Guide: Describes how to install and configure a UniVerse
ODBC server on a UniVerse host system. It also describes how to use UniVerse
ODBC Config and how to install, configure, and use UniVerse ODBC drivers
on client systems. This book is for experienced UniVerse developers who are
familiar with SQL and ODBC.
UV/Net II Guide: Describes UV/Net II, the UniVerse transparent database
networking facility that lets users access UniVerse files on remote systems.
This book is for experienced UniVerse administrators.
UniVerse Guide for Pick Users: Describes UniVerse for new UniVerse users
familiar with Pick-based systems.
Moving to UniVerse from PI/open: Describes how to prepare the PI/open envi-
ronment before converting PI/open applications to run under UniVerse. This
book includes step-by-step procedures for converting INFO/BASIC
programs, accounts, and files. This book is for experienced PI/open users and
does not assume detailed knowledge of UniVerse.
Preface xxi
Uniclient APIs Documentation
The following books document application programming interfaces (APIs) used
for developing client applications that connect to UniVerse and UniData servers.
Administrative Supplement for Uniclient APIs: Introduces Informix Soft-
ware’s five common APIs, and provides important information that
developers using any of the common APIs will need. It includes information
about the UniRPC, the UCI Config Editor, the ud_database file, and device
licensing.
UCI Developer’s Guide: Describes how to use UCI (Uni Call Interface), an
interface to UniVerse and UniData databases from C-based client programs.
UCI uses ODBC-like function calls to execute SQL statements on local or
remote UniVerse and UniData servers. This book is for experienced SQL
programmers.
InterCall Developer’s Guide: Describes how to use the InterCall API to access
data on UniVerse and UniData systems from external programs. This book is
for experienced programmers who are familiar with UniVerse or UniData.
UniObjects Developer’s Guide: Describes UniObjects, an interface to UniVerse
and UniData systems from Visual Basic. This book is for experienced program-
mers and application developers who are familiar with UniVerse or UniData,
and with Visual Basic, and who want to write Visual Basic programs that
access these databases.
UniObjects for Java Developer’s Guide: Describes UniObjects for Java, an
interface to UniVerse and UniData systems from Java. This book is for experi-
enced programmers and application developers who are familiar with
UniVerse or UniData, and with Java, and who want to write Java programs
that access these databases.
Using UniOLEDB: Describes how to use UniOLEDB, an interface to UniVerse
and UniData systems for OLE DB consumers. This book is for experienced
programmers and application developers who are familiar with UniVerse or
UniData, and with OLE DB, and who want to write OLE DB programs that
access these databases.
This chapter describes the role of a UniVerse system administrator and gives a
brief overview of the relationship between the operating system and UniVerse.
UniVerse administrators must know the operating system, UniVerse, and the
applications developed in UniVerse.
UniVerse is a database management environment that runs on the Windows NT
and UNIX operating systems. Most end users interact with commercial applica-
tions developed in this environment. However, many users also interact directly
with the UniVerse environment and use its commands to store and retrieve data
in UniVerse tables and files. Some users and most application developers also
work in the operating system environment.
Introduction 1-1
UniVerse administrators can also do the following:
• Configure and manage transaction logging
• Administer data sources
For information about administering the UniVerse transaction logging system, see
UniVerse Transaction Logging and Recovery. For information about administering
data sources, see UniVerse BASIC SQL Client Interface Guide, UCI Developer’s Guide,
and UniVerse ODBC Guide.
UniVerse Files
UniVerse files are described in detail in UniVerse System Description. This section
summarizes the main points of the UniVerse file system.
UniVerse provides the following kinds of file organization:
• Nonhashed files
• Hashed files
• B-tree files
Nonhashed Files
Nonhashed files store text, program source code, and other data that does not
have much structure to it. A nonhashed file is implemented as an operating
system directory. The records in a nonhashed file are operating system files.
Hashed Files
Hashed files use a hashing algorithm to distribute records in one or more groups
of the file. The algorithm is applied to the record ID to generate the address of a
group buffer where the record is stored. To find a record in a hashed file, UniVerse
locates its group address on the disk. Within that group, individual record IDs are
examined to identify the record.
B-Tree Files
B-tree files store data for rapid access. In a B-tree file, records are stored in sorted
order. To find a record, its record ID is compared to the value at the center of the
tree. If the value is greater than the record ID, the search continues with the
subtree to the left of the center value. If it is less, the search continues with the
subtree to the right of the center value. This process continues until the record is
found.
A B-tree file is the most efficient file structure to use when frequent searches are
made for partially specified keys, such as a key that comprises a region code and
an invoice number. A search for the last 100 orders placed in the “NE” region
would search only the branches with a key beginning with “NE”. Using partially
specified keys to find records in a hashed file is inefficient because it involves
reading the entire file.
Name Description
bin Directory containing UniVerse system programs.
catdir Directory containing cataloged UniVerse programs. Also
referred to as the system catalog space, or (more simply) the
catalog.
errlog On UNIX systems, an error-logging file containing the most
recently logged errors.
gcidir Directory containing General Calling Interface (GCI) files.
nls Directory containing UniVerse NLS files.
sample Directory containing sample programs, demonstration files,
and other sample UniVerse files.
Introduction 1-3
sql/catalog Directory containing the UniVerse SQL catalog.
sqlclient.config File containing definitions of BASIC SQL Client Interface data
sources.
terminfo Directory containing terminal definitions.
uvconfig File containing UniVerse configurable parameter values.
uvdr.config File containing the configuration of the data replication utility.
The following UniVerse system files are unique to the UV account:
Name Description
&DEVICE& File containing definitions and configurations for all periph-
eral devices.
APP.PROGS.O File containing optional UniVerse application programs.
BP File containing system BASIC programs.
BP.O File containing the executable code for system BASIC
programs.
CAT File containing lists of globally cataloged programs.
DICT.DICT File containing the dictionary definitions for all file dictio-
naries on the system.
NEWACC File containing master copies of the default VOC files that are
copied into new UniVerse accounts.
PTERM.FILE File containing tables used by the PTERM command for
setting terminal characteristics.
SYS.MESSAGE Master file containing system messages and prompts used in
the UniVerse environment. You can edit this file to change the
prompts.
UV.ACCOUNT File containing the names and paths of UniVerse accounts.
UV.FLAVOR File specifying the flavors of UniVerse accounts.
BASIC Programs
Command Description
BASIC Compiles a BASIC program.
CATALOG Copies the compiled object code to the system
catalog space.
DELETE.CATALOG Deletes programs from the catalog space.
ED Creates BASIC source programs. Also edits the
contents of data files, file dictionaries, and select
lists.
INITIALIZE.CATALOG Initializes the catalog space.
LIMIT Sets the maximum size of memory storage for a
user’s active BASIC routines.
MAKE.MAP.FILE Creates the &MAP& file from the catalog contents.
MAP Displays information about the contents of the
catalog space.
RAID Debugs a BASIC program.
VCATALOG Compares the object code of a program in the
catalog to object code in the original file.
VLIST Lists BASIC object code.
Introduction 1-5
File and Account Maintenance
Command Description
ACCOUNT.FILE.STATS Gathers file statistics on the current state of selected
files.
ANALYZE.FILE Displays statistics about a dynamic file.
CLEAN.ACCOUNT Performs routine maintenance and verifies the
condition of files in an account.
CONFIGURE.FILE Changes the parameters of a dynamic file.
FILE.STAT Displays statistical information about the file size
and record partitioning in a file.
FILE.USAGE Displays statistics on the use patterns of a file.
FILE.USAGE.CLEAR Resets statistics displayed by the FILE.USAGE
command.
FORMAT.CONV Changes the storage format of UniVerse files or
BASIC object code.
GROUP.STAT Displays information about the record distribution
in a file.
GROUP.STAT.DETAIL Displays a detailed record distribution summary for
a file.
HASH.AID Displays statistical information about the hypothet-
ical file size and record partitioning in the file.
HASH.HELP Displays a recommendation for a file type, modulo,
and separation based on the current record IDs and
file size.
HASH.HELP.DETAIL Displays the same information as HASH.HELP, and
also includes details on the record ID sizes and
record size in bytes.
HASH.TEST Displays how the record distribution would work
with a hypothetical file type, modulo, and
separation.
HASH.TEST.DETAIL Displays the same hypothetical information as
HASH.TEST, and also includes the hypothetical
number of bytes per record, and the number of
bytes per group.
Managing Processes
Command Description
AUTOLOGOUT Logs the user out of UniVerse after a period of
inactivity.
CHAP On UNIX systems, changes the execution priority
level for tasks.
ENVIRONMENT Sets and displays environment variables.
JOBS Lists active phantom processes.
MAIL On UNIX systems, lets you send and receive
messages from other users on the system.
MESSAGE Sends a message from your terminal to another
user.
PASSWD On UNIX systems, sets or changes the password for
the account you are using.
PHANTOM Starts a phantom process.
SLEEP Suspends a process.
UMASK On UNIX systems, sets default file permission
modes for an account.
Introduction 1-7
Monitoring Resources
Command Description
ANALYZE.SHM Displays statistics about the disk and printer shared
memory segments.
AVAIL Displays statistics about the disk records.
CONFIG Displays information about current authorization
parameters and configurable parameter values.
CORE On UNIX systems, displays statistics about
UniVerse’s current memory usage.
LISTU Displays information about the users currently on
the system.
PORT.STATUS Displays information about UniVerse processes and
jobs currently running on the system.
STATUS Displays information about the files that are open,
the network, assigned devices, the operating system
version, and the users.
TANDEM On UNIX systems, displays input and output of
another user’s terminal.
USERS Displays the number of users on the system.
Command Description
ACTLIST Activates lists of recoverable files for logging.
CREATE.LDIR Creates the log directory.
CREATE.LFILE Creates log files.
DEACTLIST Deactivates lists of recoverable files for
logging.
DEL.RFILE Deletes a series of log files once they have been
rolled forward.
DELETE.LFILE Deletes empty log files from the log directory.
ENABLE.RECOVERY Starts up the log daemon.
LOG.RESTORE Restores log files from tape to a log directory
on disk.
LOG.SAVE Saves log files from a log directory on disk to
tape.
MKFILELIST Creates and saves a select list of all files in an
account.
RECOVERY.CHECKPOINT Finds the numbers of the first log file you need
for a roll-forward recovery.
RECOVERY.CONSISTENT Clears a file’s inconsistency flag.
RELEASE.LFILE Releases a Full log file for reuse.
SET.LOG.ATTR Sets the archive and checkpoint modes to ON
or OFF.
SHUTDOWN.RECOVERY Shuts down the log daemon.
SUSPEND.RECOVERY Suspends the log daemon.
Introduction 1-9
1-10 Administering UniVerse
2
UniVerse Admin
3. You can modify the entry in the Server Name field or change the setting for
the transport type, or both.
Note: You cannot edit the Machine Type field because this is updated auto-
matically when you connect to the server.
Connecting to a Server
Before you can connect to a server, you must define the servers you want to
manage. To connect to a server:
1. Do one of the following:
• Double-click the icon representing the server.
• Choose the server name from the Connect menu.
The Password dialog box appears.
2. Fill in the User Name and Password fields. You must enter the user name and
password of the administrator’s account on the UniVerse server.
3. Click OK. Once the connection is made, the UniVerse Admin window is
replaced by the UniVerse Admin Control Panel.
Note: You must exit the Spooler and Transaction Logging options using the Exit
option.
Initializing the UniVerse Shell. If you specify the UniVerse command processor
as the account’s command interpreter, UniVerse executes the UV.LOGIN entry in
the VOC file of the UV account. You can set system-wide defaults by putting
appropriate commands in the UV.LOGIN entry.
After executing UV.LOGIN, UniVerse executes the LOGIN entry in the VOC file
of the user’s account. LOGIN can be a paragraph, sentence, proc, menu, or BASIC
program.
In a PICK, IN2, or REALITY flavor account, the UniVerse command processor
first executes an entry with the account name. If none exists, it executes an entry
with the login name. If none exists, it executes an entry named LOGIN.
Note: If users are connected to the services when they are shut down, the users
do not lose their connections; the connections remain active until the users
terminate them. However, it is not possible for new users to connect to
UniVerse.
If you want to do a complete shutdown of UniVerse to restart the services,
be sure that all connections are terminated first.
UNIX Startup
Initializing UNIX: The /etc/init Program. The init program runs a series of initial-
ization scripts that check and mount the file systems, start various accounting
processes and system daemons (automatic processes such as spoolers), and
continuously spawn getty processes. One of the initialization scripts, /etc/rc, starts
UniVerse.
The UniVerse Startup Script. The main script for the UNIX system initialization
process is in the /etc/rc file. To see the processes invoked when the system is
booted to multiuser mode, you can print this file. Among other things, /etc/rc calls
other command files that vary from system to system.
The UniVerse installation procedure modifies the UNIX startup procedure to
execute the commands in a file copied from /usr/ardent/uv/sample/uv.rc. You can
see where this file is on your system by entering the following command from the
UV account directory:
# cat .uvrcloc
The uv.rc file contains the script that provides for the orderly startup and shut-
down of UniVerse when UNIX changes run levels. You can run this script from
the UNIX prompt either to start up or to shut down UniVerse. The syntax is as
follows:
CAUTION: You must run shutdown before turning off the power, or you risk
corrupting the file system. If you are working in single-user mode
and you want to turn off the power, first issue the sync command
twice, as follows:
# sync; sync
See the UNIX Programmer’s Manual for a detailed description of the sync
command.
Recovering .uvconfig
If something happens to the .uvconfig file, there is a file named .uvconfig.bak in the
UV account directory that is a backup copy of the .uvconfig file as shipped with
the release. Copy it to .uvconfig to restore a usable UniVerse environment. To
restore the uvconfig file, use the default values for the parameters listed in
Table 4-1.
Parameter Description
64BIT_FILES Specifies whether UniVerse uses 32-bit or 64-bit file
systems. A value of 0 means all UniVerse files are
created and resized as 32-bit files. A value of 1 means
all UniVerse files are created and resized as 64-bit files.
The default value is 0.
ALLOWNFS Specifies whether UniVerse files stored on remote
systems can be opened without UV/Net. A value of 0
means UV/Net is required to access remote files. Any
other value allows remote files to be opened, but no
locks are maintained on the remote system. Turn this
parameter on when UniVerse is not running on the
remote system. The default value is 0.
Parameter Description
BLKMAX Sets the maximum block size for UVBACKUP and
UVRESTORE. It must be greater than, and a multiple
of, 512.
CENTURYPIVOT Sets the century pivot year, which determines how 1
and 2 digit years are interpreted by the ICONV func-
tion. A value of 1930 means that 30 through 99 are
interpreted as the 1900s, and 00 through 29 are inter-
preted as 2000 - 2029. If the century pivot value is two
digits, the century pivot year is based on the current
year, as follows: a value of 30 means the century pivot
year is 1930 in 2000, 1931 in 2001, 1932 in 2002, etc. The
default value is 1930.
CSHDISPATCH Defines the full pathname for the csh shell command.
On UNIX systems the default is /usr/bin/csh. On
Windows NT systems the default is
NOT_SUPPORTED.
DOSDISPATCH Defines the full pathname for the DOS shell command.
On UNIX systems the default is NOT_SUPPORTED.
On Windows NT systems the default is CMD.EXE.
EXACTNUMERIC Specifies the number of digits of precision before
rounding occurs. It can be between 15 through 57
digits. The default value is 15 digits.
FLTABSZ Sets the number of file lock entries in a file lock sema-
phore set. The default value is 11.
FSEMNUM Sets the number of file lock semaphore sets used for
concurrency control. The default value is 23.
GLTABSZ Sets the number of group lock entries in a group lock
semaphore set. The default value is 75.
GSEMNUM Sets the number of group lock semaphore sets used for
concurrency control. The default value is 97.
HISTSTK Specifies the maximum number of sentences in a user’s
sentence stack. The default value is 99.
ISOMODE Sets the SQL isolation level. See UniVerse BASIC for an
explanation of the possible values. The default value is
1.
Parameter Description
JOINBUF Specifies the size of the cache the optimizer uses for
joins with explicit record IDs or indexes. The default
value is 4095.
LAYERSEL Determines whether a select list remains active when
returning from a higher EXECUTE level. A value of 0
maintains an active select list. Any other value clears
any select lists before returning to the previous layer,
unless K mode is active. The default value is 0.
LOGBLNUM Specifies the size of the log data buffer, in file system
blocks. The default value is 8.
LOGBLSZ Specifies the log buffer block size should be the same as
the block size of the file system where the log directory
is mounted. The default value is 512.
LOGSYCNT Specifies the maximum number of commits allowed
between log file syncs. If the specified value is less than
2, it is changed to 0. This parameter has no effect on a
nontransactional environment. The default value is 0.
LOGSYINT Specifies the maximum time interval allowed between
log file syncs. The minimum value (other than 0) you
can specify is 5. If the LOGSYCNT parameter is set to a
value other than 0, LOGSYINT defaults to 120.
MALLOCTRACING Turns on malloc tracing for UniVerse support analysis. 1
turns tracing on, 0 turns tracing off. The default value is
0.
MAXERRLOGENT Specifies the maximum number of log entries that can
be written to the errlog file. The default is 100.
MAXKEYSIZE Specifies the maximum number of characters for a
primary key. It must be any multiple of 64 between 256
and 2048. The full record ID is stored in the record lock
entry. The default value is 255. Do not change
MAXKEYSIZE from the default value without under-
standing its effect on the record lock table entries.
MAXRLOCK Sets the maximum number of record locks that can be
held by an SQL transaction on a physical file (a device
or an i-node) before a file lock is requested. The default
is 74.
Parameter Description
MFILES Specifies the size of the UniVerse rotating file pool. The
value of MFILES must be at least 8 less than the
kernel’s open files per process limit. The default value
is 12. Count UV/Net connections as files. Pipes are not
part of the rotating file pool, but they do count as files.
MODFPTRS Specifies whether file pointers in the VOC file can be
modified by the COPY, DELETE, and EDIT commands.
A value of 0 disallows modifications of VOC file
pointers. The default value is 1.
NETTIME Sets the timeout value in minutes for UV/Net. The
default value is 5.
NLSDEFDEVMAP Specifies the name of the default map to use for device
input or output. This map is used for all devices except
printers that do not have a map specified in the
&DEVICE& file. The ASSIGN MAP command over-
rides this setting. The default value is ISO8859-
1+MARKS.
NLSDEFDIRMAP Specifies the name of the default map to use for type 1
and type 19 files without assigned maps. This occurs if
a type 1 or type 19 file was not created on an NLS
system and has not had a map defined for it by the
SET.FILE.MAP command. This map applies only to the
data in records, not to record IDs. The default value is
ISO8859-1+MARKS.
NLSDEFFILEMAP Specifies the name of the default map to use for hashed
files without assigned maps. This occurs if a hashed file
was not created on an NLS system and has not had a
map defined for it by the SET.FILE.MAP command.
The default value is ISO8859-1+MARKS.
NLSDEFGCIMAP Specifies the name of the default map to use for string
arguments passed to and from GCI subroutines. This
map is used if the GCI subroutine does not explicitly
define a map. The default value is ISO8859-1+MARKS.
NLSDEFPTRMAP Specifies the name of the default map to use for printer
output. This map is used if a printer does not have a
map defined for it in the &DEVICE& file. The default
value is ISO8859-1+MARKS.
Parameter Description
NLSDEFSEQMAP Specifies the name of the default map to use for
sequential input or output for files or devices without
assigned maps. The SET.SEQ.MAP command overrides
this setting. The default value is ISO8859-1+MARKS.
NLSDEFSRVLC Specifies the name of the default locale to use for
passing data to and from client programs. This locale is
used if the client program does not specify a server
locale. The default value is ISO8859-1+MARKS.
NLSDEFSRVMAP Specifies the name of the default map to use for passing
data to and from client programs. This map is used if
the client program does not specify a server map. The
default value is ISO8859-1+MARKS.
NLSDEFTERMMAP Specifies the name of the default map to use for
terminal input or output. This map is used if a terminal
does not have a map defined for it in its terminfo defini-
tion. The SET.TERM.TYPE MAP command overrides
this setting. The default value is ISO8859-1+MARKS.
NLSDEFUSRLC Specifies the default locale. The default value is OFF.
NLSLCMODE Specifies whether locales are enabled. A value of 1 indi-
cates that locales are enabled; a value of 0 indicates that
locales are disabled. The default setting is 0. This
parameter has no effect unless NLSMODE is set to 1.
NLSMODE Turns NLS mode on or off. A value of 1 indicates NLS
is on, a value of 0 indicates NLS is off. If NLS mode is
off, UniVerse does not check any other NLS
parameters.
NLSNEWDIRMAP Specifies the name of the map to use for new type 1 and
type 19 files created when NLS mode is on. This map
applies only to the data in records, not to record IDs.
The default value is ISO8859-1+MARKS.
NLSNEWFILEMAP Specifies the name of the map to use for new hashed
files created when NLS mode is on. A value of NONE
(the default value) indicates that data is to be held in
the internal UniVerse character set.
Parameter Description
NLSOSMAP Specifies the name of the map to use for filenames or
record IDs visible to the operating system. This chiefly
affects CREATE.FILE and record IDs written to type 1
or type 19 files. The default value is ISO8859-1.
NLSREADELSE Specifies the action to take if characters cannot be
mapped when a record is read by a READ statement. A
value of 1 indicates that the READ statement takes the
ELSE clause. A value of 0 indicates that unmappable
characters are returned as the Unicode replacement
character 0xFFFD. The default value is 1.
NLSWRITEELSE Specifies the action to take if characters cannot be
mapped when data is written to a record. A value of 1
indicates that the write aborts or takes the ON ERROR
clause (if there is one). A value of 0 indicates that
unmappable characters are converted to the file map’s
unknown character (for example, ?) before writing the
record. When this happens, some data may be lost.
OCVDATE Specifies whether UniVerse accepts partially bad
internal dates. A value of 0 rejects any value that is not
wholly numeric and supplied as an internal date to the
D conversion code; the date is not converted. Any
value other than 0 accepts a number followed by
nonnumeric data (e.g., 9199-f); the number is treated as
an internal date, and the STATUS function is set to 3.
The default value is 0.
OPENCHK Modifies the behavior of operations on files opened
with the BASIC OPEN statement. When set to 0, no
integrity constraints are observed. This parameter does
not affect files opened using the OPENCHECK state-
ment. The default value is 1.
OPTMEM Specifies the amount of memory allocated for the query
optimizer’s workspace. This is specified in 1K units.
The default value is 64.
PAKTIME Specifies the number of seconds the system waits at the
Press Any Key to Continue message before
releasing a pending group lock. The default value is
300.
Parameter Description
PICKNULL Sets the masked decimal conversion for empty data. A
value of 1 turns on Pick-style conversions, where
empty data is converted to an empty string. A value of
0 indicates UniVerse-style conversions, where empty
data is converted to 0.00.
PIOPENDEFAULT Sets the INFO.CONVERT and PIOPEN.EXECUTE
options of the BASIC $OPTIONS statement as defaults
in PIOPEN flavor accounts.
PKRJUST A value of 1 gives Pick-style right-justified behavior for
LIST and SORT in all flavors. Pick-style right-justified
behavior can overwrite data in previous columns if the
data exceeds the column or the column header width.
The default value is 0.
PROCACMD Defines the action of the ProVerb A command. A value
of 0 specifies that the A command quits when m charac-
ters are moved, or when a field mark or the end of the
input buffer is reached. A positive nonzero value
causes the A command to ignore the field mark. The
default value is 0.
PROCPRMT Determines the effect of the UniVerse PROMPT
keyword on the ProVerb prompt. A value of 0 lets the
PROMPT keyword change the ProVerb prompt. Any
other value retains the ProVerb prompt, which can be
changed only by the IP ProVerb command. The default
value is 0.
PROCRCMD Determines the behavior of the ProVerb RI command.
A value of 0 clears the input buffer and removes the
preceding field mark. Any other value does not remove
the field mark. The default value is 0.
PSEMNUM Sets the number of BASIC user process control locks.
The default value 64.
Parameter Description
QBREAK Selects the function of the keys Q and Ctrl-X at the
Press Any Key to Continue message. A value of
0 means that the Q and Ctrl-X keys are ignored while
in BREAK OFF mode. A nonzero value allows the Q
and Ctrl-X keys to quit at the Press Any Key to
Continue message even in BREAK OFF mode. There
are security implications to selecting the latter mode of
operation. The default value is 1.
QDEPTH Specifies the maximum depth of nesting allowed in
Q-pointer references. The default value is 16, and the
minimum value is 0.
QSBRNCH Specifies the number of runs which cause a sub-merge
to be performed by the query processor’s sorting algo-
rithm. This is sometimes referred to as the branching
factor of the sort. The efficiency of the sorting algo-
rithm is very sensitive to the value of QSBRNCH. The
default value is 4, and the minimum value is 2.
QSDEPTH Specifies the maximum depth of the sort tree used by
the query processor’s sorting algorithm. The efficiency
of the sorting algorithm is very sensitive to the value of
QSDEPTH. The default value is 8, and the minimum
value is 2.
QSMXKEY Specifies the maximum number of sort key compo-
nents. The efficiency of the sorting algorithm is very
sensitive to the value of QSMXKEY. The default value
is 32.
QSRUNSZ Specifies the size of the initial sorting run used by the
query processor’s sorting algorithm. The efficiency of
the sorting algorithm is very sensitive to the value of
QSRUNSZ. The default value is 2000, and the
minimum value is 2.
RLOWNER Sets the number of lock owner entries maintained for
shared record locks in a group semaphore set. The
default value is 300.
RLTABSZ Sets the number of update record lock entries in a
group lock semaphore set. The default value is 75.
Parameter Description
SCRMAX Specifies the maximum size of the UniVerse scratch
buffer pool. SCRMAX must be larger than SCRMIN,
and must be specified after SCRMIN. The default value
is 5.
SCRMIN Specifies the minimum size of the UniVerse scratch
buffer pool. SCRMIN must be at least 1 and must be
specified before SCRMAX. The default value is 3.
SCRSIZE Specifies the initial size of a scratch buffer. SCRSIZE
must be from 512 through 2048. The default value is
512.
SELBUF Specifies the size of the in-memory select list buffer. It is
the amount of locally cached select data which can be
stored before the select list starts using disk storage. It
is specified in 1K units. The default value is 4.
SHDISPATCH Defines the full pathname for the sh shell command.
On UNIX systems the default is /usr/bin/sh. On
Windows NT systems the default is
NOT_SUPPORTED.
SYNCALOC A value of 1 causes creation of new UniVerse files to
occur as soon as they are requested. The default value
is 1.
T30FILE Specifies the number of dynamic files that can be
opened. This is used to allocate shared memory
concurrency control headers. The default value is 200.
THDR512 Specifies whether DR-type tapes are written with 512-
byte labels. The default value is 0.
TSTIMEOUT Sets the number of seconds the UniVerse device
licensing shell (uvdls) waits for a connection from a
telnet client. The default value is 60.
TXMEM Specifies the amount of memory allocated for the
private transaction cache. This is specified in 1K units
(1024 bytes). The default value is 32.
TXMODE Sets the transaction mode observed by the system.
When set to 0, transactions are not logged by the log
daemon. The default value is 0.
Parameter Description
ULIMIT Sets the maximum file size set by UniVerse. UniVerse
uses either the value set by ULIMIT or the value set by
the UNIX ulimit, whichever is larger. The default value
of ULIMIT is 128000.
UDRBLKS Specifies the size of the internal buffer used for caching
replicated data before it is written to the log file. One
block is equivalent to 4096 bytes. The minimum size is
10, the maximum size is system-dependent. A larger
size can improve performance on larger systems. The
default size is 10.
UDRMODE Sets the data replication mode. When set to 0, replica-
tion is not activated. When set to 1, replication is
activated. The default value is 0.
UVSPOOL Specifies the name of the directory to be used as the
UniVerse spooler directory. This should be a fully qual-
ified pathname of 112 characters or less.
UVSYNC Determines if UniVerse uses the UNIX sync( ) call. A
nonzero value allows a sync( ) to be performed if a
leading process exits. Data loss can occur if sync( ) is
not executed often enough.
UVTEMP Specifies the name of the directory used to contain
UniVerse select lists and other temporary files. This
should be a fully qualified pathname of 112 characters
or less.
VDIVDEF Selects the default action of the vector divide operator
when the divisor values are exhausted prematurely. A
nonzero value returns the dividend. A zero value
returns 0. The default value is 1.
WIDE0 Specifies the mask used internally to decide when the
difference between two numeric values is to be consid-
ered 0. The default value is 0x3dc00000. For more
information about the wide zero parameter, see
Appendix D of Administering UniVerse.
Note: Make sure you understand the effect of any changes you make to the
default values. A small change can have a significant impact on your
system. It is impossible to document the impact of each of these parame-
ters so that you can predict the effect of a value change. If you are not sure
about how to change the value of any parameter, please consult with an
Ardent Support Specialist.
Changing a Parameter
To change the value of a parameter:
1. Choose the parameter you want to edit from the list. A description of the
parameter appears under Parameter Description, and the Parameter and
Value fields are updated with the parameter name and value.
2. Enter a new value in the Value field. To return to the previously saved setting,
choose the parameter from the list again.
3. Click Set to accept the new setting. The parameter value is updated in the list.
This chapter describes how to add new user accounts and how to maintain
existing accounts on UNIX systems. It covers the following topics:
• Issues to consider when creating UniVerse and UNIX accounts
• How to create new user groups and user login accounts, and how to
modify existing user accounts
General Considerations
When you first install UniVerse, the UV account is created. You use the UV
account for both UNIX and UniVerse system administration. Probably the first
task you perform after starting up the system is to add new user accounts. Before
discussing the details of how to add new user accounts, it is worth considering a
few general issues.
UniVerse users can work in either of two environments, the UNIX programming
environment or the UniVerse database management environment. The difference
between the two environments has some implications for how you assign user
accounts, particularly if you plan to implement a protection scheme in which all
files and commands are not available to all users.
This chapter describes how to add new UniVerse accounts and how to maintain
existing accounts. It covers the following topics:
• How to create a UniVerse account, and how to carry out additional proce-
dures that make the account function properly in either the operating
system or the UniVerse environment
• How to delete a UniVerse account
• How to customize a UniVerse account
When you first install UniVerse, the UV account is created. One of your first tasks
after starting up the system is to add new UniVerse accounts.
How you create an account depends on whether you are administering a UNIX
server or a Windows NT server.
Deleting an Account
Choose the Accounts option from the UniVerse Admin Control Panel to delete a
UniVerse account. How you delete the account depends on whether you are
connected to a UNIX or a Windows NT server.
Each record has two fields. The second field specifies one of the six different
flavors: IDEAL (UniVerse), INFORMATION, PICK, REALITY, PIOPEN, or IN2.
The first field specifies one of the following codes:
Code Description
C The user is prompted to choose an account flavor when creating or
updating an account.
F The account is automatically assigned the flavor designated in field 2.
N The user cannot create or update an account.
GROUP.users F PICK
OTHER C
GROUP.demo F NEWACC
To prevent users creating or modifying an account, create an entry for them in the
UV.FLAVOR file and set the access code to N.
To use a custom flavor, create an entry in the UV.FLAVOR file for users who will
use the flavor, and set the access code to F. Enter the custom flavor name in field 2
of the UV.FLAVOR file.
Note: The VOC file defines the UniVerse account. The contents of the VOC file
limits access to commands and files in a UniVerse account. Users cannot
access any files or commands not defined in the VOC file of the account
they are working in.
This LOGIN entry uses PTERM to set terminal characteristics, and it uses the
UniVerse UMASK command to set the default file permission mask. These
commands have the same function as the UNIX commands stty and umask.
Many of the functions performed by the LOGIN entry are identical to those
performed in the UNIX .profile file. For example, the stty command in .profile
determines which keys perform erase, kill, interrupt and quit operation on the
user’s terminal:
stty erase '^H' kill '^U' intr '^?' quit '^_' -tabs ff0 cr0 nl0
Login Shell
Initialization
Specified in User logs in… User logs out…
Files
/etc/passwd
/usr/ardent/uv/ LOGIN Directly to UniVerse. To a UNIX login shell.
bin/uv
/bin/sh .profile To a UNIX Bourne To a UNIX login shell.
shell.
/bin/sh .profile To UniVerse. The To a UNIX login shell.
containing UNIX login is trans-
exec uv parent to the user.
/bin/csh .cshrc To a UNIX C shell. To a UNIX login shell.
.login
Login Shell
Initialization
Specified in User logs in… User logs out…
Files
/etc/passwd
/bin/csh .cshrc To UniVerse. The To a UNIX C shell.
.login UNIX login is trans-
containing uv parent to the user.
command
Note: If users interrupt execution of the .profile or .login file (for example, by
pressing the Break key) before the uv command is executed, they are left
in a UNIX shell.
NEWACC Files
The NEWACC file in the UV account contains the different VOC file templates for
each flavor of UniVerse. These templates are stored as multiple data files of the
NEWACC file. Each data file is a fully configured VOC template whose name
corresponds to the flavor. To list the contents of the data file containing the
template for IDEAL flavor VOC files, enter either of the following commands
from the UV account:
>LIST NEWACC
>LIST NEWACC,NEWACC
To list the contents of the NEWACC template for INFORMATION flavor VOC
files, enter:
>LIST NEWACC,INFORMATION
The VOC file can reference a particular VOC template as a single data file by
using its full pathname in field 2 of the File Definition record. See the File Defini-
tion record for NEWACC in the VOC file in any UniVerse account other than the
UV account. For example, this VOC entry points to the NEWACC template for
PICK flavor VOC files:
NEWACC
001 F File
002 /usr/ardent/uv/NEWACC/PICK
003 /usr/ardent/uv/D_NEWACC
----: I
0001=X
0002=My own custom UniVerse flavor
0003=
Bottom at line 2
----: FI
"MY.FLAVOR" filed in File "DICT UV.FLAVOR"
Using acct.restore
The syntax for acct.restore is as follows:
acct.restore [ options ]
options are as follows:
Using magrst
The syntax for magrst is as follows:
magrst [ options ]
options are as follows:
– Reads input from standard input.
–a pathname Reads input from the specified UNIX pathname. pathname is the
full UNIX pathname.
–d Reads input from a device other than a tape.
−n Creates files with a default separation of 4 (each group buffer holds
2048 bytes). Use this option when you are transferring accounts
from systems such as ADDS Mentor or PICK 370, where a separa-
tion of 1 means 2K bytes instead of 512 bytes.
–s Used with the tapein filter. Sends the appropriate signals back to
the tapein filter so tapein can prompt for the next volume of input
and exit cleanly after magrst finishes.
–t device Reads input from a tape device defined in the &DEVICE& file.
device is the ID of the entry in the &DEVICE& file. See “The
&DEVICE& File” on page 10-1 for information about the
&DEVICE& file.
–18 Restores dynamic files as type 18 files.
–19 Restores type 1 files as type 19 files.
–634 Restores tape using old SAM file code.
If you specify the acct.restore or magrst command without any arguments, the
command uses MT0 as the default tape device.
Using pqic
The pqic utility is a filter that decomposes Prime T.DUMP images. The pqic utility
uses the 4-byte header to determine how many bytes of data are present. Then it
writes the data to the standard output channel. After you run the pqic utility, you
store the results in a file. Then you run the UniVerse T.LOAD utility to read from
the file and store the data in a UniVerse data file.
Cartridge tapes made on a Prime 50 Series machine using the T.DUMP utility are
written using the Prime 2350/2450 QIC stream tape format. The UniVerse
T.LOAD utility does not recognize this format and cannot read these images.
To run pqic, you must know the tape device name. Do the following to run pqic:
1. Log in to the UniVerse machine.
2. Be sure that you have the UniVerse bin directory in your path.
3. Put the tape in the tape drive.
4. Check that you have write permissions to the directory where pqic results will
be written.
Running T.LOAD from a File. Before running T.LOAD, you must set up an
&DEVICE& entry to access the pqic.results file. Specify a device type of O (for
Other) in field 4, and specify the full pathname of the pqic.results file for the device
pathnames (rewind and no rewind (fields 6 and 7)).
Once the device entry has been defined, use the ASSIGN command to assign
control of the newly defined device for use with the T.LOAD command.
Note: If you use the LONGNAMES ON mode to create long filenames, it may
result in files that are not portable from one UNIX system to another.
A typical use of rmv.lbl would be in a script that creates UNIX disk files containing
just the data area of the ACCOUNT-SAVE tape, using dd to strip off the leading
EOF marks, and rmv.lbl to remove the labels, as follows:
dd if=/dev/rstp/0nn ibs=8192 >/dev/null Remove leading EOF
dd if=/dev/rstp/0nn ibs=8192 >/dev/null Remove the head file
dd if=/dev/rstp/0nn ibs=8192 | rmv.lbl -s80 >diskfile1
dd if=/dev/rstp/0nn ibs=8192 | rmv.lbl -s80 >diskfile2
.
.
.
[etc. for each successive tape]
acct.restore -a diskfile1
–apathname Reads input from the specified UNIX pathname. pathname is the
full UNIX pathname.
–bblocksize The input block size for the ib option of the dd command. For
1/2-inch tape input, blocksize should be larger than the largest
physical block on tape. For other devices the most likely value
would be 512 bytes. The default is 8192, which should be correct
for most 1/2-inch tapes.
acct.restore.exe [ options ]
magrst.exe [ options ]
For example:
d:\> magrst.exe -t MT0
If you use acct.restore.exe or magrst.exe without any arguments, the executable uses
MT0 as the default tape device.
If acct.restore.exe is run by tapein.exe, it does not prompt the user when an error
condition exists, such as unrecognized data or a file cannot be opened. It ignores
the data or error and continues with the restoration.
If the MAGSAV tape is constructed on a PRIMOS environment of Release 20 or
beyond, you must specify the –NO –ACL option of the MAGSAV command. This
makes tapes that are compatible with Release 18. At Release 21, you must also
specify the –REV19 option to create tape formats compatible with Release 19.
UniVerse does not support tape formats compatible with Release 20 or later
formats.
Using uvmt.exe
The uvmt executable is in the bin directory of the UV account directory. Use
uvmt.exe to restore accounts from a tape created on an IN2 system to a
Windows NT system.
You must run this executable from an MS-DOS window. It has the following
syntax:
–ddevicename Reads input from the tape device. For example: \\.\tape0.
–bblocksize The input block size. For 1/2-inch tape input, blocksize should be
larger than the largest physical block on tape. For other devices
the most likely value is 512 bytes. The default is 512, which
should be correct for most 1/2-inch tapes.
–c Specifies that the device is a cartridge tape device. This is the
default setting.
–t Specifies that the device is a magnetic tape device.
command can be one of the following:
Restoring IN8000 Tapes. To restore tapes created on an IN8000 machine (in SMA
format):
1. Rewind the tape using the following command:
uvmt -d\\.\tape0 -b512 -c rew
If the tape contains multiple accounts, the –norew option should be included in the
tapein.exe command line. This stops the tape from rewinding at the end of the first
account restoration.
For example, for a tape with two accounts:
1. Restore the first account using these commands:
uvmt -d\\.\tape0 -b512 -c rew
uvmt -d\\.\tape0 -b512 -c fskip
uvmt -d\\.\tape0 -b512 -c fskip
tapein.exe -p$UVHOME\bin\acct.restore.exe -f\\.\tape0 -b512 -i
-c -r -norew
2. Restore the second account using these commands:
uvmt -d\\.\tape0 -b512 -c fskip
tapein.exe -p$UVHOME\bin\acct.restore.exe -f\\.\tape0 -b512 -i
-c -r
Note: The uvbackup and uvrestore commands must use the relative pathname in
the syntax for the restoration of the accounts to work when restoring them
onto a Windows NT system.
On Windows NT systems:
On Windows NT systems you maintain system security using the Windows User
Manager. On UNIX systems you maintain system security using the Accounts
option of UniVerse Admin and setting UNIX file permissions with the umask and
chmod commands.
This chapter describes how to implement system security only on UNIX systems.
For information about system security on Windows NT systems, see your Micro-
soft Windows NT documentation.
Security Overview
Security on the UNIX operating system is configurable by installation and by
user. Basic file protection is provided by mode information associated with each
file when it is created. This mode information specifies permission to read, write,
or execute the file. Permission is specified independently for the owner of the file,
for members of the owner’s group, and for all other users.
The user password and the file permission mask in the user’s .profile file, .login
file, or the UniVerse account’s LOGIN entry are the chief mechanisms by which
security is implemented.
In addition to the standard UNIX security mechanisms, security can be added to a
UniVerse account. This includes editing the VOC file, restricting access to it, and
controlling users’ access to specific commands.
UniVerse SQL tables have their own security mechanism. UniVerse SQL security
is described in UniVerse SQL Administration for DBAs.
Note: The root and uvadm accounts should be assigned passwords. The root pass-
word is important because root has essentially unlimited access to all
system resources. An untrained user logged in as root can do a great deal
of damage.
Assigning a Password
You can assign a new password when you create the account, or you can let the
user select a password. In either case the following description outlines the pass-
word assignment procedure. You can assign passwords from either a UNIX shell
or a UniVerse account.
Defining Groups
Defining groups is a two-step process:
1. Define the group name and its associated group ID number.
2. Assign the group ID number to each user.
You can use the System Administration menus to define group names and ID
numbers and to assign group ID numbers to users (see “Maintaining Users and
User Groups” on page A-14).
Group permission is an important part of file system security in the UniVerse
environment. Unlike standard UNIX accounts, which normally belong to indi-
vidual users, UniVerse accounts are often used by a group of people performing
the same function. It therefore may make sense for the users of the same UniVerse
account to be defined as members of the same UNIX group.
One useful option is to create a set of related UNIX login accounts. For example,
assume that you have a sales department whose members want to share the same
UniVerse account. However, they would also like to have private files. You might
make the following entries in /etc/passwd:
sales::100:24:Sales dept:/u1/sales:/usr/ardent/uv/bin/uv
jim::101:24:Jim Hunter:/u1/sales:/usr/ardent/uv/bin/uv
markj::102:24:Mark Green:/u1/sales:/usr/ardent/uv/bin/uv
The following entry is added to /etc/group:
sales::24:sales,jim,mark
Note: If you use the System Administration menus to change file permissions,
ownership, or group ownership on a UniVerse account, the changes are
applied to all files and subdirectories in the account directory.
Note: If you want to create a secure installation in which only privileged users
have access to the underlying UNIX operating system, you must define
/usr/ardent/uv/bin/uv as the account’s login shell. If uv is invoked from a
.profile file, interrupting the execution of the .profile (for example, by
pressing the Break key) leaves the user in a UNIX shell.
Security Subroutines
VOC entries that point to remote items provide a mechanism for controlling
access to certain commands. You can specify a user-supplied subroutine in field 4
of remote-type VOC entries. Such a subroutine sets a flag that permits or restricts
access to the remote item. The UniVerse command processor checks the flag
returned by the subroutine accessing the remote item.
A security subroutine must be set up for seven arguments.
SUBROUTINE security ( remote, sentence, level,port, acct,log, flag)
remote The contents of the VOC entry for the remote item being executed.
sentence The value of @SENTENCE (the command which invoked the remote
item).
level The following values are set:
0 Command processor
1 Execute
2 Execute of execute
port User’s port number
acct Current account name
log Login name of user
flag The return flag:
1 Permit access
0 Restrict access
Upon return from the subroutine, the command processor checks the return flag.
If the flag is set to 1, the command pointed to by the R-type VOC record is
executed. If the flag is set to 0, access to the command is denied.
An effective way to use security subroutines is to put commands to which you
want to restrict access in the UV account’s VOCLIB file and put remote pointers to
them in users’ VOC files. Then add the appropriate security subroutines to the
new remote pointers.
Certain BASIC statements and UniVerse commands set locks on UniVerse files.
The type of lock determines what a user or process can access while other users
and processes have locks on records or files. You can monitor and clear UniVerse
record and file locks with the UniVerse Admin Lock option, and you can resolve
lock conflicts with the Deadlock option.
An update record lock is incompatible with a shared file lock owned by the same
user.
The update record lock can be escalated as follows:
Allows other users to Prevents other users from Is ignored if the current
acquire: acquiring: user already owns:
Shared record lock Update record lock Shared file lock
Shared file lock Intent file lock Intent file lock
Exclusive file lock Exclusive file lock
Parameter Description
Device A number that identifies the logical partition of the disk where
the file system is located.
Inode A number that identifies the file that is being accessed.
Group Locks
The following information is in the Group Locks list:
Parameter Description
Device A number that identifies the logical partition of the disk where
the file system is located.
Inode A number that identifies the file that is being accessed.
Net A number that identifies the host from which the lock originated.
Zero (0) indicates a lock on the local machine.
User# The user ID.
Clearing Locks
You can clear a single file, record, or group lock, or all the locks for a specified
user using the Lock Administration window.
To clear a file or record lock:
1. Select the lock from the File/Record Locks list.
2. Click Clear Lock. The Lock Administration window is updated.
To clear a group lock:
1. Select the lock from the Group Locks list.
2. Click Clear Group Lock. The Lock Administration window is updated.
To clear all the locks for a specified user:
1. Click User Id… . The Clear User Locks window appears.
2. Enter the user ID in the User Id field.
3. Click OK. The Lock Administration window is updated.
Note: When the deadlock manager process is running, you cannot manually
resolve deadlocks, and the Resolve button is grayed out. If you shut down
the deadlock manager, click Refresh to select and resolve deadlocks
displayed in the Dead Locks Pending box.
To specify dead lock resolution parameters at startup time, select the Specify start
parameters check box and click Enable.
The following information appears in the Configure Dead Locks dialog box:
location is the location of the deadlock log file (the default is uvhome/uvdlockd.log).
–query generates a report based on a one-shot analysis of the lock-waiter tables
and any detected deadlocks.
This chapter describes how to configure peripheral devices such as tape drives
and terminals. It also helps with solving some of the problems that can occur with
these peripherals.
Chapter 11 describes how to configure printers.
Note: How you define a new tape drive depends on whether you are connected
to a UNIX or a Windows NT server.
3. Enter the name of the new tape drive in the Tape Name field. This name is
used in various UniVerse commands, such as ASSIGN, to refer to the device.
4. Select one of the following types from the Tape Type list:
• DT (Dflt 9-track)
• DC (Dflt cartridge)
• T (9-track)
• C (Cartridge)
• F (Floppy)
5. (Optional) Enter a brief description of the tape drive in the Description field.
6. Enter a file pathname in the No Rewind field (for example, /dev/rmt0n). You
can use Browse… to search the system for a suitable file. A no-rewind tape
drive does not rewind when closed.
7. Enter a file pathname in the Rewind field (for example, /dev/rmt0). You can
use Browse… to search the system for a suitable file. You cannot use the same
pathname as the one for No Rewind option. A rewind tape drive rewinds
when closed.
Note: Be sure to assign the correct access permissions to the device. You can
set permissions for a device with the UNIX chmod(1) command.
8. (Optional) Enter the name of a lock file in the Lock File field. You can use
Browse… to search the system for a suitable directory.
When a device is shared by UniVerse and UNIX system processes, it needs a
special lock file that coordinates access to the device when more than one
process tries to access it. This field contains the UNIX pathnames used to
implement the locking protocol used by the Universe spooler and UNIX facil-
ities such as the spooler and uucp. This field is usually empty for tape devices
but can be used to display ownership information. For information about the
form of the lock filename for a system, see the UNIX reference manual for the
process that is sharing the device.
9. (Optional) If your system runs with NLS enabled, enter the name of a char-
acter set map for the device. For information about maps, see UniVerse NLS
Guide.
10. (Optional) Click Test Tape… if you want to run the tape device testing
program to determine the following:
• Where to allow the tape mode to change from read to write mode
• What action to take when a tape file that is opened for read is closed
• If a second read call at the end-of-file should return the end-of-file condi-
tion again
If you run the tests, their results are automatically filled in for you. If you do
not run the tests, you can fill in your own values for these fields.
Note: Most Berkeley device drivers work with Read/Write Position set to A
or E. Most System V device drivers work with Read/Write Position set
to L or E.
12. Set any of these flags by selecting the appropriate check boxes:
• Close On Read. This flag determines the action taken when a tape opened
for reading is closed. If selected (the default setting), the tape moves
forward to the beginning of the next file. If clear, the tape does not move
forward. Most 1⁄4-inch tape devices use Close On Read. This field is auto-
matically updated with a suitable setting if you use the Test Tape… button.
Note: Most Berkeley device drivers work with this flag turned off. Most
System V device drivers work with it turned on.
• Multiple Read at EOF. This flag specifies the behavior of the tape when
end-of-file (EOF) is reached. If selected (the default setting), the second
read also returns EOF. If clear, the second read reads the next block/record
after EOF. Most 1⁄4-inch tape devices use Multiple Read at EOF. This field is
automatically updated with a suitable setting if you use the Test Tape…
button.
Note: Most Berkeley device drivers work with this flag turned off. Most
System V device drivers work with it turned on.
• Add To Rotating File Pool. If this flag is selected, the device is included in
the rotating file pool. The default setting is clear.
13. Enter a block size in the Default field. This is the block size used for normal
tape operations. It is needed only if the device is for cartridge tape (types DC
and DT) or diskette (type F).
For diskettes the default block size is 500. Do not change this setting; any
other block size can cause problems.
3. Enter the name of the new tape drive in the Tape Name field.
4. Select one of the following types from the Tape Type list:
• DT (Dflt 9-track)
• DC (Dflt cartridge)
• T (9-track)
• C (Cartridge)
• F (Floppy)
5. Enter a description of the tape drive in the Description field.
Note: On a UNIX system, suitable entries are also determined for the Backup
and Restore UNIX shell command fields.
Settings found for these fields are automatically updated after the tests have been
completed, overwriting any previous settings. Click OK to save the new
definition.
Note: The procedures for defining new terminals may differ from system to
system. See your UNIX system administration manuals for detailed
instructions.
Note: On some UNIX systems login reads a file called /etc/ttytype to determine
what kind of terminal is attached to a given terminal line and sets up the
TERM variable accordingly. The file contains two columns, the first lists
the terminal type and the second lists the terminal line name. On other
systems, the default terminal type may be specified in the /etc/inittab file.
Capabilities defined in a terminfo source file are divided into three classes:
• Numeric
• Boolean
• String capabilities (strings and parameterized strings)
For more information about terminfo capabilities, with examples, see Appendix C.
This is the terminfo definition for a vt100 terminal with two associated names,
vt100 and vt100-am. You should first change the name line so that any modifica-
tions you make do not overwrite the original definitions. To change the name,
modify the first line in the definition so that it has a unique name, and eliminate
any aliases:
myvt100|Testing new terminfo for vt100,
If you are creating a terminfo definition that does not match your base definition,
make sure all the capabilities you are not going to change match the capabilities of
the terminal you are defining. Do this by checking the terminal’s manual against
the definitions, or by testing the capabilities themselves.
Option Description
–d Lists all capabilities that are different in both entries.
–c Lists all capabilities that are the same in both entries. Unset
capabilities are ignored.
–n Lists capabilities that are in neither entry. Use this as a quick
check to see if anything was left out of the description.
Configuring Printers
Choose the Devices option from the UniVerse Admin Control Panel to add,
modify, and delete printer definitions on a UNIX system. The &DEVICE& file and
sp.config file are automatically updated with your changes.
Note: On a Windows NT system, you must configure all printers using the
Windows NT Print Manager. You cannot use the Devices option of
UniVerse Admin to configure printers if you are connected to a
Windows NT system.
4. Enter the name of the new printer in the Printer Name field.
5. (Optional) Enter a description of the printer in the Description field.
6. Select a suitable baud rate from the Baud Rate list. The default is 9600.
7. To mount a form on the new printer, enter a name in the Form field.
Note: To mount more than one form on the printer, use the usa command.
2. Enter the name of the new group in the Printer Group field.
3. Under Users in Group, click Add… . The Add User dialog box appears.
4. Select the users to add from the Users list.
Note: Using UniVerse Admin, you can mount only one form on a printer. Use
the usa command to mount more than one form on a printer.
To remove all currently mounted forms from a printer, follow the steps to mount a
form, but do not enter anything in the Enter form name field.
The UNIX shell command for mounting and aligning forms on a printer is as
follows:
Note: The Spooler option is not available when you are connected to a
Windows NT server.
Menu Bar
The menu bar has four pull-down menus:
Menu Description
Printer Manages printer groups, mounts forms, defines printer characteris-
tics, and exits the Spooler window.
Job Modifies the characteristics of a chosen print job. This menu is avail-
able only when you select a print job.
Spooler Configures, resets, starts, and stops the spooler, and also views log
files.
Help Invokes the Help system.
Field Description
Printer Shows the name of a chosen printer. You can select any printer
from the list, which includes all the printers defined in the
&DEVICE& file.
Printer Status Displays the current state of the chosen printer (whether
printing is enabled or disabled).
Queuing Displays whether queuing is enabled or disabled for the
chosen printer.
Form Shows the name of a mounted form.
Jobs List
The Jobs list contains all the queued print jobs for the chosen printer. The
following information appears for each entry:
Column Description
Job# The job ID number, assigned when the print job is created.
Job Description A description of the print job.
User The name of the user who issued the print command.
Pri The priority number of the print job. The lower the number,
the higher the priority.
Form The name of an attached form on which the job must be
printed. The same form must be mounted on the printer.
Size The size (in bytes) of the print job.
Cps The number of copies to be printed.
Status The current status of the print job. Hold indicates that the
print job is being held. Wait indicates that the job is queued.
Active indicates that the print job is currently being printed.
If the status is followed by &, a copy of this file has already
been printed. If the status is followed by *, the print file will
be held after being spooled.
Delay This field is blank if no delay has been set or if the delay
period has been exceeded. This field counts down the
amount of delay time.
Button Description
Refresh Refreshes the Jobs list with current printer information.
Modify… Displays the Modify Job Characteristics dialog box, which
allows you to modify the characteristics of the chosen print job.
Suspend Interrupts printing by suspending the chosen print job. All
other print jobs are queued until the suspended print job is
continued.
Continue Continues printing a previously suspended print job.
Hold Puts the chosen print job in the Hold state. The print job
remains in the queue until it is released, reprinted, or killed.
Release Releases and prints a job in the Hold state.
Reprint Sets the Retain After Printing flag and releases a job for
printing.
Kill Kills the chosen print job, removing it from the queue.
You can change the following information that the spooler uses to communicate
with the system:
• Location of the spooler directory
• Order of print jobs
• Spooler response time
• Pathnames of log files
• Enabling spooler log files
After you make the changes you want, click OK. The new settings are saved in
the uv.rc file.
You can also make these changes using the UNIX shell command usd. For more
information about usd, see UniVerse User Reference.
Note: To use the new settings, you must stop and restart the spooler.
Enabling Logging
The Logging Enabled check box determines whether logging is active. Select this
check box to enable logging to the error log file and the activity log file. The
default setting for this option is cleared (logging disabled).
Specifying a Printer. You can specify a printer to output to by selecting one from
the Printer Name list. The printers defined in the &DEVICE& file are listed here.
The UNIX shell command is usm −p printer print.job.
Attaching a Form. The Form Name field contains the name of a form if one was
specified when the print command was issued. You can attach a form to a queued
print job by entering the form name in the Form Name field.
Note: The name entered must match the name of a form attached to a printer.
Otherwise the print job is not printed.
Setting the Job Priority. The highest job priority is 1 and the lowest is 255. Use
the arrows to change the priority or enter a number in the Priority field. The
UNIX shell command is usm −P priority print.job.
Specifying When to Print. You can define the time at which you want a print job
to print. This can be done in two ways:
• Delay By. This option specifies the relative time, for example, delay
printing until 4 hours from now. This is the default setting.
• Defer Until. This option specifies the absolute time you want the spooler to
print the job, in hours and minutes.
The delay time must be entered in the Hours and Mins fields. These fields are
blank by default, that is, there is no delay period.
The UNIX shell command is usm −t delay print.job.
Specifying the Pages to Print. You can print all pages in the print job or only
those in a selected range. The default setting for the pages to print option is All.
Specifying the Lines to Print. You can print all lines in a print job or only those
in a specified range. The default setting for the lines to print option is All.
To print a range of line numbers:
1. Click the Lines option.
2. Enter the line number where you want printing to start in the From field.
3. Enter the line number where you want printing to end in the To field.
The UNIX shell command is usm −y start.line [ –end.line ] print.job.
Retaining a Job After Printing. You can retain a print file after it has been
printed by selecting the Retain After Printing check box. The print file is retained
in the Hold state, which you can release or reprint later.
This flag is set automatically when you choose to reprint a job.
Note: Once this flag has been set, it is permanently active and the Retain After
Printing option is grayed out on the Modify Job Characteristics dialog
box. The print job is then held in the queue in a permanent Hold state, and
you must kill it to remove it from the queue.
Killing a Print Job. You can remove (kill) a print job from the queue at any time.
If the print job is actively printing, the print job ends prematurely, and the
contents of the printer buffer are printed out. To kill a print job:
1. Select the print job from the Jobs list.
2. Do one of the following:
• Click the Kill button.
• Choose Job ➤ Kill Job.
The UNIX shell command is usm −k print.job.
Holding a Print Job. You can hold any print job that is not actively printing. The
print job is then held with a status of Hold, and is printed when it is released or
reprinted. To hold a print job:
1. Select the print job from the Jobs list.
2. Do one of the following:
• Click the Hold button.
• Choose Job ➤ Hold Job.
You can also retain a print file in a Hold state after printing it by selecting the
Retain After Printing check box on the Modify Job Characteristics dialog box.
A print file is also retained in a Hold state if you choose to reprint a job.
The UNIX shell command is usm −h print.job.
Releasing a Print Job. When a print job is held in the queue (with a Hold
status), you can release it for printing as follows:
1. Select the hold file from the Jobs list.
2. Do one of the following:
• Click the Release button.
• Choose Job ➤ Release Job.
The released print job is printed (when a printer becomes available) and
removed from the queue.
Reprinting a Print Job. When you click Reprint, the Retain After Printing flag
is set for the chosen job and the file is released for printing. The print file is
retained in the queue in a Hold state, and you can reprint the job again or kill it to
remove it from the queue. To reprint a file:
1. Select the file from the Jobs list.
2. Do one of the following:
• Click the Reprint button.
• Choose Job ➤ Reprint Job.
Suspending a Print Job. If a print job is actively printing, you can suspend it
until you are ready to continue printing. To suspend an active print job:
1. Select the active print job from the Jobs list.
2. Do one of the following:
• Click the Suspend button.
• Choose Job ➤ Suspend Job.
The print job remains in a suspended (Wait) state until you continue printing.
All other print jobs to the printer are also queued until the suspended print
job is continued.
The UNIX shell command is usa −p printer −b.
Note: In both cases, only the last 16K bytes of the log file are displayed.
Moving the Spooler Directory. You may find that the /usr partition is too small
to handle many large print files. You can solve this problem by moving the
UniVerse spooler directory to a partition with more space.
Note: This directory must already exist and have permissions rwxrwxrwx.
Changing this parameter directs print files generated in the UniVerse
environment and by the usp command to the specified directory.
CAUTION: Do not edit the usplog file. It contains information the spooler
daemon uses when it restarts after a normal or abnormal system
shutdown. The information in usplog ensures that the spooler
restarts in more or less the same state it was in when the system
shut down.
You can create additional files to log spooler activity. See “Logging Spooler
Activity”on page 11-20.
usd (parent)
uv0031975892aa
/dev/tty03
std.in pipe
usd (child) enscript std.out
uv0031975892aa
/dev/tty03
Note: The remote or network shell command may be nsh, rsh, or remsh. If rsh is
the remote shell command, be careful to specify the path for rsh to ensure
that the remote shell, not the restricted shell, is used. Both executables are
named rsh.
usd shell
uv0031975892aa
/dev/tty03
Note: rcmd is a UNIX TCP/IP remote execution command that may be spelled
differently on different machines.
Contents of /usr/spool/uv/remprint.drvr:
/usr/bin/rcmd $5 usp -F $6 -h -e
Printing Problems
This section describes possible causes (and solutions) when jobs do not print.
Missing Files After Moving the Spooler Directory. If you have moved the
spooler directory, check that you have performed all the steps outlined in
“Moving the Spooler Directory” on page 11-23.
Verify that the spooler directory has sufficient permissions. All users need permis-
sions to write print files into the spooler directory. The permissions should be as
follows:
# ls -ld /usr /usr/spool /usr/spool/uv
drwxr-xr-x 33 root 2048 Apr 11 14:34 /usr
dr-xr-xr-x 17 root 2048 Sep 1 12:29 /usr/spool
drwxrwxrwx 2 root 2048 Sep 1 17:35 /usr/spool/uv
If you see the following messages in the error log file, it is likely that the sp.config
file or the usplog file is missing:
usd: daemon: cannot find sp.config
usd: cannot open daemon log file (usplog)
Suspended Print Job. If a print job has been suspended, the other print files in
that queue are not printed (made active) until the suspended job is continued or
killed.
In the following example, the status for a suspended job is susp:
# usa
Printer: lp Q: on P: on Form:
Job # Job description User name Pri Forms Size Cps Status Delay
00020 sp.config root 30 118 1 susp
00021 passwd root 30 3718 1 wait
To free up such a queue, use the following UNIX shell command to put the
suspended job into a hold state:
# usm -h job.no
Mismatched Form Names. If you are using forms, you must ensure that a form
mounted on the printer matches that specified for a print job. If the form names
do not match, or if you have specified a form for the print job, but it is not
mounted on the printer, the print job will never go active.
Check the Form field on the Spooler window and the Form column for a print job.
If these do not match, do one of the following:
• Change the form on the printer. See “Managing Printers” on page 11-8.
• Change the form associated with the print job. See “Attaching a Form” on
page 11-16.
Particular Print Queue Was Specified. If the print job was spooled to a partic-
ular print queue with SETPTR,,,,,AT PRINTER name, it does not print on another
queue unless it is redirected. To direct a print job to a different queue:
1. Select the print job from the Jobs list and click Modify… . The Modify Job
Characteristics dialog box appears.
2. Select a different printer from the Printer Name drop-down list.
3. Click OK.
Or use the following UNIX shell command:
# usm -p new.queue job.number
If you see this error, you need to disable the printer, check that the driver file
exists, and then reenable the printer.
To disable printing, choose Printer ➤ Allow Printing from the Spooler window.
Note: If you have removed a printer definition and restarted the spooler, the jobs
queued on that printer are lost.
Note: “Specify SETPTR NOHEAD, But Still Get Header” is a variation of the
same problem.
“Using the UNIX Spooler with the UniVerse Spooler” on page 11-32 describes
how to print to the same device from both UNIX and UniVerse spoolers. The lp
model script is modified to respect the UniVerse locking protocol, the lock.device
file.
“Using a Driver for Remote Printing” on page 11-29 describes how to print to
other printers on the network.
See “Logging Spooler Activity” on page 11-20 for details on how to create and
maintain spooler log files.
Log files grow. If logging is enabled, remember to purge the files occasionally, or
turn off logging when the information is no longer needed.
You can use an alternative to spooler logging for one queue that uses a driver
script. The following driver captures start and stop times for a print job and can
be modified to do more:
echo start 'date' >> logfile
cat -
echo stop 'date' >> logfile
This chapter first suggests some backup strategies, which you can adopt or
modify as needed. It then describes the file backup and restoration procedures.
Users accidentally remove their files. Open files are sometimes lost when the
system crashes. It is possible to destroy an entire file system. To protect against
such problems, you should regularly back up all disk files to an offline storage
medium.
How frequently you back up your files depends on how many files users create or
change in a specific time span, and on how much data you can afford to lose.
Backup Strategies
You should design a backup strategy that suits your needs. You must weigh the
trade-offs between the possibility of losing data and the amount of time it takes to
back up and restore files.
The backup strategies described here assume you are using the UVBackup and
UVRestore windows of UniVerse Admin, or the uvbackup and uvrestore commands
from a UNIX shell or an MS-DOS window.
UniVerse provides three kinds of backup (see Figure 12-1):
• Daily
• Weekly
• Full
FULL backup: all UniVerse and O/S files, whether changed or not
MONTHLY
Full backup
AS NEEDED
User A
User B
User C
Directory A
Directory B
File A
File B
File C
File D
Backing Up Files
To back up files, choose Backup from the UniVerse Admin Control Panel. The
UVBackup window appears:
2. Enter a value in the Block Size field. It must be a multiple of 512. You can also
use the arrows to increase or decrease this setting. The default setting is 8192.
3. Choose the backup type by clicking the appropriate option:
• Full
• Weekly
• Daily
4. Choose what to report on the screen during the backup by clicking the appro-
priate option:
• None. No reporting is done during the backup. However, you are notified
at the start and end of the backup.
• File Level. The pathnames of the files appear on the screen during backup.
• Item Level. The pathnames of the files appear, and for UniVerse hashed
files, the names of records also appear.
All reported output appears in the UniVerse Command Output window.
5. Enter a short description of the backup in the Backup Label field. This
description helps to identify the backup image when you restore the data.
Note: The –rev95 option makes a backup suitable for restoring only to UniVerse
Releases 9.5.1 through 9.5.1C.
Use the –s option with the –v or –V option to specify a file for capturing screen
output.
Use the –t option to specify the device to which to write backup data. Use
multiple –t options to specify a series of devices.
Use the −limit option to specify how many shared memory buffers to use for the
backup. Use the −delay option to specify how many shared memory buffers to fill
before flushing the buffer contents to the backup image on tape or disk. Use the
−cachedetail option to list details about the shared memory cache.
Use the −v option to display pathnames, or use the –V option to display path-
names and record IDs as they are backed up.
The next example backs up records that have changed in all UniVerse hashed files
in the /usr/work directory and its dependencies:
$ find /usr/work -print | uvbackup -d -v - > /dev/rmt/0
Restoring Files
To restore files from a backup, choose Restore from the UniVerse Admin Control
Panel. The Restore Device window appears:
Use this window to choose the restore device and to check the backup details.
When you have chosen the restore device and confirmed that the backup details
are correct, the UVRestore window appears. From this window you can:
• Choose the level of reporting
• Choose what to restore
• Edit the restore selection
• Generate an index of the backup
• Specify how to restore the files
• Start the restoration
2. If you are restoring from a tape device, check that the backup tapes have been
mounted on the selected devices.
3. Click Continue. The Check Backup Label window appears, and you must
check the backup details.
If you are restoring from tape, this window contains the backup details for the
first device in the Selected Devices list.
This window displays the following backup details:
• Backup Date. The date and time the backup was performed.
• Reel Number. The tape number. If you backed up to a single tape or to a
disk pathname, the value displayed is 1. If you backed up to multiple tapes,
this field displays the number of the tape.
• Compression. The level of compression during the backup. This feature is
not supported at this release, and so this field always displays False.
• Image Type. The backup type.
• Block Size. The block size (in bytes) used for the backup.
• NLS on. The state of NLS when the backup took place.
• Label. The backup label. If you backed up the data using the Backup
option of UniVerse Admin, this is the text entered in the Backup Label field
on the UVBackup window.
Under Backup Details, this window lists the restoration source, the date the
backup image was made, the type of backup, and the backup image label.
The UVRestore window has four main buttons:
• Close. Exits the Restore option.
Note: The items in the Selection list use pathnames on the server file system.
These pathnames must match the pathnames on the tape.
Use this dialog box to define a different item to restore from the backup, to specify
an alternative name or destination for the restored item, or both. This dialog box
has two fields:
• Search For. Contains the record, file, or account details of the item chosen
from the Selection list.
• Restore As. This field is empty when the dialog box appears.
To define a different item to restore, edit the Search For field. To specify an alter-
native name or destination for the item to be restored, edit the Restore As field.
Click OK to update the entry in the Selection list.
If you edited the item in the Search For field, the new item replaces the original
one in the Selection list.
If you chose an alternative name or destination, the Selection list entry is updated
to include an equal sign between the original and new details.
Note: The Selection list items use pathnames on the server file system. You must
be certain that these pathnames match the pathnames on the tape.
Display Options
Use the −i option to list the contents of the backup image without restoring
anything. Use the −ib option to show the blocks in addition to the pathnames.
(Use −ib with the −startb option to start restoring from a particular block.) Use the
−L option to display the image label without restoring anything.
Use the −v option to list pathnames, or use the −V option to list pathnames and
record IDs as they are restored. Use the −l option to display the image label before
restoring files.
Specifying the Backup Image Source. Use the –t option to specify the device or
file from which to read the backup data. You can use multiple –t options to specify
a series of devices or files.
Specifying the Starting Block. Use the −startb option to specify the block to start
restoring from. (Use −startb with the −ib option to start restoring from a particular
block.)
Restoration Options. Use the −n option when you are restoring from a full
backup image to prevent uvrestore from creating files automatically if they do not
exist on disk. Use the −rehash option when you are restoring from a full backup
image to force the rehashing of records as they are restored. Use the −U option if
you want uvrestore to overwrite disk files with the same names as those being
restored. On Windows NT systems, use the −nodrv option to strip the drive letter
from restored pathnames so you can restore files onto a different disk.
Having uvrestore Prompt You. Use the −p option if you want uvrestore to
prompt you before restoring each file or record.
For full details about the uvrestore command, see UniVerse User Reference.
Note: Replication works only with files created or resized on Release 9.4 or later
of UniVerse. To replicate files created on older systems, resize the files first.
Replication
UniVerse data replication provides an automatic and reliable way to deliver read-
only copies of UniVerse files to other UniVerse systems.
The system where the source data resides is called the publisher. A system
requesting copies of file updates from the publisher is called a subscriber.
Subscribing files on a subscriber are read-only. Users logged in to the subscriber
cannot modify the replicated data.
Note: You must configure the publisher and all subscribers before you start
publishing and subscribing, otherwise the replication system will start up
in the crashed state.
Toolbar
The toolbar has eight buttons:
• Publish. Publishes the selected file.
• Subscribe. Subscribes the selected file.
• Unpublish/Unsubscribe. Unpublishes or unsubscribes the selected file.
• Properties. Displays details about the selected file.
• The next four buttons correspond to the four options on the View menu
that control the way the file list is displayed.
Left Pane
The left pane lists the following:
• The host name of the computer system UniVerse Admin is connected to.
• A list of all accounts containing currently published UniVerse files. If the
traffic signal icon is red, publishing is uninitialized. If it is green, publishing
is enabled.
• A list of all accounts containing currently subscribing UniVerse files. If the
traffic signal icon is red, subscribing is uninitialized. If it is green,
subscribing is enabled.
• A list of all UniVerse accounts on the system UniVerse Admin is connected
to.
Right Pane
The right pane lists the following:
• If Publishing or Subscribing is selected in the left pane, all UniVerse
accounts with published or subscribing files
• If Accounts is selected in the left pane, all UniVerse accounts with publish-
able or subscribable files
Note: A special case of subscribing called hot standby lets you track
updates to published UniVerse files on a subscribing system and
make those subscribing copies into fully read/write files in the
event that the primary publishing system becomes temporarily
unavailable.
2. Specify the log file directory by entering the pathname of an existing directory
in the Log/Info Dir. field. You can also use Browse… to search the system for
a suitable directory.
The log directory contains the log files that store updates to published files
before they are sent to subscribers for replication. The log directory also
contains an information log file.
Note: Use the publishing information file only for debugging. For details
about the publishing information file, see “The Publishing Informa-
tion File” on page 13-15.
7. (Optional) To start the publishing service at boot time, select the check box at
the bottom of the dialog box.
8. Click OK to save your changes and exit the Publishing Config dialog box.
Click Cancel to exit the Publishing Config dialog box without saving changes.
Publishing Files
You can publish:
• One file at a time
• Selected files
• All files in an account
3. (Optional) Select Publish next to Dictname if you want to replicate the file
dictionary as well as the data file.
4. (Optional) Enter a description of the file in the Desc field.
5. By default all subscribing systems can access any files you publish. To restrict
access to a finite list of published files, add a system name to the Access List:
a. Click Add… . The Add System dialog box appears.
Type Description
File Hashed file (types 2 through 18), B-tree file (type 25), dynamic
file (type 30).
Q Pointer File referenced by a Q-pointer in the VOC file.
2. From the right pane, right-click a file and choose Properties from the menu to
view information about the file. The Publish dialog box appears. This dialog
box displays information about the published file. You can modify the
following:
• Publish file dictionary (check box)
• File description
• Access list
• Subscriptions list
3. Select Publish next to Dictname to replicate the file dictionary as well as the
data file.
4. Enter a description of the file in the Desc field.
5. By default all subscribing systems can access any files you publish. To restrict
access to a finite list of published files, add a system name to the Access List:
a. Click Add… . The Add System dialog box appears.
b. Enter a system name, then click OK.
c. Repeat steps a and b until you specify all systems you want to have access
to the publication.
d. Click OK to exit the Add System dialog box.
6. All files that subscribe to this file are listed in the Subscribing Files list. To
unsubscribe a file, select it and click Remove. If there are no other subscribing
files, logging of file updates ceases immediately.
Unpublishing Files
When you unpublish a file, all subscriptions to that file are cancelled. To unpub-
lish files:
1. Do one of the following:
• To select individual files:
a. From the left pane, double-click Publishing or Accounts (or click the +
sign before it).
b. Select one of the accounts listed. A list of published UniVerse files in
that account appears in the right pane.
To select a range of files, select the first file in the range, then hold
down the Shift key and select the last file in the range.
To select random files, hold down the Ctrl key and select the files you
want to unpublish.
• To select all files in an account:
a. From the left pane, select Publishing or Accounts. A list of accounts
appears in the right pane.
b. From the right pane, select the account whose files you want to
unpublish.
2. Do one of the following:
• Choose Unpublish from the Publishing menu.
• Click Unpublish/Unsubscribe on the toolbar.
• From the right pane, right-click the selected files or the selected account,
then choose Unpublish from the menu.
3. When asked if you are sure you want to unpublish the files, click Yes or No. If
you click Yes, all selected files are unpublished, the filenames are removed
from the Publishing list, and all subscriptions to the files are cancelled.
Note: Use the subscribing information files only for debugging. For details
about these files, see “Subscribing Information Files” on page 13-24.
3. Enter the name of the publishing system in the System Name field.
4. (Optional) Enter a description of the system in the Description field.
5. Select a file update frequency from the Frequency field. This is the number of
minutes to elapse between logging updates. It can be between 1 and 1,440
minutes (24 hours). 1 is the default.
6. (Optional) If you want the subscriber to be the hot standby system for this
publishing system, select Hot Standby. For information about hot standby
operations, see “Configuring a Hot Standby Subscriber” on page 13-25.
7. Click Ok. The publishing system is added to the Systems list.
8. Repeat steps 2 through 7 to add the names of all publishing systems whose
files you want to subscribe to.
9. When you finish, click Close to exit the Publishing Systems dialog box.
Subscribing Files
You can subscribe:
• One file at a time
• Selected files
• All files in an account
3. (Optional) Select Subscribe next to Dictname if you want to subscribe the file
dictionary as well as the data file.
4. (Optional) Enter a description of the file in the Desc field.
5. Click Specify… to display the Available Publications dialog box.
a. Double-click the name of a publisher to list all accounts with published
files.
b. Double-click the name of an account to list all its published files.
c. Click the name of the file you want to subscribe to. Information about the
published file appears at the bottom of the Subscribe dialog box.
Note: Use this dialog box only if the files on the publisher are identical to the
files on the subscriber. If they are not, press Skip and proceed to
step 7.
Type Description
File Hashed file (types 2 through 18), B-tree file (type 25), dynamic
file (type 30).
Q Pointer File referenced by a Q-pointer in the VOC file.
2. From the right pane, double-click a file to view information about the file. The
Subscribe dialog box appears. This dialog box displays information about the
subscribing file.
3. (Optional) Select Publish next to Dictname if you want to subscribe the file
dictionary as well as the data file.
4. (Optional) Enter or modify the description of the file in the Desc field.
5. Click OK to save your changes and exit the Subscribing dialog box. Click
Cancel to exit the Subscribing dialog box without saving changes.
Unsubscribing Files
To unsubscribe files:
1. Do one of the following:
• To select individual files:
a. From the left pane, double-click Subscribing or Accounts (or click the
+ sign before it).
b. Select one of the accounts listed. A list of subscribing UniVerse files in
that account appears in the right pane.
To select a range of files, select the first file in the range, then hold
down the Shift key and select the last file in the range.
To select random files, hold down the Ctrl key and select the files you
want to unsubscribe.
• To select all files in an account:
a. From the left pane, select Subscribing or Accounts. A list of accounts
appears in the right pane.
Note: If you want users to log in to the hot standby subscriber and run their
applications as they run them on the publisher, you must use the same file
and account names on the hot standby subscriber as the ones the publisher
uses.
Note: When reconciling subscribing files with published files, you need at least
the same amount of space as the largest single file you are reconciling. You
may need even more space than that, perhaps as much as twice the size of
the largest file.
Note: You can reconcile only those published files for which a hot standby
subscriber system is configured. You cannot reconcile any files published
from the failed publishing system that were only replicated but not hot-
backed-up.
Some Restrictions
You cannot use the following UniVerse commands or statements on published or
subscribing files:
• ALTER.TABLE
• CLEAR.FILE
• CNAME
• DELETE.FILE
• DROP.TABLE
• RESIZE
You cannot use triggers with published or subscribing files.
13-28 Administering UniVerse
What to Do When Disk Space Fills Up
If replication log files on a publishing system are not regularly cleared, they can
fill up all available disk space. When this happens, the state of replication on the
publisher changes from Enabled to Full, and all published files become
inaccessible.
One reason your log files might fill up is that one or more subscribing systems are
not receiving replicated data for some reason. The publisher’s log files are cleared
only when all subscribing systems have received all replicated data. To resume
replication activity in such cases, you need to fix the problem on the subscribing
system so that it is receiving replicated data again. This clears the publisher’s log
files, thus freeing up disk space. When there is enough space to continue, you can
resume replication.
To resume replication activity:
1. Do one or both of the following:
• Remove unneeded files from the publishing system’s disk to free up disk
space.
• Fix the problem on the subscribing systems so they can continue to receive
replicated data.
2. On the publisher, choose Resume Publishing from the Publishing menu.
3. On the subscriber, choose Start Subscribing from the Subscribing menu.
Note: If you are fixing a problem on a subscriber only, you need not stop the
publishing system on the publisher. Once the subscriber resumes opera-
tion, all of the publisher’s replicated data is sent to it.
One of the more important jobs of the system administrator is to monitor activity
on the system (such as disk use and CPU use) and to deal with bottlenecks and
other potential problems before they impact users. This section describes ways to
find out who is doing what in UniVerse and at the operating system level. This
chapter describes the following:
• How to get information about all current UniVerse processes and jobs
• How to terminate user and phantom processes
• How to examine the use of shared memory
• How to monitor disk usage
• How to monitor CPU response time
• How to monitor error reporting
This window contains a snapshot of the user and background processes at the
time the window was invoked. To view the current user and background
processes, click Refresh.
From this window you can also:
• Send a message to users (see “Sending Messages with UniVerse Admin” on
page 17-1)
• Terminate a process (see “Terminating a Process” on page 14-4)
The UniVerse User Administration window is divided into two main areas:
• Interactive Users
• Background Processes
Parameter Description
Pid The process ID. On a Windows NT system this is the
UniVerse user number. It is the same as the value
shown in the User # column.
User Name The user’s login name.
User # The user’s UniVerse user number.
Port Name On a UNIX system this is the device pathname of the
session. On a Windows NT system this is the user
type and UniVerse user number, for example,
console:124.
Last Logged In The date and time the user logged in.
Last Command The last command the user issued (if known).
Parameter Description
Pid The process ID. On a Windows NT system this is the
UniVerse user number. It is the same as the value
shown in the User # column.
User Name The user’s login name.
User # The user’s UniVerse user number. This column is
displayed for Windows NT systems only.
Printer Segment The address of the printer shared memory segment.
Last Command The last command issued (if known).
The Who column lists the port number, and the Port name column lists the device
pathname of the session. For complete details about PORT.STATUS, see UniVerse
User Reference.
Terminating a Process
You can terminate a user or background process using the buttons on the
UniVerse User Administration window.
To terminate a user process:
1. Choose Users from the UniVerse Admin Control Panel. The UniVerse User
Administration window appears.
2. Choose the user from the Interactive Users list.
3. Click Logout Interactive User. A message box appears.
4. Click Yes. An attempt is made to log the user off the server. The UniVerse
User Administration window is updated.
analyze.shm { options }
You must use at least one option on the command line. Specify options with a
minus sign (–) followed by the letter of the option. You can combine options as in
the operating system command analyze.shm –sfgr . Note that the UniVerse
commands require lowercase options. options are any of the following:
Semaphore Table
The –s option displays the information sorted by semaphore type. Alternately,
you can use the SEMAPHORE.STATUS command in the UV account. The sema-
phore types are as follows:
• File lock semaphores
• Group/update record lock semaphores
• Login semaphore
• Port status semaphore
• Dynamic file semaphore
• Transaction logging semaphore
These semaphores store information related to file concurrency control, login
count, current active UniVerse jobs, current split load and related statistics for
dynamic files, and changes made to files for system backups. A sample report
looks like the following:
$ analyze.shm –s
File access State Netnode Owner Collisions Retrys
Semaphore # 1 0 0 0 0 0
.
.
Dynamic Files:
Slot # Inode Device Ref Count Splitload Mergeload Curmod
Basemod Largerec Filesp Nextsplit
0 42320 5 1 19 80 50
357 256 590748 102
1 26964 116 2 19 80 50
150 128 247476 23
UniVerse Configuration
To see the UniVerse configurable parameters for the current UniVerse directory,
use the –c option. The output is similar to CONFIG ALL.
Note that you also see the installed packages. Configurable parameters that have
been changed from the default settings are flagged with an asterisk ( * ). Numeric
fields are in decimal format (WIDE0 is in hexadecimal format).
The −b option is useful when you want to see what programs are in catalog shared
memory, which programs are in use, and which are available. For each program
loaded into shared memory, you see the size, references, user count, and
pathname.
You can display the same information with the UniVerse AVAIL command. In
addition, execute the du(1) command daily during off-peak hours. Keep the
There are a number of utilities you can use to keep your files at peak efficiency.
This section describes three of these utilities:
• File Tool option on the UniVerse Admin Control Panel
• Format conversion utility (FORMAT.CONV)
• uvfixfile utility
Use the File Tool option of UniVerse Admin for general file administration. Use
the format conversion utility to import files and BASIC object code from different
hardware platforms. Use the uvfixfile utility to repair broken static hashed files.
For information about other UniVerse file maintenance commands and tech-
niques, see UniVerse System Description.
Indexes. If the file has secondary indexes, this tab lists the name of the index file.
Syntax. The basic syntax of the command to convert a data file to UniVerse
Release 6 is:
format.conv −6 filename
A minus sign ( − ) immediately precedes the 6 (no spaces are allowed).
Note: Security constraints prohibit using the format conversion utility to convert
UniVerse SQL tables to an earlier file format. If you want to convert tables
to an earlier file format, follow these steps:
1. Use the CREATE.FILE command to create a temporary file.
2. Copy the contents of the table to the temporary file. (The copy opera-
tion fails if the user who is trying to copy the table does not have SQL
SELECT privilege.)
3. Use the format conversion utility with the −6 option to convert the
temporary file to Release 6 format.
File Statistics
pathname = VOC, size = 61440 bytes
23 group(s) processed.
29 group buffer(s) processed.
820 record(s) processed.
Number of data bytes = 38200.
The Revision field displays the magic number of the file.
To use interactive mode, use the following syntax at an operating system prompt:
uvfixfile −f pathname −i
In UniVerse, use the following syntax:
UVFIXFILE filename I
UVFIXFILE PATH pathname I
A colon prompt ( : ) appears. In interactive mode you can do the following:
• Trace through one or more groups in a file
• Step through one group buffer one record block at a time
• Reset one or more group buffers
• Open files specified by pathname or UniVerse filename
• Display the group to which a record ID hashes
• Map the primary and overflow buffer layouts
For more information about interactive commands, see UniVerse User Reference.
Trace Command
The trace command checks a group or range of groups. The amount of informa-
tion displayed is determined by the verbosity level (−v, VLEVEL).
The following example shows the output of a trace command. Note the difference
in output when a different verbosity level is used.
1 group(s) processed.
2 group buffer(s) processed.
43 record(s) processed.
Number of data bytes = 2416.
: vlevel 4
verbosity level set to 4.
: trace 5
1 group(s) processed.
2 group buffer(s) processed.
43 record(s) processed.
Number of data bytes = 2416.
: q
Step Command
In interactive mode, use the step command when you want to examine one record
block at a time. The step command provides the same information as the trace
command. Verbosity level of the step command is at least 5. When you enter the
step command, the prompt changes to step>. You can then press Return to
display each record block one at a time.
1 group(s) processed.
2 group buffer(s) processed.
43 record(s) processed.
Number of data bytes = 2416.
: q
>
For more information about the uvfixfile step command, see UniVerse User
Reference.
Set Command
Use the set command at the step> prompt to change the values of the record
block header.
CAUTION: Do not make changes to the record block header unless you are sure
you know what you are doing. Otherwise you risk further damage
to your files.
The record block comprises three sections: the forward link, the backward link,
and the flagword. To change the forward link, enter the following:
step>set flink n
To change the backward link, enter the following:
step>set blink n
Note: Use the UniVerse Command option to execute only a few UniVerse
commands, because it is not a command shell.
Reexecuting a Command
To reexecute a command:
1. Double-click the command in the Command History list. The command
appears in the Command field.
2. Click Execute. The result of this command appears in the UniVerse Command
Output window.
Editing a Command
To edit a command:
1. Double-click the command in the Command History list. The command
appears in the Command field.
2. Click the Command field and edit the command appropriately.
3. Click Execute to activate the new command. This new command is added to
the Command History list, and the result appears in the UniVerse Command
Output window.
Note: If you select a user before clicking Message…, this option is auto-
matically set and the user’s name is selected.
Note: If you select a user before clicking Message…, this option is auto-
matically set and the user’s name is selected.
Although UniVerse includes many programs and utilities, you can make addi-
tional programs available to users. These include applications written in UniVerse
BASIC and non-UniVerse applications written for the UNIX or Windows NT
environment but accessible to UniVerse users.
This chapter discusses system administration considerations when making addi-
tional programs available to UniVerse users:
• Adding UniVerse BASIC applications
• Managing the catalog space used by UniVerse BASIC
• Managing catalog shared memory for UniVerse BASIC programs
• Adding non-UniVerse programs to VOC files
Note: The Catalog Shared Memory window is empty if shared memory is not
loaded.
Note: Changes made to the SHM.TO.LOAD file take effect only the next time
you start UniVerse or load shared memory.
To define the programs to be run in shared memory, click Setup… on the Catalog
Shared Memory window. The Setup SHM.TO.LOAD File dialog box appears:
2. Select the appropriate account and file from the Account and File lists. The
default settings for these fields point to catdir in the UV account directory (the
catalog space).
3. Select the program to add from the Programs list.
Note: You must be certain you want to do this, because it can have an impact on
UniVerse users.
Note: Locally cataloged programs are not entered in the system catalog space
and are not listed by either the MAP or the MAKE.MAP.FILE command.
The third field (F3) specifies the dispatch type. This field should normally contain a
B for a BASIC program or a U for an operating system command. Standard
UniVerse programs in /uvhome/bin are type E. For these programs, field 2
contains the name of the executable file in /uvhome/bin. The following is a full list
of dispatch types:
Note: In this chapter the terms local and remote refer to client and server
programs or systems. However, because client programs can connect to
server programs running on the same computer, remote does not neces-
sarily imply that the server is on another physical computer system.
System Requirements
Before installing layered or third-party products that use the UniRPC, such as
UV/Net, UniVerse Admin, or the Uni Call Interface (UCI), you must install and
configure TCP/IP using the instructions supplied by the TCP/IP facility vendor.
You should then identify the systems to be networked with UniVerse by defining
them in the /etc/hosts file. See “Maintaining the hosts File” on page 19-4 for how to
do this.
You must also modify the configurable UniVerse parameter MFILES. MFILES
specifies the size of the UniVerse rotating file pool, which is normally at least eight
less than the kernel’s limit for open files per process. You should decrease the
value of MFILES by one:
• For each host system you want to connect to via UV/Net
• For each UniVerse server you want to connect to via the BASIC SQL Client
Interface (BCI)
For information about configurable UniVerse parameters, see Chapter 4.
Note: If you are using the Network Information Services (NIS, also known as
Yellow Pages), you do not need to use the /etc/hosts file to define, change,
and delete network nodes. See the UNIX networking documentation
provided with your system for more information.
Note: If you specify a port number other than the default, it must be the same on
all systems that communicate via the UniRPC.
Note: To use the new port number, you must restart the UniRPC daemon (see
“Starting the UniRPC Daemon” on page 19-5).
Note: The file that receives all error and system messages can grow unchecked
unless you monitor it periodically.
Once you start the UniRPC daemon, it automatically restarts whenever you boot
UniVerse.
Note: Stopping the UniRPC daemon does not interrupt active UniRPC
processes.
Field Contents
1 The name of the UniRPC service (for example, uvserver).
2 The full pathname of the service engine executed by the UniRPC
daemon.
3 The names of nodes allowed to execute this service. This field is multi-
valued, with values separated by commas (no spaces). If the field
contains * (asterisk), all hosts defined in /etc/hosts can execute this
service.
4 The network transport mechanism for the service (TCP/IP).
5 Reserved for future use.
Note: To use the new settings, you must stop and restart the uvtelnet service.
Note: Administrators are prompted to enter their login account regardless of the
User Policy configured.
You can make entries for users logging into the system both from the local
machine and from domains. You can also maintain entries for users who have
accounts on multiple domains with access to this system. You can specify the
user’s account either as a case-sensitive entry in the UV.ACCOUNT file or as a
fully qualified pathname.
Session Licensing. Session licensing is like the UniVerse licensing system used
before Release 9.5. Every connection from telnet or a UniVerse API, even from the
same PC, consumes one database license. Session licensing has been enhanced to
include a new licensing tool, uvlictool, that reports on the current licensing state
and cleans up current licensing.
Connection Types
There are three ways to connect to a UniVerse server:
• Direct connection. This is not a client/server connection.
• Two-tier client/server connection.
• Multiple-tier client/server connection.
Direct Connections
Direct connections are not really client/server connections because there is no real
client. Examples of direct connections are:
• Directly invoking UniVerse on a system
• TTY serial line
Two-Tier Connections
Two-tier connections are typical client/server connections where a client applica-
tion connects to a UniVerse server either on the same machine or on a different
machine. Telnet connections to UniVerse are an example of a two-tier connection.
Client applications running on PCs different from the UniVerse server appear to
the server with unique identifiers.
Multiple-Tier Connections
Multiple-tier connections are client applications that connect from a PC to a
UniVerse server either through one or more different PCs, or through an applica-
tion server component. Examples of multiple-tier connections are:
• An HTTP server running scripts that use UniObjects or UniObjects for Java.
• An application that connects first to an application server either on a
different PC or on the server system. The application server connects to the
UniVerse server.
On UNIX systems you can use the UniVerse System Administration menus in
addition to or instead of the UniVerse Admin client program to administer
UniVerse. These menus let you do normal UniVerse maintenance and some UNIX
system administration without having to use the UNIX shell commands or file
formats.
The UniVerse System Administration menus are available only to UniVerse
Administrators working in the UV account. To have access to all files used for
system administration, you must log in as a UniVerse Administrator.
Once you are logged in, activate the System Administration menus from the
UNIX shell by changing to the UV account directory (usually /usr/ardent/uv):
# cd /usr/ardent/uv
Then use the command bin/uv:
# bin/uv
From an account in the UniVerse environment, you can use the LOGTO command
to log to the UV account.
Menus list actions that can be performed and options that display submenus
(cascading menus). Options followed by an arrow ( => ) display a submenu. To
display a submenu, highlight the option, then choose it.
To start an action, simply choose it. If a data entry screen appears, instructions in
the lower part of the screen prompt you to enter the appropriate data. System
messages also appear at the lower part of the screen.
The options listed on the submenus are names or descriptions of UniVerse
sentences that are stored as part of the menu. Unlike using sentences that are
stored in the VOC file, you need not remember sentence names to use an option
on a menu. You need only examine the options listed on the menu, and then
choose the appropriate one for the task you want to perform.
Choosing an Option
To choose the highlighted option, press Return or Space. Or to move to an option
and choose it with one keystroke, press the capitalized letter of the option you
Key Action
Esc Pressing the Esc key has two effects. At any menu or submenu,
Esc returns you to the UniVerse prompt.
If you are entering data in a data entry screen, pressing Esc quits
the record, clears the screen of any data you entered without
making any changes, and returns to the previous level. If you
were adding a new record, it is not added. If you were changing
existing data, the record remains as it was before you made any
changes to it.
←→↓↑ Moves the cursor to the next or previous field on the screen.
F10 Always moves the cursor to the menu bar at the top of the screen,
if one exists. (If your terminal does not have an F10 key, you can
activate the menu bar by pressing Ctrl-T.)
F1 Displays a more detailed help message. (If your terminal does
not have an F1 key, you can display the longer help message by
typing a question mark (?).
Return If the cursor is highlighting an option in the menu bar or some
other option (such as YES or NO), pressing the Return key
selects the highlighted option (same as pressing Space).
Space Same as Return.
Key Action
F4 Pressing F4 at certain data entry prompts displays a list and lets
you select one of the items in the list. If your terminal does not
have an F4 key, you can display a list by typing an asterisk ( * ).
In most cases the list box displays a sorted list with an entry box
below it. To move directly to an item in the sorted list, enter the
item you want at the prompt in the entry box. The highlight bar
moves to the item you enter. You can enter any number of charac-
ters in the entry box to move to a desired item in the sorted list.
For example, if you enter the character j, the highlight bar moves
to the first item in the list that begins with j. If you enter the char-
acters sta, the highlight bar moves to the first item in the list that
begins with sta.
Page Down When a list appears, use the Page Down key (also called the Page
key or the Pg Dn key) to display the next page of the list.
Page Up When a list appears, use the Page Up key (also called the Page
key or the Pg Up key) to display the previous page of the list.
Note: Pressing some of these keys in rapid succession can create the effect that
the keys are not working.
You can add, modify, or delete nodes by entering information in this screen. This
changes the TCP/IP hosts file (/etc/hosts). The Maintain the RPC screen prompts
you for the following information:
Machine Name Enter the node name for a machine (node names are case-
sensitive).
Node ID Enter the TCP/IP Internet address for a machine.
Adding Nodes to the Network. Use the Maintain the RPC screen to add
machines to the TCP/IP hosts file (/etc/hosts). Enter the machine name and node
ID in the fields provided.
Changing an Entry in the TCP/IP Hosts File. Use the Maintain the RPC screen
to change a node’s name or ID. For example, to change the machine name, specify
the new name with the old node ID. To change the node ID, specify the new
node ID with the old machine name.
To display the machines currently on the network, enter an asterisk (* ) at the
Machine Name prompt, or press F4. Use the arrow keys to move through the list,
highlighting the entry you want to modify. To choose the highlighted entry, press
Return.
Deleting Nodes from the Network. Use the Maintain the RPC screen to delete a
node definition from the TCP/IP hosts file. You can either enter the machine
name of the node you want to delete, or you can enter an asterisk (*) or press F4
to display a list of names in the TCP/IP hosts file. Use the arrow keys to move
through the list and to highlight the entry you want to delete. To choose the high-
lighted entry, press Return.
Press F10 to move to the menu bar, then choose Action, then choose Delete entry
to delete the node from the network. The system asks you to confirm the deletion.
Choose Yes to delete the node from /etc/hosts. Choose No to cancel the deletion.
You can then specify a different node to delete, or you can return to the Rpc
administration menu.
Listing Nodes on the Network. To list nodes on the network, press F10 to move
to the menu bar of the Maintain the RPC screen, then choose Action, then choose
List entries.
Note: On some systems, after you stop the UniRPC daemon and all active
services terminate, it can take five minutes for UNIX or TCP/IP to recog-
nize that the network connections used by the UniRPC are available again.
Wait at least five minutes after halting the UniRPC daemon before you
restart it. Use the UNIX netstat command to see what services are still
active.
2. Choose the administrative task you want to perform from the following
options:
Examine the deadlock daemon logfile. This option displays the contents of
the deadlock log file. This log file records the date and time the deadlock
daemon is started up and shut down, any detected deadlocks, and the resolu-
tions applied to them.
Enter the interval time in seconds. For the resolution strategy, enter 0
(random), 1 (newest), or 2 (fewest locks). Press Return to accept the default
log file location, or enter another pathname. Enter Y if you want the deadlock
daemon to start up each time you restart UniVerse, otherwise enter N. Enter Y
to store the current setting in the deadlock daemon configuration file
(uvdlockd.config), otherwise enter N.
Halt the deadlock daemon. This option shuts down the deadlock daemon.
Purge the logfile. This option clears the deadlock log file.
Check for deadlock. This option generates a report based on a one-shot anal-
ysis of the lock-waiter tables and any detected deadlocks.
seLect victim for deadlock resolution. This option lets you select the user
number of a process to abort, thus resolving the deadlock.
Accounts Option
Use the Accounts option to create and maintain user login accounts, UniVerse
accounts, and user groups. The Accounts option updates and maintains the
following files:
• /etc/group
• /etc/passwd
• UV.ACCOUNT
When you choose Accounts from the UniVerse System Administration menu, the
Accounts menu appears as shown in Figure A-5.
Note: Your system may require users to be added using UNIX shell commands.
See the UniVerse release notes for your system before you try to change
the /etc/passwd file.
Note: Your system may require new users to be added through UNIX. Please see
the UniVerse release notes for your system before trying to change the
/etc/passwd file.
Deleting a User
To delete a user from the system:
1. Choose Accounts from the System Administration menu, then choose Users,
then choose Delete a User. UniVerse displays a list of all users currently
defined in the /etc/passwd file.
Note: The file permissions assigned here will be applied to all files and
subdirectories contained in the directory where the UniVerse account
is located, regardless of whether or not they are UniVerse files and
directories.
5. UniVerse prompts you to enter the name of a user to be the owner of the
account and its files. You can enter the name of either an existing user or a
new one. To see a list of all users currently defined in the /etc/passwd file, press
F4 or enter an asterisk (*) at the prompt.
If you make an existing user the owner, that user’s group becomes the group
owner of the account.
If you create a new user to be the account’s owner, you are prompted to
specify a group owner for the account. Enter the group name at the prompt.
To see a list of all groups currently defined in the /etc/group file, press F4 or
enter an asterisk (*) at the prompt.
6. UniVerse displays a list of compatibility flavors. UniVerse accounts can be one
of several standard flavors: INFORMATION, PICK, REALITY, IN2, PIOPEN,
or IDEAL UniVerse (IDEAL is the default).
Recovery Option
Use the Recovery option when you want to back up and restore the following:
• The entire system
3. Specify the kind of backup or restoration you want. Choose from the
following options:
Entire system. This option backs up every directory and file on the system,
from root on down. When restoring, use this option to restore every directory
and file on the backup volume.
all uniVerse accounts. This option backs up the contents of all directories
defined in the UV.ACCOUNT file. All files in the directories and their depen-
dencies are backed up, whether or not they are UniVerse files and directories.
Note: When you restore UniVerse files that have secondary indexes, rebuild the
indexes with the BUILD.INDEX command.
The basic format is the same for all UVBACKUP screens. Certain fields may or
may not be available for data entry depending on which backup option you
specified.
The default values for UVBACKUP screen data entry fields are stored in the
UniVerse SYS.MESSAGE file. The record ID is 085619. As a UniVerse Adminis-
trator you can edit this record to customize the UVBACKUP screen defaults for
your site. Upgrading or reinstalling UniVerse will overwrite these records.
Use the arrow keys to move forward and backward inside the UVBACKUP
screen. The Help Region at the bottom of the screen gives information about valid
entries for the current field.
Backing up /rd2/qa/test/UVback/errlog
Backing up /rd2/qa/test/UVback/BACK1
Backing up /rd2/qa/test/UVback/BACK1/.Type1
Backing up /rd2/qa/test/UVback/BACK1/1
Backing up /rd2/qa/test/UVback/BACK1/2
Backing up /rd2/qa/test/UVback/BACK1/3
Backing up /rd2/qa/test/UVback/BACK1/4
Backing up /rd2/qa/test/UVback/BACK1/5
Backing up /rd2/qa/test/UVback/BACK1/6
Backing up /rd2/qa/test/UVback/BACK1/7
Backing up /rd2/qa/test/UVback/BACK1/8
Backing up /rd2/qa/test/UVback/BACK1/9
Backing up /rd2/qa/test/UVback/BACK1/10
Backing up /rd2/qa/test/UVback/D_BACK1
Backing up /rd2/qa/test/UVback/VOC
Backing up /rd2/qa/test/UVback/D_ORIG
Backing up /rd2/qa/test/UVback/D_VOC
Backing up /rd2/qa/test/UVback/ORIG
Backing up /rd2/qa/test/UVback/VOCLIB
.
.
EndOfUvbackup
When the backup is complete, UniVerse asks if you want to return to the
UVBACKUP screen. Choose Yes to redisplay the screen. Choose No to return to
the main System Administration menu.
The basic format is the same for all UVRESTORE screens. Certain fields may or
may not be available for data entry depending on which restore option you
specified.
The default values for UVRESTORE screen data entry fields are stored in the
UniVerse SYS.MESSAGE file. The record ID is 085720. As a UniVerse Adminis-
trator you can edit this record to customize the UVRESTORE screen defaults for
your system. Upgrading or reinstalling UniVerse overwrites any changes to this
record.
Use the arrow keys to move forward and backward inside the UVRESTORE
screen. The Help Region at the bottom of the screen lists valid entries for the
current field.
Figure A-10. The UVback Account Restored to the /tmp Directory on Disk
EndOfUvrestore
When the restoration is complete, UniVerse asks if you want to return to the
UVRESTORE screen. Choose Yes to redisplay the screen. Choose No to return to
the main System Administration menu.
Transaction Logging
The Transaction Logging menu gives access to further menus that enable you to
perform the following transaction logging and related activities:
• Setting up for transaction logging
• Setting the system-wide state of transaction logging
• Activating UniVerse files for logging
• Managing logging activity
• Transferring log files to tape
Option Description
Create log directory Creates the log directory (on a different disk from your
UniVerse files), using the CREATE.LDIR command.
You are prompted for the pathname.
Add logs Creates log files in the log directory, using the
CREATE.LFILE command. You are prompted for the
size in bytes (the default is 512) and for the number of
files.
Drop logs Deletes Available log files in the log directory, using the
DELETE.LFILE command. The most recently created
log file is deleted first, then the next most recently
created, and so on. The UV_LOGS file is also updated.
Set logging attributes Sets the transaction logging modes and the archive
type, using the SET.LOG.ATTR command. If you are
logging file updates to disk, you can set transaction
logging to run in archive mode, checkpoint mode, or
both. If you are logging file updates to tape, you can set
transaction logging to run only in archive mode.
If you set the archive type to TAPE, you must specify
one or more tape devices to which to log updates. The
tape devices must be defined as DC or DT types in the
&DEVICE& file.
Option Description
Display logging state Lists the system-wide state of transaction logging.
list log File details Displays information about the log files, using the
command LIST UV_LOGS BY.DSND @ID.
View info files Displays the View Info Files menu (see page A-42).
deleTe info files Displays the Delete Info Files menu (see page A-42).
Suspend logging Suspends transaction logging system-wide, using the
SUSPEND.RECOVERY command.
Enable logging Enables transaction logging system-wide, using the
ENABLE.RECOVERY command.
shutdown Logging Disables transaction logging system-wide, using the
SHUTDOWN.RECOVERY command.
Option Description
dispLay logging info file Displays the logging information file
(uvlogd.info).
display Checkpoint info file Displays the checkpoint information file
(uvchkd.info).
display Rollforward info file Displays the roll-forward information file
(uvrolf.info).
Delete Info Files Menu. Use this menu to delete any of the three information files.
The Delete Info Files menu options are as follows:
Option Description
deLete logging info file Deletes the logging information file
(uvlogd.info). Do not delete this file while trans-
action logging is in the initializing, warmstart,
or enabled states.
delete Checkpoint info file Deletes the checkpoint information file
(uvchkd.info). Do not delete this file while the
checkpoint daemon is active.
delete Rollforward info file Deletes the roll-forward information file
(uvrolf.info). Do not delete this file while a roll-
forward is in progress, because you will lose all
further output from the roll-forward.
Option Description
List logs ready for transfer Lists the log files that are Full and ready to be
backed up, using the command LIST
UV_LOGS WITH STATUS = FULL BY @ID.
Transfer and release logs Backs up and releases Full log files, using the
tlsave shell script.
Release a single log Prompts for the number of a Full log file, then
releases that log file, using the RELEASE.LFILE
command. It prompts for the log file number.
Purge old log entries Prompts you to enter a date, then removes out-
of-date records from the UV_LOGS file that
refer to log files released earlier than the speci-
fied date.
rElease a tape device Prompts you to enter a tape device name, then
releases the tape device, making it available
again for logging. Use this option only after
you mount a new tape in the device.
Option Description
Status of activated files Lists the current status of all recoverable files,
using the command LIST UV.TRANS.
activate File Prompts for an account name and a filename,
then activates the file for transaction logging,
making it recoverable. You cannot activate type
1 and type 19 files for logging.
Deactivate file Prompts for an account name and a filename,
then deactivates the file for transaction
logging. The name of the deactivated file is not
removed from UV.TRANS, but its status is set
to OFF.
Activate account Prompts for an account name, then activates all
files in that account for transaction logging.
deaCtivate account Prompts for an account name, then deactivates
all files in that account for transaction logging.
Option Description
Identify log files Prompts for the name of a select list containing full
pathnames of UniVerse files that require roll-forward
recovery. It then uses the RECOVERY.CHECKPOINT
command to search the selected files for the file
containing the earliest log file checkpoint. This log file
should be rolled forward first. You can then determine
how many log files to restore in view of the disk space
available.
Restore a set of logs Prompts for the range of log files to use for roll-forward
recovery, and for the directory to which to restore them.
It then restores the log files from tape using the
LOG.RESTORE command. Restoring log files from
tape does not change the UV_LOGS file.
Note: We recommend that you restore your log files into a directory other than
the log directory. Delete only the restored log files.
Option Description
Rollforward file Prompts for the range of log files to use for roll-
forward recovery, the name of the file you want
to roll forward, and the name of the directory
where the log files are located. It then rolls
forwards updates to the specified files.
Clear file inconsistency flag Prompts for the pathname of the UniVerse file,
then clears the flag marking the file as inconsis-
tent, using the RECOVERY.CONSISTENT
command.
rOllforward file from tape Prompts for the full pathname of the file you
want to roll forward, a list of tape devices
containing the log files, and the number of the
log file to use for roll-forward recovery. It then
rolls forward updates to the specified files.
The first line for each queue shows the printer, indicating if queuing is enabled, if
printing is enabled, and what form, if any, is mounted. Subsequent lines give a
job-by-job summary of the queue contents. In the previous example jobs 1 and 2
are printing. Job 3 is waiting in the queue for printer lp although it requested the
form that is currently mounted on printer lw, it must wait for the following
reasons:
1. Job 2 is active on printer lwlscape, which is the same physical device as printer
lw.
2. Queued jobs are always shown in the queue of the first defined printer, unless
they are spooled to a specific printer either with the AT keyword on a SETPTR
(UNIX) or SPOOL (UNIX) command, or with the –p option of the usp
command.
3. The ampersand ( & ) after the word hold on job 4 indicates that a copy of this
file has already been printed. An asterisk ( * ) would indicate a file spooled as
a hold file.
Changing the Number of Copies You Want Printed. Choose Modify job char-
acteristics from the Spooler menu, then choose Number of copies. At the
prompts enter the print job number, then the number of copies you want.
Specifying Which Pages to Print. Choose Modify job characteristics from the
Spooler menu, then choose Pages to print. At the prompts enter the print job
Specifying Which Lines to Print. Choose Modify job characteristics from the
Spooler menu, then choose Lines to print. At the prompts enter the print job
number, then specify the line where you want printing to begin and the line
where you want printing to end.
Changing the Priority of a Print Job. Choose Modify job characteristics from
the Spooler menu, then choose Schedule priority. At the prompts enter the print
job number, then the level of priority you want to assign. 1 is the highest priority,
255 is the lowest.
Specifying When to Print a Job. Choose Modify job characteristics from the
Spooler menu, then choose Time delay. You can then specify either the absolute
time you want the spooler to print the job, e.g., 3:30 p.m. or the relative time, e.g.,
4 hours from now.
Holding a Print Job. If a print job is not printing, choose Job control from the
Spooler menu, then choose Hold. At the prompt enter the print job number. This
makes the print file a hold file—that is, it holds the job until you release it for
printing.
To release a hold file for printing, choose Job control from the Spooler menu, then
choose Release. The shell command is usm –r print.job.
If you want to retain a print file as a hold file after it is printed, choose Modify job
characteristics from the Spooler menu, then choose Hold after printing.
Suspending a Print Job. If the job is actively printing, choose Job control from
the Spooler menu, then choose Suspend. At the prompt enter the printer number.
This suspends a currently printing job until you are ready to continue printing.
To restart a suspended print job, choose Job control from the Spooler menu, then
choose Continue.
Killing a Print Job. Choose Job control from the Spooler menu, then choose Kill
a job. At the prompt enter the print job number.
Disabling Printing
To stop printing on a printer:
1. Choose Queue management or printer groUp queue management from the
Spooler menu.
2. Choose Halt printing.
3. Enter the name of the printer where you want printing to stop.
4. Choose Yes to stop printing.
Enabling Printing
To restart printing on a printer:
1. Choose Queue management or printer groUp queue management from the
Spooler menu.
2. Choose Begin printing.
3. Enter the name of the printer where you want to restart printing.
4. Choose Yes to start printing.
Disabling Queuing
To disable queuing on a printer queue:
1. Choose Queue management or printer groUp queue management from the
Spooler menu.
2. Choose Deny queuing.
Enabling Queuing
To enable queuing on a printer queue:
1. Choose Queue management or printer groUp queue management from the
Spooler menu.
2. Choose Allow queuing.
3. Enter the name of the printer where you want to enable queuing.
4. Choose Yes to enable queuing.
Defining Printers
To define printers, choose Spooler from the System Administration menu, choose
Device management, then choose Maintain devices. The data entry screen for
the sp.config file prompts you to enter the following information:
Printer Name : Baud Rate :
Unix Pathname : Parity :
Driver : CR Mode :
Form : Tab Expansion :
Flow Control : FF Delay :
Enable Printing : LF Delay :
Enable Queuing : Word Length :
Lock file 1 : Map Name :
Lock file 2 :
Other Options :
The data you enter adds a line to the sp.config file for each printer. An entry is also
added to the &DEVICE& file. There is one logical line in sp.config for each printer.
(If you are editing the file directly with vi or the UniVerse Editor, you can continue
logical lines across physical lines by putting a backslash ( \ ) or an underscore ( _ )
at the end of all physical lines but the last that make up the logical line.)
Here is an explanation of the parameters you can specify:
Printer Name The logical printer name; a unique name that identifies the
printer. This name is used in various UniVerse commands to
refer to the printer.
To change to a different file of BASIC programs, type C. You are prompted to enter
the account name and file you want displayed. The account name can be the
name of a UniVerse account (e.g., UV) or a UNIX pathname (such as /u1/uv/BP).
The records in the file are displayed 22 at a time.
To remove a program from the list, enter the number of the program and answer
N to the question Should this program run in shared memory?.
To remove all programs from the list, type A.
You are asked if you want to change the amount of memory allocated for modi-
fying shared memory. You might want to allocate extra space if all you want to do
is change a few programs in catalog shared memory without completely
reloading it. Most users won’t need extra space and should answer N.
You are then prompted with Continue to load shared memory (Y/N)?.
Answer Y to load your designated programs into catalog shared memory. Any
other response stops the load. UniVerse lists the name of each program as it is
loads and gives an error message for any program it cannot find and for any
records that are not compiled BASIC programs.
You can allocate extra space in the catalog memory segment at startup time by
modifying the uv.rc script. To increase the segment size 8192 bytes, change the
following line in uv.rc:
bin/load_shm_cat 2>&1 > /dev/null
Add a program to shared memory lets you add a new program to catalog shared
memory. Anyone using the program continues to use it, but everyone who starts
the program after it is loaded uses the copy in catalog shared memory.
Delete a program from shared memory deletes a program from catalog shared
memory. This option prompts you to choose a program by asking for an account,
file, and record. If you respond Y to the Should program be deleted from
shared memory prompt, the program is removed. Anyone using the program
when it is deleted continues to use it. Anyone who starts using the program after
it is deleted gets a copy from disk.
Update a program in shared memory updates a program already loaded into
catalog shared memory. Again, anyone using the program continues to use the
old copy, but anyone who starts the program after shared memory is modified
gets the new version.
Remove the shared prog mem segment removes the shared memory segment.
Anyone attached to the shared memory segment continues to use it (they must
leave UniVerse and reenter it to detach). Anyone who enters UniVerse after the
shared memory segment is removed gets all programs from disk files.
Import Option
Use the Import option to import a Pick or Prime INFORMATION account from a
remote system or to restore a Pick or Prime account from tape.
When you choose Import from the UniVerse System Administration menu, the
Import menu appears as shown in Figure A-30.
3. The following text describes information you can enter in the fields on this
screen:
Parent Directory. The directory that is to contain the restored account. You
can specify the parent directory either as a UNIX pathname or as a UniVerse
account defined in the UV.ACCOUNT file. You can also specify a user login
name or ID number. The account is restored in the home directory of that
user.
If you specify a UniVerse account, the account on tape is restored as a subdirec-
tory in the specified UniVerse account’s parent directory. Do not specify the
name of the account you are restoring as the parent directory.
In the previous example, the INFOACCT account is restored as a subdirectory
under the parent directory /u1/accts; the restored account’s directory is
/u1/accts/SALES.
No rewind device name. A valid entry in the &DEVICE& file (such as MT0)
or a valid UNIX device or filename (such as /dev/rmt12). It specifies the path-
name to use for a tape device that does not rewind when finished. To display
a list of all devices defined in the &DEVICE& file, enter an * at the prompt.
For more information about the &DEVICE& file, see “The &DEVICE& File”
on page 10-1.
3. The following text describes the information you can enter in the fields on this
screen:
Parent Directory. The directory that is to contain the restored account. You
can specify the parent directory either as a UNIX pathname or as a UniVerse
account defined in the UV.ACCOUNT file. You can also specify a user login
name or ID number. The account will be restored in the home directory of that
user.
If you specify a UniVerse account, it is restored as a subdirectory in the speci-
fied UniVerse account’s parent directory. Do not specify the name of the
account you are restoring as the parent directory.
In the previous example, the PICKACCT account is restored as a subdirectory
under the parent directory /u1/accts. The restored account’s directory is
/u1/accts/SALES.
No rewind device name. A valid entry in the &DEVICE& file (such as MT0)
or a valid UNIX device or filename (such as /dev/rmt12). It specifies the path-
name to use for a tape device that does not rewind when closed. To display a
list of all devices defined in the &DEVICE& file, enter an * at the prompt. For
more information about the &DEVICE& file, see “The &DEVICE& File” on
page 10-1.
Running T.LOAD from a File. Before running T.LOAD, you must set up an
&DEVICE& entry to access the pqic.results file.
1. Choose Devices from the System Administration menu, then choose main-
tain Devices.
2. Enter a new name in the Device Name field, for example, MTFILE. You can
specify any user-defined name as a temporary name for the device.
3. Press Return to skip to Device Type and enter O for Other.
LONGNAMES Mode
If you restore a file through the System Administration menus, make sure that
LONGNAMES has the same value on both systems or filenames may get trun-
cated. For more information, see “Support for Long Filenames on UNIX Systems”
on page 7-8.
Devices Option
Use the Devices option to update and maintain the UniVerse file &DEVICE& and
the UNIX file sp.config.
When you choose Devices from the UniVerse System Administration menu, the
Devices menu appears as shown in Figure A-31. When you choose maintain
Devices, a data entry screen (called Maintain Devices) for the &DEVICE& file
appears.
3. Enter the logical device name of either a tape device or a printer at the
Device Name prompt. The logical device name is the name used in various
UniVerse commands, such as ASSIGN, to refer to the device. For example,
you might enter MT0 for a tape drive, or you might enter LW for a printer.
4. Enter a brief description of the device.
Code Description
F Diskette.
DC Default cartridge tape. Enter DC if you want to run the tape device
testing program.
DT Default nine-track tape. Enter DT if you want to run the tape device
testing program.
C Cartridge tape.
T Nine-track tape.
P Printer.
O A device other than a printer or tape drive.
Later sections describe the remaining information you need to enter to define a
tape device, and how to define a printer.
Note: Multireel tape handling for the UniVerse T.DUMP and T.LOAD
commands is supported only for device types DC, DT, and F.
Close on Read (Field 14) This specifies what action is taken at the close of a tape
file which was opened for read. Enter one of the following:
Y Tape moves forward to the beginning of next file on close. This is the default
value. Use Y for most 1/4-inch tape devices.
N Tape does not move forward on close. Use N for most 1/2-inch tape devices.
Multiple Read at End-of-File Status (Field 15) This specifies whether a second
read call at the end-of-file returns the end-of-file condition again. Enter one of the
following:
Y The second read call at the end-of-file returns end-of-file indication again.
This is the default value. Use Y for most 1/4-inch tape drives.
N The second read call at the end-of-file returns the first record of the next file.
Use N for most 1/2–inch tape drives.
Note: Most Berkeley device drivers work with F13–F15 set at A,N,N or E,N,N.
Most System V device drivers work with E,Y,Y or L,Y,Y.
Account Transfer Block Size (Field 16) This specifies the input block size for use
with the account transfer functions described in Chapter 7. The default is 8192.
Delete Flag (Field 17) This specifies if this device is included in the rotating file
pool when it is opened. Enter one of the following:
NLS Map Name (Field 19) This specifies the name of a character set map for the
device. For more information about maps, see UniVerse NLS Guide.
Defining a Printer
When you enter P as the Device Type, the data entry screen changes. Figure A-32
shows the data entry screen for defining printers.
Defining Printers
To define printers, choose Spooler from the System Administration menu, choose
Device management, then choose Maintain devices. The data entry screen for
the sp.config file prompts you to enter the following information:
Printer Name : Baud Rate :
Unix Pathname : Parity :
Driver : CR Mode :
Form : Tab Expansion :
Flow Control : FF Delay :
Enable Printing : LF Delay :
Enable Queuing : Word Length :
Lock file 1 : Map Name :
Printer Name The logical printer name; a unique name that identifies the
printer. This name is used in various UniVerse commands to
refer to the printer.
Unix Pathname The UNIX pathname for the printer. This might be a pathname
such as /dev/lp0. Be sure to assign the correct access permissions
to the printer. You can set permissions for a printer with the
UNIX chmod(1) command.
Driver The printer driver is a device-specific post-processor for
spooled output. The pathname of the driver can be up to 22
characters in length. If you need to specify a longer pathname,
edit the sp.config file. The driver can be a UNIX executable or a
shell script. When the driver is invoked, standard input is
taken from the print file and standard output is sent to the
printer device with characteristics set according to the PTERM
(UNIX) options specified for that printer. In addition five
command line arguments can be specified. Typical uses of the
driver are to execute device-specific formatting filters such as a
PostScript filter, or to redirect printing using a uux command.
Form The name of the default form to be mounted on the printer. The
name of the form can be up to 32 characters long. To print the
file, you must specify the exact form name when queuing a
spool file or when changing the mounted form or the form
requested. Form names are case-sensitive. You can mount
another form on the printer at any time, or you can use the usa
command to mount multiple forms on the printer.
Flow Control The following types of flow control are available:
none – Cancels any DTR or XON/XOFF flow control hand-
shaking that may be set.
User Menus
In addition to the UniVerse System Administration menus, UniVerse also
provides user menus to support print job administration and application conver-
sion functions.
Users can invoke the menus that control spooler queue functions with the
command PRINT.ADMIN.
The application conversion functions are supported only in compatibility flavor
accounts: PICK, INFORMATION, PIOPEN, REALITY, and IN2. Users can invoke
the Account Conversion menu with the command CONVERT.ACCOUNT.
The PTERM options described in Table B-1 apply to UniVerse systems running
Berkeley (BSD) and System V (SysV) implementations of the UNIX operating
system. The PTERM options described in Table B-3 apply to UniVerse systems
running on Windows NT systems. The term Not Supported means that the option
is not available for the system specified.
stty Equivalent
Option Setting Description
BSD SysV
BAUD 0 Hangs up the dataset connection. 0 0
rate Sets the baud rate of your rate rate
terminal to rate. Available baud
rates are 0, 50, 75, 110, 134, 150,
200, 300, 600, 1200, 1800, 2400,
4800, 9600, EXTA, EXTB.
BGSTOP ON Causes any job running in the tostop Not
background to stop if it attempts Supported
to output to your terminal.
OFF Lets background terminal output –tostop
to be multiplexed with fore-
ground output.
BREAK ON Causes intr, quit, susp, and dsusp Special isig
to cause a BREAK condition
within UniVerse. On BSD this is
supported by setting the above
keys to their default values.
stty Equivalent
Option Setting Description
BSD SysV
BREAK OFF Treats intr, quit, susp, and dsusp as Special −isig
(continued) normal input characters. On BSD
this is supported by turning off
all the above keys.
INTR The Break key is treated the same Default −ignbrk
as the intr key. condition brkint
IGNORE The Break key is ignored, no Not ignbrk
interrupt is generated. Supported −brkint
NUL The Break key is treated as the −ignbrk
input of a NUL (ASCII 0) −brkint
character.
BRK char brk can be used by special brk Not
programs that require input to Supported
terminate on a character other
than a newline. In UniVerse the
brk is treated the same as a
newline.
ON Sets the brk character to Return
(Ctrl-M).
OFF Turns off the brk character.
BSDELAY ON Specifies a delay of about .05 bs1 bs1
second when a backspace is
output.
OFF Specifies no delay upon output of bs0 bs0
a backspace.
CASE INVERT Inverts character case (uppercase Only in Only in
to lowercase and vice versa) on UniVerse UniVerse
input.
NOINVERT Character case is input without
any conversion.
UC-IN Translates uppercase input to Not iuclc
lowercase (which might be Supported
inverted to uppercase).
UC-OUT Translates lowercase output to olcuc
uppercase.
stty Equivalent
Option Setting Description
BSD SysV
CASE LC-IN Performs no translation of case Not −iuclc
(continued) on input (even though it still Supported
might be inverted).
LC-OUT Performs no translation of case −olcuc
on output.
XCASE Uppercase output is preceded xcase
with a backslash (\) to distin-
guish it from lowercase. This is
useful when UC-OUT is set
because in this case uppercase
and lowercase are printed in
uppercase.
NOXCASE No distinction on output −xcase
between uppercase and
lowercase.
UC Combines UC-IN and UC-OUT. lcase iuclc
On BSD this option also sets olcuc
XCASE.
LC Combines LC-IN and LC-OUT. −lcase −iuclc
On BSD this option sets −olcuc
NOXCASE.
CRMODE INLCR Converts newline to carriage Not inlcr
return on input. Supported
NOINLCR Doesn’t convert newline to −inlcr
carriage return on input.
IGNCR Ignores carriage return on input. igncr
NOIGNCR Doesn’t ignore carriage return on −igncr
input.
ICRNL Converts carriage return to icrnl
newline on input.
NOICRNL Doesn’t convert carriage return −icrnl
to newline on input.
ONLCR Converts newline to newline, onlcr
carriage return on output.
stty Equivalent
Option Setting Description
BSD SysV
CRMODE NOONLCR Doesn’t convert newline to Not −onlcr
(continued) newline, carriage return on Supported
output.
OCRNL Converts carriage return to ocrnl
newline on output.
NOOCRNL Prohibits conversion of carriage –ocrnl
return to newline on output.
ONOCR Prohibits output of carriage onocr
return when cursor is in
column 0.
NOONOCR Outputs carriage return when −onocr
cursor is in column 0.
ONLRET Newline performs carriage onlret
return function.
NOONL- Newline doesn’t perform −onlret
RET carriage return function.
ON Sets ICRNL and ONLCR, resets nl Special
all other values.
OFF Resets all CRMODE values. −nl
DATABITS 5−8 Changes the number of data bits Not cs5 cs6
on the terminal line protocol. Supported cs7 cs8
DSUSP char The dsusp (delayed-suspend) dsusp Not
character acts like the susp char- Supported
acter except that no action is
taken until the process actually
inputs the character. Thus the
dsusp character is a way to type-
ahead a susp character.
ON Sets the dsusp character to Ctrl-Y.
OFF Turns off the dsusp character.
stty Equivalent
Option Setting Description
BSD SysV
DTR ON Turns on DTR (Data Terminal mdmbuf Not
Ready) handshaking. Loss of Supported
DTR is treated the same as the
input of the stop character.
OFF Turns off DTR handshaking. Loss −mdmbuf
of DTR is treated as a hang up,
and foreground jobs are
terminated.
ECHO ON Turns the terminal echo on. echo echo
OFF Turns the terminal echo off. −echo −echo
FAST Echoes erase as backspace-space- crterase echoe
backspace, and echoes kill as a crtkill echok
series of backspace-space-
backspaces.
MEDIUM Echoes erase as backspace-space- crterase echoe
backspace. −crtkill −echok
SLOW Echoes erase as a backspace. −crterase −echoe
−crtkill −echok
PRINTER erase causes deleted characters to prterase Only in
be echoed backwards between \ UniVerse
and /.
CTRL Echoes all control characters (less ctlecho
than ASCII 32) in a printable
fashion as ^ followed by the
appropriate alphabetic character.
Echoes Del (ASCII 127) as Ctrl-?.
NOCTRL Echoes all control characters as −ctlecho
nonprintable control characters.
LF Echoes the newline character Not echonl
even when the echo is turned off. Supported
This mode is useful for some
half-duplex terminals.
NOLF Doesn’t echo the newline char- Default −echonl
acter when the echo is turned off. condition
stty Equivalent
Option Setting Description
BSD SysV
EOF char The eof (end-of-file) character is eof eof
used to terminate input to many
UNIX commands (mail, dc, and
others). In UniVerse the eof is
treated the same as a newline.
ON Sets the eof character to Ctrl-D.
OFF Turns off the eof character.
EOL char eol is the SysV equivalent of the Not eol
BSD brk character, its uses are the Supported
same, and in UniVerse it is
treated the same as a newline.
ON Sets the eol character to Return
(Ctrl-M).
OFF Turns off the eol character.
EOL2 char eol2 is a second eol character. Not eol2
Supported Machine
ON Sets the eol2 character to Esc
dependent
( Ctrl-[ ).
OFF Turns off the eol2 character.
ERASE char erase causes the previous char- erase erase
acter to be deleted from the
input.
ON Sets the erase character to
Backspace (Ctrl-H).
OFF Turns off the erase character.
stty Equivalent
Option Setting Description
BSD SysV
FFDELAY 0 Output is paged to the terminal Only in Only in
and the line printer, but the clear- UniVerse UniVerse
screen is not printed at the begin-
ning of each page on the
terminal, and no formfeeds are
sent to the line printer.
1 Clear-screens are sent to the
terminal, but no formfeeds are
sent to the line printer.
2 Clear-screens are sent to the ff0 ff0
terminal, and formfeeds are sent
to the line printer, output of a
formfeed causes no delay.
3 Clear-screens are sent to the ff1 ff1
terminal, and formfeeds are sent
to the line printer, output of a
formfeed caused a two-second
delay.
FILL OFF Specifies that all delays Default −ofill
(FFDELAY, LFDELAY, BSDELAY, Condition
TABS, VTDELAY) should pause.
They should not use fill
characters.
ON Specifies that all delays should Not ofill
use fill characters, the fill char- Supported
acter can either be a NUL or a
DEL (see below).
NUL Specifies than when delays are Not −ofdel
using fill characters, the character Supported
NUL should be used.
DEL Specifies than when delays are ofdel
using fill characters, the character
DEL should be used.
stty Equivalent
Option Setting Description
BSD SysV
FLUSH char The flush character stops all flush Not
output to the terminal. Unlike the Supported
stop character, all output is lost.
To resume output, another flush
character must be input.
ON Sets the flush character to Ctrl-O.
OFF Turns off the flush character.
FMC char A literal field mark (ASCII 254) Only in Only in
can be entered using the fmc UniVerse UniVerse
character.
ON Sets the fmc character to Ctrl-^.
OFF Turns off the fmc character.
INBUFF ON Input characters are not trans- cooked cooked
mitted until a carriage return is −raw −raw
received. Same as MODE LINE.
OFF Input characters are transmitted Only in Only in
as they are received (raw mode). UniVerse UniVerse
The difference from raw mode is
that for networking the data is
not packetized until a carriage
return is received. Same as
MODE EMULATE.
INPUTCTL ON Allows input of control Only in Only in
characters. UniVerse UniVerse
OFF Disallows input of control
characters.
TCL.RESET Disallows input of control char-
acters until TCL level is reached.
INTR char intr (interrupt) is used to termi- intr intr
nate a currently running job. In
UniVerse the intr character is
treated as a BREAK condition.
ON Sets the intr character to DEL
(Ctrl-?).
OFF Turns off the intr character.
stty Equivalent
Option Setting Description
BSD SysV
KILL char The kill character causes the kill kill
entire input line to be erased.
ON Sets the kill character to Ctrl-X.
OFF Turns off the kill character.
LCONT char lcont (line-continue) is a short- Only in Only in
hand way of extending an input UniVerse UniVerse
line at the Command Language
prompt. Typing the lcont char-
acter is the same as entering an
underscore (_) followed by a
newline.
ON Sets the lcont character to Ctrl-_.
OFF Turns off the lcont character.
LFDELAY 0 Specifies no delay for each cr0 nl0 cr0 nl0
newline.
1 A delay of about .08 second cr1 nl0 cr0 nl1
occurs after each newline.
2 A delay of about .10 second cr0 nl2 cr2 nl0
occurs after each newline.
3 A delay of about .16 second cr2 nl0 cr3 nl0
occurs after each newline.
4 A delay of about .18 second cr1 nl2 cr2 nl1
occurs after each newline.
5 A delay of about .26 second cr2 nl2 cr3 nl1
occurs after each newline.
6 A delay dependent on the cr0 nl1 cr1 nl0
column position occurs after each
newline. This mode has been
tuned for Teletype model 37s.
7 A delay dependent on the cr1 nl1 cr1 nl1
column position + about .08
second occurs after each newline.
8 A delay dependent on the cr2 nl1
column position + about .16
second occurs after each newline.
stty Equivalent
Option Setting Description
BSD SysV
LITOUT ON Outputs characters with normal −litout opost
post-processing.
OFF Outputs characters without litout −opost
postprocessing.
LNEXT char The lnext (literal-next) character lnext Not
causes the next character typed to Supported
be entered literally. No input
processing occurs. lnext can be
used to enter the erase character
literally into text. This option has
no effect when used in
UniVerse.
ON Sets the lnext character to Ctrl-V.
OFF Turns off the lnext character.
MODE LINE Input characters are not trans- cooked cooked
mitted until a carriage return is −raw −raw
received. Same as INBUFF ON.
RAW Input characters are transmitted raw raw
as they are received.
CHAR Input characters are transmitted cbreak Not
as they are received, except for Supported
special characters.
EMULATE Input characters are transmitted Only in Only in
as they are received (raw mode). UniVerse UniVerse
The difference from raw mode is
that for networking the data is
not packetized until a carriage
return is received. Same as
INBUFF OFF.
NOHANG ON Causes the loss of DTR to be nohan Not
ignored. Loss of carrier will not Supported
terminate a job.
OFF Causes the loss of DTR to be −nohan
treated as a hang up, and running
foreground jobs are terminated.
stty Equivalent
Option Setting Description
BSD SysV
PARITY NONE Specifies that no parity genera- even −parenb
tion is done for output, and no odd
parity checking is enforced on
input.
EVEN Even parity is generated for even parenb
output, and checked for on input −odd −parodd
(if enabled).
ODD Odd parity is generated for −even parend
output, and checked for on input odd parodd
(if enabled).
ENABLE Parity input checking is enabled, Default inpck
provided that the parity mode is condition
not set to NONE.
DISABLE Input parity checking is disabled, Not −inpck
characters of any parity are Supported
allowed.
ERR-IGN If input parity checking is inpar
enabled, errors (characters of the
wrong parity) are ignored.
ERR-MRK When input parity checking is −ignpar
enabled, errors are marked by parmrk
simulating a special input
sequence. This mode cannot be
used within UniVerse. If set, it
acts the same as ERR-IGN.
ERR-NUL When input parity checking is −ignpar
enabled, errors are input as the −parmrk
NUL character.
PENDIN ON Automatically retypes input and pendin
enters an erase character. This
mode has no effect within
UniVerse.
OFF Doesn’t automatically retype –pendin
input.
stty Equivalent
Option Setting Description
BSD SysV
QUIT char quit is used to terminate a quit quit
currently running job. However,
a core dump is also produced. In
UniVerse the quit character is
treated as a BREAK condition.
ON Sets the quit character to Ctrl-\.
OFF Turns off the quit character.
RPRNT char The rprnt (reprint) character rprnt Only in
causes the previous line to be UniVerse
redisplayed. This is useful when
transmission errors or back-
ground output has disturbed the
data on the terminal screen.
ON Sets the rprnt character to Ctrl-R.
OFF Turns off the rprnt character.
SMC char A literal subvalue mark (ASCII Only in Only in
252) can be entered using the smc UniVerse UniVerse
character.
ON Sets the smc character to Ctrl-\.
OFF Turns off the smc character.
SQLNULL ON Sets the null value character to Only in Only in
Ctrl-N. UniVerse UniVerse
OFF Turns off the null value character.
char Sets the null value character to
char.
START char The counterpart of the stop char- start See XON
acter, start resumes output after it
has been held. If the XON
STARTANY option is set, any
input character resumes output,
and the start character is the only
character not entered as data.
ON Sets the start character to Ctrl-Q.
OFF Turns off the start character.
stty Equivalent
Option Setting Description
BSD SysV
STOP char The stop character is used to stop See XON
temporarily stop output to the
terminal. Output is resumed by
typing the start character (above).
ON Sets the stop character to Ctrl-S.
OFF Turns off the stop character.
STOPBITS 1 The terminal line protocol is set Not −cstopb
for 1 stop bit. Supported
2 The terminal line protocol is set cstopb
for 2 stop bits.
STRIP ON Strips the eighth bit off input Not istrip
characters. Supported
OFF Doesn’t strip the eighth bit off −istrip
input characters.
SUSP char The susp (suspend) character susp Not
immediately causes the current Supported
job to stop. In UniVerse this char-
acter is treated as a BREAK
condition.
ON Sets the susp character to Ctrl-Z.
OFF Turns off the susp character.
SWTCH char swtch (switch) is used in conjunc- Not swtch
tion with shl to switch terminal Supported
input to the layering program (shl). Machine
dependent
ON Sets the swtch character to Ctrl-Z.
OFF Turns off the swtch character.
stty Equivalent
Option Setting Description
BSD SysV
TABS ON Turns tab expansion on. On −tabs tab3
output, a tab character is
expanded to the proper number of
spaces. Tab stops are set every 8
columns.
OFF Turns tab expansion off: on tabs tab0
output, a tab character is
unchanged. Some terminals (like
the ADDS Viewpoint) use a tab
character as a part of the cursor
movement function. On these
terminals TABS must be set to
OFF for cursor movement to
work properly.
TILDE ON Converts ~ (tilde) to ‘ (accent tilde Not
grave) on output. Supported
OFF Does not convert ~ (tilde). –tilde
TMC ON Sets the text mark character to Only in Only in
Ctrl-T. UniVerse UniVerse
OFF Turns off the text mark character.
char Sets the text mark character to
char.
VMC char A literal value mark (ASCII 253) Only in Only in
can be entered using the vmc UniVerse UniVerse
character.
ON Sets the vmc character to Ctrl-].
OFF Turns off the vmc character.
VTDELAY ON Specifies a two-second delay each Not vt1
time a vertical tab is output. Supported
OFF Specifies no delay time when a vt0
vertical tab is output.
stty Equivalent
Option Setting Description
BSD SysV
WERASE char The werase (word erase) character werase Only in
causes the previous word (up to UniVerse
but not including a space) to be
deleted.
ON Sets the werase character to
Ctrl-W.
OFF Turns off the werase character.
XON ON Turns on X-ON/X-OFF protocol. Special ixon
When a X-OFF is received by the
computer, all transmission stops
until an X-ON is received. On
BSD the X-OFF character is the
stop character and the X-ON is
the start character. This option is
implemented by setting stop and
start to their default values. On
SysV, X-OFF is always Ctrl-S,
and X-ON is always Ctrl-Q.
OFF Disables the X-ON/X-OFF −ixon
protocol. The X-OFF and the
X-ON character are treated as
normal input. On BSD this option
is implemented by turning off the
stop and start characters.
STARTANY Causes the receipt of any char- −decctq ixany
acter to act the same as X-ON, if
X-ON/X-OFF is enabled.
NOSTART- Requires receiving an X-ON char- decctq −ixany
ANY acter to restart transmission.
NOTANDEM Turns off the automatic X-OFF, notandem −ixoff
X-ON mode described above.
TANDEM Causes the computer, when its tandem ixoff
input buffer is almost full, to
transmit an X-OFF character to
the terminal, and when the buffer
is almost empty, to transmit an
X-ON. This lets the computer
communicate with another
device or computer.
Character Description
\E or \e The escape character (ASCII 27).
\n or \l The linefeed character (ASCII 10).
\r The carriage return character (ASCII 13).
\t The tab character (ASCII 9).
\b The backspace character (ASCII 8).
\f The formfeed character (ASCII 12).
\s A space (ASCII 32).
^x Represents a control character (ASCII 0 through 31). The
character x can be either uppercase or lowercase. Both ^A
and ^a are Ctrl-A, or ASCII 1. ^@ is ASCII 0, ^[ is ASCII 27
(or ESCAPE), ^\ is ASCII 28, ^] is ASCII 29, ^^ is ASCII 30,
and ^_ is ASCII 31. ^? is the DEL character (ASCII 127).
\nnn Represents the ASCII character with a value of nnn in octal.
For example, \033 is the escape character (ASCII 27).
\\ Represents the backslash ( \ ) character.
\, Represents the comma ( , ) character.
\^ Represents the caret ( ^ ) character.
Command Description
%pn Pushes parameter number n onto the stack. n is a number from
1 through 9.
%’c’ The ASCII value of character c is pushed onto the stack.
%{nnn} Decimal number nnn is pushed onto the top of the stack.
%d Pops the top parameter off the stack, and outputs it as a
decimal number.
%nd Pops the top parameter off the stack, and outputs it as a
decimal number in a field n bytes wide. Spaces are used to fill
out the field.
%0nd Like %nd, except that zeros are used to fill out the field.
%c The top of the stack is taken as a single ASCII character and
output.
%s The top of the stack is taken as a string and output.
%+ %–%* %/ The top two elements are popped off the stack and added,
subtracted, multiplied, or divided. The result is pushed back
on the stack. The fractional portion of a quotient is discarded.
%m The second element on the stack is the taken modulo of the
first element, and the result is pushed onto the stack.
%& %| %^ The top two elements are popped off the stack and a bitwise
AND, OR, or XOR operation is performed. The result is
pushed onto the stack.
%= %< %> The second element on the stack is tested for being equal to,
less than, or greater than the first element. If the comparison is
true, a 1 is pushed onto the stack, otherwise a 0 is pushed.
%! %~ The stack is popped, and either the logical or bitwise NOT of
the first element is pushed onto the stack.
%i One (1) is added to the first two parameters. This is useful for
terminals that use a one-based cursor address rather than a
zero-based.
%Px Pops the stack, and places the result into variable x, where x is
a lowercase letter (a–z).
Command Description
%gx Pushes the value of variable x on the top of the stack.
%? exp %t exp %e exp %;
Forms an if-then-else expression, with %? representing IF, %t
representing THEN, %e representing ELSE, and %; termi-
nating the expression. The else expression is optional. Else-If is
possible, e.g., %? C1 %t B1 %e C2 %t B2 %e C3 %t B3 %e C4 %t
B4 %e %; Cn are conditions, and Bn are bodies.
%% Outputs a percent sign ( % ).
terminfo
terminfo Usage termcap Type UniVerse
Source
acsc acs_chars acs String LINEDRAW.CHARACTER
am auto_right_margin am Boolean AUTOMATIC.RIGHT.
MARGIN
at1 at_1 String AT.NEGATIVE.1
at2 at_2 String AT.NEGATIVE.2
at3 at_3 String AT.NEGATIVE.3
at4 at_4 String AT.NEGATIVE.4
at5 at_5 String AT.NEGATIVE.5
at6 at_6 String AT.NEGATIVE.6
at7 at_7 String AT.NEGATIVE.7
at8 at_8 String AT.NEGATIVE.8
terminfo
terminfo Usage termcap Type UniVerse
Source
at9 at_9 String AT.NEGATIVE.9
at10 at_10 String AT.NEGATIVE.10
at11 at_11 String AT.NEGATIVE.11
at12 at_12 String AT.NEGATIVE.12
at13 at_13 String AT.NEGATIVE.13
at14 at_14 String AT.NEGATIVE.14
at15 at_15 String AT.NEGATIVE.15
at16 at_16 String AT.NEGATIVE.16
at17 at_17 String AT.NEGATIVE.17
at18 at_18 String AT.NEGATIVE.18
at19 at_19 String AT.NEGATIVE.19
at20 at_20 String AT.NEGATIVE.20
at21 at_21 String AT.NEGATIVE.21
at22 at_22 String AT.NEGATIVE.22
at23 at_23 String AT.NEGATIVE.23
at24 at_24 String AT.NEGATIVE.24
at25 at_25 String AT.NEGATIVE.25
at26 at_26 String AT.NEGATIVE.26
at27 at_27 String AT.NEGATIVE.27
at28 at_28 String AT.NEGATIVE.28
at29 at_29 String AT.NEGATIVE.29
at30 at_30 String AT.NEGATIVE.30
at31 at_31 String AT.NEGATIVE.31
at32 at_32 String AT.NEGATIVE.32
at33 at_33 String AT.NEGATIVE.33
at34 at_34 String AT.NEGATIVE.34
at35 at_35 String AT.NEGATIVE.35
at36 at_36 String AT.NEGATIVE.36
at37 at_37 String AT.NEGATIVE.37
at38 at_38 String AT.NEGATIVE.38
at39 at_39 String AT.NEGATIVE.39
terminfo
terminfo Usage termcap Type UniVerse
Source
at40 at_40 String AT.NEGATIVE.40
at41 at_41 String AT.NEGATIVE.41
at42 at_42 String AT.NEGATIVE.42
at43 at_43 String AT.NEGATIVE.43
at44 at_44 String AT.NEGATIVE.44
at45 at_45 String AT.NEGATIVE.45
at46 at_46 String AT.NEGATIVE.46
at47 at_47 String AT.NEGATIVE.47
at48 at_48 String AT.NEGATIVE.48
at49 at_49 String AT.NEGATIVE.49
at50 at_50 String AT.NEGATIVE.50
at51 at_51 String AT.NEGATIVE.51
at52 at_52 String AT.NEGATIVE.52
at53 at_53 String AT.NEGATIVE.53
at54 at_54 String AT.NEGATIVE.54
at55 at_55 String AT.NEGATIVE.55
at56 at_56 String AT.NEGATIVE.56
at57 at_57 String AT.NEGATIVE.57
at58 at_58 String AT.NEGATIVE.58
at59 at_59 String AT.NEGATIVE.59
at60 at_60 String AT.NEGATIVE.60
at61 at_61 String AT.NEGATIVE.61
at62 at_62 String AT.NEGATIVE.62
at63 at_63 String AT.NEGATIVE.63
at64 at_64 String AT.NEGATIVE.64
at65 at_65 String AT.NEGATIVE.65
at66 at_66 String AT.NEGATIVE.66
at67 at_67 String AT.NEGATIVE.67
at68 at_68 String AT.NEGATIVE.68
at69 at_69 String AT.NEGATIVE.69
at70 at_70 String AT.NEGATIVE.70
terminfo
terminfo Usage termcap Type UniVerse
Source
at71 at_71 String AT.NEGATIVE.71
at72 at_72 String AT.NEGATIVE.72
at73 at_73 String AT.NEGATIVE.73
at74 at_74 String AT.NEGATIVE.74
at75 at_75 String AT.NEGATIVE.75
at76 at_76 String AT.NEGATIVE.76
at77 at_77 String AT.NEGATIVE.77
at78 at_78 String AT.NEGATIVE.78
at79 at_79 String AT.NEGATIVE.79
at80 at_80 String AT.NEGATIVE.80
at81 at_81 String AT.NEGATIVE.81
at82 at_82 String AT.NEGATIVE.82
at83 at_83 String AT.NEGATIVE.83
at84 at_84 String AT.NEGATIVE.84
at85 at_85 String AT.NEGATIVE.85
at86 at_86 String AT.NEGATIVE.86
at87 at_87 String AT.NEGATIVE.87
at88 at_88 String AT.NEGATIVE.88
at89 at_89 String AT.NEGATIVE.89
at90 at_90 String AT.NEGATIVE.90
at91 at_91 String AT.NEGATIVE.91
at92 at_92 String AT.NEGATIVE.92
at93 at_93 String AT.NEGATIVE.93
at94 at_94 String AT.NEGATIVE.94
at95 at_95 String AT.NEGATIVE.95
at96 at_96 String AT.NEGATIVE.96
at97 at_97 String AT.NEGATIVE.97
at98 at_98 String AT.NEGATIVE.98
at99 at_99 String AT.NEGATIVE.99
at100 at_100 String AT.NEGATIVE.100
at101 at_101 String AT.NEGATIVE.101
terminfo
terminfo Usage termcap Type UniVerse
Source
at102 at_102 String AT.NEGATIVE.102
at103 at_103 String AT.NEGATIVE.103
at104 at_104 String AT.NEGATIVE.104
at105 at_105 String AT.NEGATIVE.105
at106 at_106 String AT.NEGATIVE.106
at107 at_107 String AT.NEGATIVE.107
at108 at_108 String AT.NEGATIVE.108
at109 at_109 String AT.NEGATIVE.109
at110 at_110 String AT.NEGATIVE.110
at111 at_111 String AT.NEGATIVE.111
at112 at_112 String AT.NEGATIVE.112
at113 at_113 String AT.NEGATIVE.113
at114 at_114 String AT.NEGATIVE.114
at115 at_115 String AT.NEGATIVE.115
at116 at_116 String AT.NEGATIVE.116
at117 at_117 String AT.NEGATIVE.117
at118 at_118 String AT.NEGATIVE.118
at119 at_119 String AT.NEGATIVE.119
bel bell bl String BELL
blink enter_blink_mode mb String VIDEO.BLINK
bold enter_bold_mode md String VIDEO.BOLD
bs backspace bs String BACKSPACE
bw auto_left_margin bw Boolean AUTOMATIC.LEFT.
MARGIN
cbt back_tab bt String BACK.TAB
chts cursor_hard Boolean HARD.CURSOR
civis cursor_invisible vi String CURSOR.INVISIBLE
clear clear_screen cl String ERASE.SCREEN
cmdch command_character CC String COMMAND.CHARACTER
cnorm cursor_normal ve String CURSOR.NORMAL
cols columns co Number COLUMNS
terminfo
terminfo Usage termcap Type UniVerse
Source
cr carriage_return cr String CARRIAGE.RETURN
csr change_scroll_region cs Prm. String CHANGE.SCROLL.
REGION
ctab clear_tab String TAB.STOP.CLEAR
cub parm_left_cursor LE Prm. String MOVE.CURSOR.
LEFT.PARM
cub1 cursor_left le String MOVE.CURSOR.LEFT
cud parm_down_cursor DO Prm. String MOVE.CURSOR.
DOWN.PARM
cud1 cursor_down do String MOVE.CURSOR.DOWN
cuf parm_right_cursor RI Prm. String MOVE.CURSOR.
RIGHT.PARM
cuf1 cursor_right nd String MOVE.CURSOR.RIGHT
cup cursor_address cm Prm. String MOVE.CURSOR.TO.
ADDRESS
cuu parm_up_cursor UP Prm. String MOVE.CURSOR.UP.
PARM
cuu1 cursor_up up String MOVE.CURSOR.UP
cvvis cursor_visible vs String CURSOR.VISIBLE
da memory_above da Boolean MEMORY.ABOVE
db memory_below db Boolean MEMORY.BELOW
dch parm_dch DC Prm. String DELETE.CHARACTER.
PARM
dch1 delete_character dc String DELETE.CHARACTER
dim enter_dim_mode mh String VIDEO.DIM
dl parm_delete_line DL Prm. String DELETE.LINE.PARM
dl1 delete_line dl String DELETE.LINE
dldblc d_ld_botleft String DBLE.LDRAW.LO.LEFT.
CORNER
dldbrc d_ld_botright String DBLE.LDRAW.LO.
RIGHT.CORNER
dldh d_ld_hor String DBLE.LDRAW.HORIZ
dldtcr d_ld_cross String DBLE.LDRAW.CROSS
dldtd d_ld_tdown String DBLE.LDRAW.LO.TEE
terminfo
terminfo Usage termcap Type UniVerse
Source
dldtl d_ld_tleft String DBLE.LDRAW.LEFT.TEE
dldtr d_ld_tright String DBLE.LDRAW.RIGHT.
TEE
dldtu d_ld_tup String DBLE.LDRAW.UP.TEE
dldulc d_ld_upleft String DBLE.LDRAW.UP.LEFT.
CORNER
dldurc d_ld_upright String DBLE.LDRAW.UP.
RIGHT.CORNER
dldv d_ld_vert String DBLE.LDRAW.VERT
dsl dis_status_line ds String STATUS.LINE.DISABLE
ebos clr_bos String ERASE.TO.BEGINNING
OF.SCREEN
ech erase_chars ec Prm. String ERASE.CHARACTERS
ed clr_eos cd String ERASE.TO.END.OF.
SCREEN
el clr_eol ce String ERASE.TO.END.OF.
LINE
el1 clr_bol cb String ERASE.TO.
BEGINNING.OF.LINE
eline clr_line String ERASE.LINE
enacs ena_acs eA String ENABLE.LINEDRAW
eo erase_overstrike eo Boolean ERASES.OVERSTRIKE
eslok status_line_esc_ok es Boolean STATUS.LINE.ESC.OK
ff form_feed ff String FORM.FEED
flash flash_screen vb String SCREEN.FLASH
fsl from_status_line fs String STATUS.LINE.END
gn generic_type gn Boolean GENERIC.TYPE
gofl goto_func_line Prm. String FUNCTION.LINE.
BEGIN
hc hard_copy hc Boolean HARD.COPY
hd down_half_line hd String DOWN.HALF.LINE
hfl has_function_line Boolean HAS.FUNCTION.LINE
home cursor_home ho String MOVE.CURSOR.TO.
HOME
terminfo
terminfo Usage termcap Type UniVerse
Source
hpa column_address ch Prm. String MOVE.CURSOR.TO.
COLUMN
hs has_status_line hs Boolean HAS.STATUS.LINE
ht tab ta String TAB
hts set_tab st String TAB.STOP.SET
hu up_half_line hu String UP.HALF.LINE
hz tilde_glitch hz Boolean UNABLE.TO.PRINT.
TILDE
ich parm_ich IC Prm. String INSERT.CHARACTER.
PARM
ich1 ins_prefix ic String INS.PREFIX
ichx insert_character String INSERT.CHARACTER
if init_file if String INIT.FILE
il parm_insert_line il Prm. String INSERT.LINE.PARM
il1 insert_line al String INSERT.LINE
in insert_null_glitch in Boolean INSERT.NULL.SPECIAL
ind scroll_forward sf String SCROLL.UP
indn parm_index SF Prm. String SCROLL.UP.PARM
invis enter_secure_mode mk String VIDEO.BLANK
ip insert_padding ip String INSERT.PAD
iprog init_prog iP String INIT.PROG
is1 init_1string i1 String INIT.1STRING
is2 init_2string is String INIT.2STRING
is3 init_3string i2 String INIT.3STRING
it init_tabs Number TAB.STOP.INITIAL
kBEG key_sbeg &9 String KEY.SBEG
kCAN key_scancel &0 String KEY.SCANCEL
kCMD key_scommand *1 String KEY.SCOMMAND
kCPY key_scopy *2 String KEY.SCOPY
kCRT key_screate *3 String KEY.SCREATE
kDC key_sdc *4 String KEY.SDC
kDL key_sdl *5 String KEY.SDL
terminfo
terminfo Usage termcap Type UniVerse
Source
kEND key_send *7 String KEY.SEND
kEOL key_seol *8 String KEY.SEOL
kEXT key_sexit *9 String KEY.SEXIT
kFND key_sfind *0 String KEY.SFIND
kHLP key_shelp #1 String KEY.SHELP
kHOM key_shome #2 String KEY.SHOME
kIC key_sic #3 String KEY.SIC
kLFT key_sleft #4 String KEY.SLEFT
kMOV key_smove %b String KEY.SMOVE
kMSG key_smessage %a String KEY.SMESSAGE
kNXT key_snext %c String KEY.SNEXT
kOPT key_soptions %d String KEY.SOPTIONS
kPRT key_sprint %f String KEY.SPRINT
kPRV key_sprevious %e String KEY.SPREVIOUS
kRDO key_sredo %g String KEY.SREDO
kRES key_sresume %j String KEY.SRESUME
kRIT key_sright %i String KEY.SRIGHT
kRPL key_sreplace %h String KEY.SREPLACE
kSAV key_ssave !1 String KEY.SSAVE
kSPD key_ssuspend !2 String KEY.SSUSPEND
kUND key_sundo !3 String KEY.SUNDO
ka1 key_a1 K1 String KEY.A1
ka3 key_a3 K3 String KEY.A3
kb2 key_b2 K2 String KEY.B2
kbeg key_beg @1 String KEY.BEG
kbs key_backspace kb String KEY.BACKSPACE
kc1 key_c1 K4 String KEY.C1
kc3 key_c3 K5 String KEY.C3
kcan key_cancel @2 String KEY.CANCEL
kcbt key_cbt KB String KEY.BACK.TAB
kclo key_close @3 String KEY.CLOSE
terminfo
terminfo Usage termcap Type UniVerse
Source
kclr key_clear KC String KEY.ERASE.SCREEN
kcmd key_command @4 String KEY.COMMAND
kcpy key_copy @5 String KEY.COPY
kcrt key_create @6 String KEY.CREATE
kctab key_ctab kt String KEY.TAB.STOP.CLEAR
kcub1 key_left kl String KEY.MOVE.CURSOR.
LEFT
kcud1 key_down kd String KEY.MOVE.CURSOR.
DOWN
kcuf1 key_right kr String KEY.MOVE.CURSOR.
RIGHT
kcuu1 key_up ku String KEY.MOVE.CURSOR.
UP
kdch1 key_dc kD String KEY.DELETE.
CHARACTER
kdl1 key_dl kL String KEY.DELETE.LINE
kebck ke_back String KEYEDIT.MOVE.
BACKWARD
kebs ke_backspace String KEYEDIT.BACKSPACE
ked key_eos kS String KEY.ERASE.END.OF.
SCREEN
kedel ke_delete_ String KEYEDIT.DELETE.
character CHARACTER
keeol ke_eof String KEYEDIT.ERASE.END.
OF.FIELD
keera ke_erase String KEYEDIT.ERASE.FIELD
keesc ke_escape_prefix String KEYEDIT.ESCAPE
kefun ke_function_prefix String KEYEDIT.FUNCTION
kefwd ke_forward String KEYEDIT.MOVE.FOR-
WARD
keins ke_ins_character String KEYEDIT.INSERT.
CHARACTER
keiof ke_insoff String KEYEDIT.INSERT.
MODE.END
terminfo
terminfo Usage termcap Type UniVerse
Source
keion ke_inson String KEYEDIT.INSERT.
MODE.BEGIN
keitg ke_ins_toggle String KEYEDIT.INSERT.
MODE.TOGGLE
kel key_eol kE String KEY.ERASE.END.OF.
LINE
kend key_end @7 String KEY.END
kent key_enter @8 String KEY.ENTER
kexit ke_exit_input_mode String KEYEDIT.EXIT
kext key_exit @9 String KEY.EXIT
kf0 key_f0 k0 String KEY.FUNCTION.0
kf1 key_f1 k1 String KEY.FUNCTION.1
kf2 key_f2 k2 String KEY.FUNCTION.2
kf3 key_f3 k3 String KEY.FUNCTION.3
kf4 key_f4 k4 String KEY.FUNCTION.4
kf5 key_f5 k5 String KEY.FUNCTION.5
kf6 key_f6 k6 String KEY.FUNCTION.6
kf7 key_f7 k7 String KEY.FUNCTION.7
kf8 key_f8 k8 String KEY.FUNCTION.8
kf9 key_f9 k9 String KEY.FUNCTION.9
kf10 key_f10 k; String KEY.FUNCTION.10
kf11 key_f11 F1 String KEY.FUNCTION.11
kf12 key_f12 F2 String KEY.FUNCTION.12
kf13 key_f13 F3 String KEY.FUNCTION.13
kf14 key_f14 F4 String KEY.FUNCTION.14
kf15 key_f15 F5 String KEY.FUNCTION.15
kf16 key_f16 F6 String KEY.FUNCTION.16
kf17 key_f17 F7 String KEY.FUNCTION.17
kf18 key_f18 F8 String KEY.FUNCTION.18
kf19 key_f19 F9 String KEY.FUNCTION.19
kf20 key_f20 FA String KEY.FUNCTION.20
kf21 key_f21 FB String KEY.FUNCTION.21
terminfo
terminfo Usage termcap Type UniVerse
Source
kf22 key_f22 FC String KEY.FUNCTION.22
kf23 key_f23 FD String KEY.FUNCTION.23
kf24 key_f24 FE String KEY.FUNCTION.24
kf25 key_f25 FF String KEY.FUNCTION.25
kf26 key_f26 FG String KEY.FUNCTION.26
kf27 key_f27 FH String KEY.FUNCTION.27
kf28 key_f28 FI String KEY.FUNCTION.28
kf29 key_f29 FJ String KEY.FUNCTION.29
kf30 key_f30 FK String KEY.FUNCTION.30
kf31 key_f31 FL String KEY.FUNCTION.31
kf32 key_f32 FM String KEY.FUNCTION.32
kf33 key_f33 FN String KEY.FUNCTION.33
kf34 key_f34 FO String KEY.FUNCTION.34
kf35 key_f35 FP String KEY.FUNCTION.35
kf36 key_f36 FQ String KEY.FUNCTION.36
kf37 key_f37 FR String KEY.FUNCTION.37
kf38 key_f38 FS String KEY.FUNCTION.38
kf39 key_f39 FT String KEY.FUNCTION.39
kf40 key_f40 FU String KEY.FUNCTION.40
kf41 key_f41 FV String KEY.FUNCTION.41
kf42 key_f42 FW String KEY.FUNCTION.42
kf43 key_f43 FX String KEY.FUNCTION.43
kf44 key_f44 FY String KEY.FUNCTION.44
kf45 key_f45 FZ String KEY.FUNCTION.45
kf46 key_f46 Fa String KEY.FUNCTION.46
kf47 key_f47 Fb String KEY.FUNCTION.47
kf48 key_f48 Fc String KEY.FUNCTION.48
kf49 key_f49 Fd String KEY.FUNCTION.49
kf50 key_f50 Fe String KEY.FUNCTION.50
kf51 key_f51 Ff String KEY.FUNCTION.51
kf52 key_f52 Fg String KEY.FUNCTION.52
terminfo
terminfo Usage termcap Type UniVerse
Source
kf53 key_f53 Fh String KEY.FUNCTION.53
kf54 key_f54 Fi String KEY.FUNCTION.54
kf55 key_f55 Fj String KEY.FUNCTION.55
kf56 key_f56 Fk String KEY.FUNCTION.56
kf57 key_f57 Fl String KEY.FUNCTION.57
kf58 key_f58 Fm String KEY.FUNCTION.58
kf59 key_f59 Fn String KEY.FUNCTION.59
kf60 key_f60 Fo String KEY.FUNCTION.60
kf61 key_f61 Fp String KEY.FUNCTION.61
kf62 key_f62 Fq String KEY.FUNCTION.62
kf63 key_f63 Fr String KEY.FUNCTION.63
kfnd key_find @0 String KEY.FIND
khlp key_help %1 String KEY.HELP
khome key_home kh String KEY.MOVE.CURSOR.
TO.HOME
khts key_stab kT String KEY.TAB.STOP.SET
kich1 key_ic kI String KEY.IC
kichx key_ich1 String KEY.INSERT.
CHARACTER
kil1 key_il kA String KEY.INSERT.LINE
kind key_sf kF String KEY.SCROLL.UP
kll key_ll kH String KEY.MOVE.CURSOR.
TO.LAST.LINE
km has_meta_key km Boolean HAS.META.KEY
kmov key_move %4 String KEY.MOVE
kmrk key_mark %2 String KEY.MARK
kmsg key_message %3 String KEY.MESSAGE
knp key_npage kN String KEY.NEXT.PAGE
knxt key_next %5 String KEY.NEXT
kopn key_open %6 String KEY.OPEN
kopt key_options %7 String KEY.OPTIONS
kpp key_ppage kP String KEY.PREVIOUS.PAGE
terminfo
terminfo Usage termcap Type UniVerse
Source
kprt key_print %9 String KEY.PRINT
kprv key_previous %8 String KEY.PREVIOUS
krdo key_redo %0 String KEY.REDO
kref key_reference &1 String KEY.REFERENCE
kres key_resume &5 String KEY.RESUME
krfr key_refresh &2 String KEY.REFRESH
kri key_sr kR String KEY.SCROLL.DOWN
krmir key_eic kM String KEY.INSERT.MODE.END
krpl key_replace &3 String KEY.REPLACE
krst key_restart &4 String KEY.RESTART
ksav key_save &6 String KEY.SAVE
ksend key_send *7 String KEY.SEND
kslt key_select *6 String KEY.SELECT
ksmir key_smir String KEY.INSERT.MODE.ON
kspd key_suspend &7 String KEY.SUSPEND
ktbc key_catab ka String KEY.TAB.STOP.CLEAR.ALL
ktmir key_toggle_ir String KEY.INSERT.MOVE.
TOGGLE
kund key_undo &8 String KEY.UNDO
ldatt line_attribute Number LINE.ATTRIBUTE
ldbl ld_botleft String LINEDRAW.LOWER.
LEFT.CORNER
ldblcdh ld_boledho String LDRAW.LO.LEFT.
CORNER.DBLE.HORIZ
ldblcdv ld_boledve String LDRAW.LO.LEFT.
CORNER.DBLE.VERT
ldbr ld_botright String LINEDRAW.LOWER.
RIGHT.CORNER
ldbrcdh ld_boridho String LDRAW.LO.RIGHT.
CORNER.DBLE.HORIZ
ldbrcdv ld_boridve String LDRAW.LO.RIGHT.
CORNER.DBLE.VERT
terminfo
terminfo Usage termcap Type UniVerse
Source
ldbtdh ld_tbodhor String LDRAW.LOWER.TEE.
DBLE.HORIZ
ldbtdv ld_tbodver String LDRAW.LOWER.TEE.
DBLE.VERT
ldcrdh ld_cr_d_ho String LDRAW.CROSS.DBLE.
HORIZ
ldcrdv ld_cr_d_ve String LDRAW.CROSS.DBLE.
VERT
ldhb ld_horbot String LINEDRAW.LOWER.
HORIZONTAL
ldhc lc_horctr String LINEDRAW.CENTER.
HORIZONTAL
ldht ld_hortop String LINEDRAW.UPPER.
HORIZONTAL
ldltdh ld_tledhor String LDRAW.LEFT.TEE.DBLE.
HORIZ
ldltdv ld_tledver String LDRAW.LEFT.TEE.DBLE.
VERT
ldrtdh ld_tridhor String LDRAW.RIGHT.TEE.
DBLE.HORIZ
ldrtdv ld_tridver String LDRAW.RIGHT.TEE.
DBLE.VERT
ldtc ld_tcross String LINEDRAW.CROSS
ldtd ld_tdown String LINEDRAW.UPPER.TEE
ldtl ld_tleft String LINEDRAW.RIGHT.TEE
ldtr ld_tright String LINEDRAW.LEFT.TEE
ldtu ld_tup String LINEDRAW.LOWER.TEE
ldul ld_upleft String LINEDRAW.UPPER.
LEFT.CORNER
ldulcdh ld_upledho String LDRAW.UP.LEFT.
CORNER.DBLE.HORIZ
ldulcdv ld_upledve String LDRAW.UP.LEFT.
CORNER.DBLE.VERT
ldur ld_upright String LINEDRAW.UPPER.
RIGHT.CORNER
terminfo
terminfo Usage termcap Type UniVerse
Source
ldurcdh ld_upridho String LDRAW.UP.RIGHT.
CORNER.DBLE.HORIZ
ldurcdv ld_upridve String LDRAW.UP.RIGHT.
CORNER.DBLE.VERT
ldutdh ld_tupdhor String LDRAW.UP.TEE.DBLE.
HORIZ
ldutdv ld_tupdver String LDRAW.UP.TEE.DBLE.
VERT
ldvc ld_vertcenter String LINEDRAW.CENTER.
VERTICAL
ldvl ld_vertleft String LINEDRAW.LEFT.
VERTICAL
ldvr ld_vertright String LINEDRAW.RIGHT.
VERTICAL
lf linefeed lf String LINE.FEED
lf0 lab_f0 l0 String LABEL.KEY.FUNCTION.0
lf1 lab_f1 l1 String LABEL.KEY.FUNCTION.1
lf2 lab_f2 l2 String LABEL.KEY.FUNCTION.2
lf3 lab_f3 l3 String LABEL.KEY.FUNCTION.3
lf4 lab_f4 l4 String LABEL.KEY.FUNCTION.4
lf5 lab_f5 l5 String LABEL.KEY.FUNCTION.5
lf6 lab_f6 l6 String LABEL.KEY.FUNCTION.6
lf7 lab_f7 l7 String LABEL.KEY.FUNCTION.7
lf8 lab_f8 l8 String LABEL.KEY.FUNCTION.8
lf9 lab_f9 l9 String LABEL.KEY.FUNCTION.9
lf10 lab_f10 la String LABEL.KEY.FUNCTION.10
lf11 lab_f11 String LABEL.KEY.FUNCTION.11
lf12 lab_f12 String LABEL.KEY.FUNCTION.12
lf13 lab_f13 String LABEL.KEY.FUNCTION.13
lf14 lab_f14 String LABEL.KEY.FUNCTION.14
lf15 lab_f15 String LABEL.KEY.FUNCTION.15
lf16 lab_f16 String LABEL.KEY.FUNCTION.16
lf17 lab_f17 String LABEL.KEY.FUNCTION.17
terminfo
terminfo Usage termcap Type UniVerse
Source
lf18 lab_f18 String LABEL.KEY.FUNCTION.18
lf19 lab_f19 String LABEL.KEY.FUNCTION.19
lf20 lab_f20 String LABEL.KEY.FUNCTION.20
lf21 lab_f21 String LABEL.KEY.FUNCTION.21
lf22 lab_f22 String LABEL.KEY.FUNCTION.22
lf23 lab_f23 String LABEL.KEY.FUNCTION.23
lf24 lab_f24 String LABEL.KEY.FUNCTION.24
lf25 lab_f25 String LABEL.KEY.FUNCTION.25
lf26 lab_f26 String LABEL.KEY.FUNCTION.26
lf27 lab_f27 String LABEL.KEY.FUNCTION.27
lf28 lab_f28 String LABEL.KEY.FUNCTION.28
lf29 lab_f29 String LABEL.KEY.FUNCTION.29
lf30 lab_f30 String LABEL.KEY.FUNCTION.30
lf31 lab_f31 String LABEL.KEY.FUNCTION.31
lf32 lab_f32 String LABEL.KEY.FUNCTION.32
lf33 lab_f33 String LABEL.KEY.FUNCTION.33
lf34 lab_f34 String LABEL.KEY.FUNCTION.34
lf35 lab_f35 String LABEL.KEY.FUNCTION.35
lf36 lab_f36 String LABEL.KEY.FUNCTION.36
lf37 lab_f37 String LABEL.KEY.FUNCTION.37
lf38 lab_f38 String LABEL.KEY.FUNCTION.38
lf39 lab_f39 String LABEL.KEY.FUNCTION.39
lf40 lab_f40 String LABEL.KEY.FUNCTION.40
lf41 lab_f41 String LABEL.KEY.FUNCTION.41
lf42 lab_f42 String LABEL.KEY.FUNCTION.42
lf43 lab_f43 String LABEL.KEY.FUNCTION.43
lf44 lab_f44 String LABEL.KEY.FUNCTION.44
lf45 lab_f45 String LABEL.KEY.FUNCTION.45
lf46 lab_f46 String LABEL.KEY.FUNCTION.46
lf47 lab_f47 String LABEL.KEY.FUNCTION.47
lf48 lab_f48 String LABEL.KEY.FUNCTION.48
terminfo
terminfo Usage termcap Type UniVerse
Source
lf49 lab_f49 String LABEL.KEY.FUNCTION.49
lf50 lab_f50 String LABEL.KEY.FUNCTION.50
lf51 lab_f51 String LABEL.KEY.FUNCTION.51
lf52 lab_f52 String LABEL.KEY.FUNCTION.52
lf53 lab_f53 String LABEL.KEY.FUNCTION.53
lf54 lab_f54 String LABEL.KEY.FUNCTION.54
lf55 lab_f55 String LABEL.KEY.FUNCTION.55
lf56 lab_f56 String LABEL.KEY.FUNCTION.56
lf57 lab_f57 String LABEL.KEY.FUNCTION.57
lf58 lab_f58 String LABEL.KEY.FUNCTION.58
lf59 lab_f59 String LABEL.KEY.FUNCTION.59
lf60 lab_f60 String LABEL.KEY.FUNCTION.60
lf61 lab_f61 String LABEL.KEY.FUNCTION.61
lf62 lab_f62 String LABEL.KEY.FUNCTION.62
lf63 lab_f63 String LABEL.KEY.FUNCTION.63
lh label_height lh Number LABEL.HEIGHT
lines lines li Number LINES
ll cursor_to_ll ll String MOVE.CURSOR.TO.
LAST.LINE
lm lines_of_memory lm Number LINES.OF.MEMORY
lw label_width lw Number LABEL.WIDTH
macs move_alternate_ Boolean MOVE.LINEDRAW.
charset MODE
mc0 print_screen ps String PRINT.SCREEN
mc4 prtr_off pf String PRINT.MODE.BEGIN
mc5 prtr_on po String PRINT.MOVE.END
mc5i prtr_silent 5i Boolean PRTR.SILENT
mc5p prtr_non pO String PRTR.NON
mgc clear_margins MC String CLEAR.MARGINS
mir move_insert_mode mi Boolean MOVE.INSERT.MODE
mrcup cursor_mem_address CM Prm. String CURSOR.MEM.
ADDRESS
terminfo
terminfo Usage termcap Type UniVerse
Source
msgr move_standout_mode ms Boolean MOVE.VIDEO.MODE
nel newline nw String NEWLINE
nlab num_labels Nl Number NUM.LABELS
norm enter_normal_video String VIDEO.NORMAL
npc no_pad_char NP Boolean NO.PAD.CHAR
nrrmc non_rev_rmcup NR Boolean NON.REV.RMCUP
nxon needs_xon_xoff nx Boolean NEEDS.XON.XOFF
os over_strike os Boolean OVERSTRIKES
pad pad_char pc String PADDING.CHARACTER
pb padding_baud_rate pb Number PAD.BAUD.RATE
pblnk pro_blink String PROTECT.VIDEO.BLINK
pbold pro_bold String PROTECT.VIDEO.BOLD
pdim pro_dim String PROTECT.VIDEO.DIM
pfkey pkey_key pk String PKEY.KEY
pfloc pkey_local pl String PKEY.LOCAL
pfx pkey_xmit px String PKEY.XMIT
pinv pro_blank String PROTECT.VIDEO.BLANK
pln plab_norm pn String PLAB.NORM
pnorm pro_normal String PROTECT.VIDEO.
NORMAL
prcol protect_column String WRITE.PROTECT.
COLUMN
prev pro_reverse String PROTECT.VIDEO.
REVERSE
prot enter_protected_mode mp String ENTER.PROTECTED.
MODE
pso pro_standout String PROTECT.VIDEO.
STANDOUT
pulin pro_underline String PROTECT.VIDEO.
UNDERLINE
rc restore_cursor rc String CURSOR.RESTORE
refl leave_func_line String FUNCTION.LINE.END
rep repeat_char rp String REPEAT.CHAR
terminfo
terminfo Usage termcap Type UniVerse
Source
rev enter_reverse_mode mr String VIDEO.REVERSE
rf reset_file rf String RESET.FILE
rfi req_for_input RF String REQ.FOR.INPUT
ri scroll_reverse sr String SCROLL.DOWN
rin parm_rindex SR Prm. String SCROLL.DOWN.PARM
rmacs exit_alt_charset_mode ae String LINEDRAW.END
rmam exit_am_mode RA String EXIT.AM.MODE
rmblk end_block_mode String BLOCK.MODE.END
rmclk klick_off String KEYCLICK.OFF
rmcup exit_ca_mode te String EXIT.CA.MODE
rmdc exit_delete_mode ed String EXIT.DELETE.MODE
rmir exit_insert_mode ei String INSERT.MODE.END
rmkx keypad_local ke String KEYPAD.LOCAL
rmlck exit_keyboard_lock String KEYBOARD.LOCK.OFF
rmln label_off LF String LABEL.OFF
rmm meta_off mo String META.OFF
rmmon exit_monitor_mode String MONITOR.MODE.OFF
rmp char_padding rP String CHAR.PADDING
rmpro exit_screen_protect String SCREEN.PROTECT.END
rmscr end_scroll_mode String SCROLL.MODE.END
rmso exit_standout_mode se String EXIT.STANDOUT.MODE
rmul exit_underline_mode ue String EXIT.UNDERLINE.MODE
rmwp exit_write_protect String WRITE.PROTECT.END
rmxon exit_xon_mode RX String EXIT.XON.MODE
rs1 reset_1string r1 String RESET.1STRING
rs2 reset_2string r2 String RESET.2STRING
rs3 reset_3string r3 String RESET.3STRING
sc save_cursor sc String CURSOR.SAVE
seom store_eom String STORE.END.OF.MESSAGE
sgr set_attributes sa Prm. String SET.ATTRIBUTES
sgr0 exit_attribute_mode me String EXIT.ATTRIBUTE.MODE
terminfo
terminfo Usage termcap Type UniVerse
Source
smacs enter_alt_charset_mode as String LINEDRAW.BEGIN
smam enter_am_mode SA String ENTER.AM.MODE
smblk begin_block_mode String BLOCK.MODE.BEGIN
smclk klick_on String KEYCLICK.ON
smcup enter_ca_mode ti String ENTER.CA.MODE
smdc enter_delete_mode dm String ENTER.DELETE.MODE
smgl set_left_margin ML String SET.LEFT.MARGIN
smgr set_right_margin MR String SET.RIGHT.MARGIN
smir enter_insert_mode im String INSERT.MODE.BEGIN
smkx keypad_xmit ks String KEYPAD.XMIT
smlck enter_keyboard_lock String KEYBOARD.LOCK.ON
smln label_on LO String LABEL.ON
smm meta_on mm String META.ON
smmon enter_monitor_mode String MONITOR.MODE.ON
smpro enter_screen_protect String SCREEN.PROTECT.BEGIN
smscr begin_scroll_mode String SCROLL.MODE.BEGIN
smso enter_standout_mode so String VIDEO.STANDOUT
smul enter_underline_mode us String VIDEO.UNDERLINE
smwp enter_write_protect String WRITE.PROTECT.BEGIN
smxon enter_xon_mode SX String ENTER.XON.MODE
sndla send_aline String SEND.LINE.ALL
sndlu send_uline String SEND.LINE.
UNPROTECTED
sndma send_amessage String SEND.MESSAGE.ALL
sndmu send_umessage String SEND.MESSAGE.
UNPROTECTED
sndpa send_apage String SEND.PAGE.ALL
sndpu send_upage String SEND.PAGE.
UNPROTECTED
ssom store_som String STORE.START.OF.MES-
SAGE
tbc clear_all_tabs ct String CLEAR.ALL.TAB.STOPS
terminfo
terminfo Usage termcap Type UniVerse
Source
termf field_terminator String TERMINATE.FIELD
terml line_terminator String TERMINATE.LINE
termp page_terminator String TERMINATE.PAGE
tsl to_status_line ts String STATUS.LINE.BEGIN
uc underline_char uc String UNDERLINE.CHAR
ul transparent_ ul Boolean TRANSPARENT.
underline UNDERLINE
vidof video_off String SCREEN.VIDEO.OFF
vidon video_on String SCREEN.VIDEO.ON
vpa row_address cv Prm. String MOVE.CURSOR.TO.ROW
vt virtual_terminal Number VIRTUAL.TERMINAL
wind set_window wi Prm. String SET.WINDOW
wsl width_status_line ws Number STATUS.LINE.WIDTH
xenl eat_newline_glitch xn Boolean RIGHT.MARGIN.EATS.
NEWLINE
xhp ceol_standout_glitch xs Boolean CEOL.STANDOUT.GLITCH
xmc magic_cookie_glitch sg Number VIDEO.SPACES
xoffc xoff_character XF String XOFF.CHARACTER
xon xon_xoff xo Boolean XON.XOFF
xonc xon_character XN String XON.CHARACTER
xsb beehive_glitch xb Boolean BEEHIVE.GLITCH
xt dest_tabs_magic_smso xt Boolean DEST.TABS.MAGIC.SMSO
Number Systems
Most people use the decimal system for representing numbers. This system uses
the numerals 0 through 9 to represent the numbers 0 through 9, and uses a place
value system to represent numbers larger or smaller. For example, the numeral 12
(in base 10) means 1 times 10 to the first power plus 2 times 10 to the 0 power (any
number to the 0 power equals 1) for a total of 12. The decimal point allows nega-
tive powers of 10 to represent quantities less than 1. The numeral 1.2 means 1
times 10 to the 0 power plus 2 times 10 to the minus one power (or one-tenth).
Only numbers that can be expressed in terms of sums of integers times powers of
10 can be exactly represented in a finite number of digits. The quantity one-third
cannot be represented exactly in base 10 any more than you can divide a dollar
three ways without a penny left over.
Computers use the binary system for representing numbers. This system uses
only two numerals, 0 and 1. In the machine, these are represented by differing
levels of electrical voltage. The numeral 1012 means 1 times 2 to the second power
(410) plus 0 times 2 to the first power plus 1 times 2 to the 0 power, for a total of 5.
Floating-Point Numbers
Similarly, computers use a floating-point system, which keeps the absolute size of
a number separate from the significant bits. (A bit is a Binary digIT.) In a floating-
point numeral, 1 bit, called the sign bit, is usually reserved to indicate whether or
not the number is greater than or less than 0. Some number of bits are reserved for
the exponent part of the numeral. This is the power of 2 to which the remaining
bits (the mantissa) need to be raised to yield the actual value.
The IEEE has defined a format for double-precision floating-point numbers that is
64 bits long. The leftmost bit is reserved as the sign bit. This bit is set (or true or 1)
if the number being represented is negative; it is cleared (or 0) if the number is
positive. The next 11 bits are used for the exponent of the number. This exponent
is biased; that is, to determine its actual value you must subtract a constant
number from this number to obtain the actual value. This technique is used
because the range of numbers representable by these bits is not the most desirable
range. By adding a bias you can move the range of numbers representable to the
range you would like to represent. In the case of IEEE floating-point, the constant
is 102310. The rest of the bits are used to store the mantissa of the number.
Knowing that, you can examine the double-precision floating-point representa-
tion of a decimal number.
Consider the decimal number 49.75. 49 comprises a 32, a 16, and a 1. In binary that
would be 1100012. The fractional part comprises one-half and one-fourth, so the
whole number in binary would be 110001^112. Since the mantissa is always stored
as a fraction, you must move the binary point six places to the left to make the
significant bits of the number fractional. Storing the mantissa as a fraction allows
an arbitrary number of trailing zero trailing bits. The floating-point system
1000111000000000000000000000000000000000000000000000
(the mantissa with first bit implied)
or
0100000001001000111000000000000000000000000000000000000000000000
Note: If you change the value of this mask, test the behavior of the system thor-
oughly before using it.
CAUTION: If your default mask differs from that shown previously, your
machine is not IEEE-compliant. Extra care must be taken in these
cases. In any event, changing this value can have a serious impact
on your system. We do not advise you to change the default values
without consulting Ardent Customer Support.
Fatal errors in UniVerse often cause the terminal to display messages containing
numeric error codes. The meaning of these codes is explained in this appendix.
Fault Numbers
Table E-1 lists the fault numbers associated with the message:
Abnormal termination of UniVerse.
Fault type is %d. Layer type is %s.
This message indicates a bug in UniVerse and should be reported to Ardent
Customer Support exactly as it appears, along with the process that caused the
error. The fault type (%d) is the same as those generated by the UNIX signal(3C)
facility. The layer type (%s) is important only to the Ardent engineer who is to fix
the bug.
The starred signals cause a core image to be saved.
signal
Description
Value
1 (SIGHUP) hangup
2 (SIGINT) interrupt
3* (SIGQUIT) quit
signal
Description
Value
4* (SIGILL) illegal instruction
5* (SIGTRAP) trace trap
6* (SIGIOT) IOT instruction
7* (SIGEMT) EMT instruction
8* (SIGFPE) floating-point exception
9 (SIGKILL) kill (cannot be caught or ignored)
10* (SIGBUS) bus error
11* (SIGSEGV) segmentation violation
12* (SIGSYS) bad argument to system call
13 (SIGPIPE) write on a pipe with no one to read it
14 (SIGALRM) alarm clock
15 (SIGTERM) software termination signal
16 (SIGURG) urgent condition present on socket
17 (SIGSTOP) stop (cannot be caught or ignored)
18 (SIGTSTP) stop signal generated from keyboard
19 (SIGCONT) continue after stop
20 (SIGCHLD) child status has changed
21 (SIGTTIN) background read attempted from control terminal
22 (SIGTTOU) background write attempted to control terminal
23 (SIGIO) I/O is possible on a descriptor
24 (SIGXCPU) CPU time limit exceeded
25 (SIGXFSZ) file size limit exceeded
26 (SIGVTALRM) virtual time alarm
27 (SIGPROF) profiling timer alarm
Symbols accounts
see also UniVerse accounts
&DEVICE& file 1-4, 10-1, A-40, A-53, flavors 6-3, 6-10, 6-14, A-83
A-74, A-76, A-79, A-80 IDEAL 6-14
&MAP& file 18-4, 18-5 IN2 6-14
&TEMP& file 6-12 INFORMATION 6-14
&TRUNCATED& file 7-7 PICK 6-14
&UVFIX& file 15-15 PIOPEN 6-14, A-17
.profile file 8-3, 10-16, 10-25, A-17 importation function A-68
.uvconfig file 4-1 restoring 7-2
recovering 4-2 restoring from tape A-71
.uvconfig.bak file 4-2 restoring from UNIX shell 7-6
/bin/sh 6-13 transferring 7-1, 7-2
/dev 10-13 Accounts menu A-13, A-14, A-16,
/etc/gettydefs 10-16 A-19
/etc/group A-13 ACCOUNT-SAVE
/etc/hosts 19-2, A-7 command A-69, A-71
/etc/passwd A-13 tape 7-1, 7-4, 7-8, 7-9, 7-10, A-73
see also group file acct.restore command 7-1, 7-3, 7-4, 7-6,
/usr/ardent/uv/errlog 1-3 7-7, 7-8, 7-9
/usr/ardent/uv/NEWACC 6-12, 6-15 ACCT.RESTORE screen A-72
/usr/ardent/uv/sample A-18 acct.restore.exe program 7-11
act.log file 11-14
Numerics Activate Files for Logging menu A-44
activating recoverable files A-44
64BIT_FILES parameter 4-2 activity log file 11-14
ACTLIST command 1-9
A adding
new users 5-3
aborting commands 16-2 nodes A-7
Account Admin window 6-2 printer groups A-60
ACCOUNT.FILE.STATS UniVerse accounts A-19
command 1-6 user accounts A-19
user groups 5-3
Index-1
Admin menu 2-6 using from catalog shared
administering UniRPC 19-1 memory 18-10
administration options bin directory 1-3, 11-25
exiting 2-7 bin/uv command A-1
starting 2-6 BLKMAX parameter 4-3
ALLOWNFS parameter 4-2 block size 12-5
ALTER.TABLE command 13-28 booting 3-7, 3-8
ANALYZE.FILE command 1-6 Bourne shell (sh) A-17
ANALYZE.SHM command 1-8, 14-5 BP file 1-4, 18-1
APP.PROGS.O file 1-4 BP.O file 1-4
application conversion functions A-83
archive mode C
setting A-40
archive types CAT file 1-4
TAPE A-40 CATALOG command 1-5, 18-2
ASSIGN command 1-5 catalog shared memory 18-5
AUTOLOGOUT command 1-7 installing 18-9
AVAIL command 1-8, 14-11 loading programs into A-66
modifying 18-10
B modifying programs in A-66
setting up 18-6
B-tree files 1-3 using BASIC programs from 18-10
background processes, logging Catalog Shared Memory window 18-6
out 14-4 catalog space 18-2, 18-5, 18-6
backing up initializing 18-3
Full log files A-43 managing 18-2
backing up files 12-4 catdir
backups directory 1-3, 18-8
see also hot standby file 18-3, A-63
Backup menu A-24 CENTURYPIVOT parameter 4-3
backups 12-4 changing
full 12-2 node ID A-9
incremental 12-9 node name A-9
strategies for 12-1 port number 19-9, A-9
using multiple devices 12-7 printer groups A-60
using multiple tapes 12-6 UniVerse accounts A-21
BASIC command 1-5, 18-2 user accounts A-19
BASIC object code 18-1 user groups 5-3, A-15, A-16
BASIC programs 18-1 CHAP command 1-7
adding applications 18-1 checking for deadlocks 9-12
Index-3
QBREAK 4-9 connecting to a UniVerse server 20-2
QDEPTH 4-9 directly 20-3
QSBRNCH 4-9 multiple-tier 20-3
QSDEPTH 4-9 two-tier 20-3
QSMXKEY 4-9 connection timeout 19-7
QSRUNSZ 4-9 connection type 2-3
RLOWNER 4-9 Control Panel (UniVerse)
RLTABSZ 4-9 starting services 3-3
saving 4-12 stopping services 3-4
SCRMAX 4-10 Control Panel (Windows NT)
SCRMIN 4-10 starting services 3-3
SCRSIZE 4-10 stopping services 3-4
SELBUF 4-10 CONVERT.ACCOUNT
SHDISPATCH 4-10 command A-83
SYNCALOC 4-10 CORE command 1-8
T30FILE 4-10 CREATE.LDIR command 1-9, A-40
THDR512 4-10 CREATE.LFILE command 1-9, A-40
TSTIMEOUT 4-10 creating
TXMEM 4-10 log directory A-40
TXMODE 4-10 log files A-40
UDRBLKS 4-11 creating backup image 7-17
UDRMODE 4-11, 13-3, 13-27, 13-28 cron command 14-14
ULIMIT 4-11 CSHDISPATCH parameter 4-3
UVSPOOL 4-11 customizing
UVSYNC 4-11 NEWACC files 6-15
UVTEMP 4-11 VOC files 6-14
VDIVDEF 4-11
WIDE0 4-11 D
Configure Log Resources menu A-39–
A-40 daemons
CONFIGURE.FILE command 1-6 spooler 11-23
configuring unirpcd 19-1, A-7
hot standby subscriber 13-25 uvdlockd 9-9
printers 10-1, 11-1, A-79 data backups 12-4
replication 13-7, 13-8 data entry screens A-1
subscribers 13-16 DBsetup
tape devices 10-1, 10-3, A-76 file 18-10
telnet sessions 19-9 dd filters 7-9
terminals 10-13, 10-25 deactivating recoverable files A-44
Connect menu 2-4, 2-7 DEACTLIST command 1-9
Index-5
error codes B-tree 1-3
fatal E-3 backing up 12-4
fault numbers and E-1 BP 1-4, 18-1
errors BP.O 1-4
clearing 3-8 CAT 1-4
during initialization E-8 catdir 18-3
logging 1-3 DICT.DICT 1-4
EXACTNUMERIC parameter 4-3 err.log 11-14
exclusive file locks 9-4 errlog 1-3
exiting gettydefs 10-14, 10-15, 10-16
administration options 2-7 GLOBAL.CATDIR 18-3
UniVerse Admin 2-2 group 8-4, A-15
hashed 1-2
F hosts 19-4
inconsistent A-47
fail-over mode 13-2, 13-25 inittab 10-13
turning on 13-26 log 11-20
file locks 9-6 LOGIN 6-12
File Recovery menu A-47 naming on UNIX 7-18
file types naming on Windows NT 7-18
B-tree 1-3 NEWACC 1-4, 6-12, 6-14, 18-13
hashed 1-2 nonhashed 1-2
nonhashed 1-2 passwd A-18
FILE.STAT command 1-6 pqic.results 7-7
FILE.USAGE command 1-6 print_group 11-4, A-61
files printer configuration 11-24
&DEVICE& 1-4, 10-1, A-40, A-53, PTERM.FILE 1-4
A-74, A-76, A-79, A-80 publishing 13-7, 13-10, 13-11
&MAP& 18-4, 18-5 restoring 12-10
&TEMP& 6-12 rolling forward A-47
&TRUNCATED& 7-7 services 19-8
&UVFIX& 15-15 SHM.TO.LOAD 18-7
.profile 8-3, 10-16, 10-25 sp.config 11-2, 11-24, 11-40, A-58–
.uvconfig.bak 4-2 A-60, A-74
/etc/group A-13 special 10-13
/etc/hosts 19-2, A-7 spooler
/etc/passwd A-13 error log 11-14
act.log 11-14 lock 11-35
activity log 11-14 queue log 11-20
APP.PROGS.O 1-4 subscribing 13-18, 13-20
Index-7
subscribing 13-16 LIMIT command 1-5
INFORMATION flavor 6-3, 6-5 LIST.FILE.STATS command 1-7
init process 10-13 LIST.LOCKS command 1-8
initialization files LIST.READU command 1-8
LOGIN 6-12 listing nodes A-9
UV.LOGIN 6-12 LISTU command 1-8, 14-13
initialization process 3-6 loading programs into catalog shared
errors E-8 memory 18-7, 18-8
INITIALIZE.CATALOG Lock Administration window 9-6
command 1-5, 18-3 LOCK command 1-8
inittab file 10-13 lock files A-56, A-77, A-83
installing catalog shared memory 18-9 lock-waiter tables 9-14
intent file locks 9-4 locks
IP address, modifying 19-4, 19-5 clearing 9-8
ISOMODE parameter 4-3 compatibility 9-1
deadlocks 9-9
J exclusive file lock 9-4
file lock 9-6
Job Control menu A-49, A-51 granularity 9-1
job ID for print jobs 11-16 group lock 9-6
Job pull-down menu 11-12 intent file lock 9-4
JOBS command 1-7 managing 9-5
JOINBUF parameter 4-4 shared file lock 9-3
shared record lock 9-2
K transactions and 9-5
types 9-2
killing print jobs 11-18 update record lock 9-3
log directory
L creating A-40
log files
label records on tape 7-10 creating A-40
labels, removing 7-8 deadlocks 9-13
LAN 20-2 deleting A-40
LAYERSEL parameter 4-4 rolled-forward log files A-46
License Administration A-10 listing Full log files A-43
licensing listing information files A-41
device 20-1 restoring from tape A-45
license tool 20-4 LOG.RESTORE command 1-9
modes 20-1 LOGBLNUM parameter 4-4
session 20-1 LOGBLSZ parameter 4-4
Index-9
messages NEWACC files 1-4, 6-9, 6-12, 6-14,
on UNIX servers 17-2 18-13
to users 17-1 customizing 6-15
on Windows NT servers 17-3 nls directory 1-3
MFILES parameter 4-5, 19-2 NLSDEFDEVMAP parameter 4-5
MKFILELIST command 1-9 NLSDEFDIRMAP parameter 4-5
modes NLSDEFFILEMAP parameter 4-5
setting A-40 NLSDEFGCIMAP parameter 4-5
MODFPTRS parameter 4-5 NLSDEFPTRMAP parameter 4-5
Modify Job Characteristics NLSDEFSEQMAP parameter 4-6
menu A-50, A-51 NLSDEFSRVLC parameter 4-6
modifying NLSDEFSRVMAP parameter 4-6
catalog shared memory 18-10 NLSDEFTERMMAP parameter 4-6
configurable parameters 4-13 NLSLCDEF parameter 4-6
device definitions 10-12 NLSLCMODE parameter 4-6
IP address 19-4 NLSMODE parameter 4-6
printer definitions 11-4 NLSNEWDIRMAP parameter 4-6
server definitions 2-3 NLSNEWFILEMAP parameter 4-6
tape drive definitions 10-10 NLSOSMAP parameter 4-7
motd command 17-4 NLSREADELSE parameter 4-7
MTU keyword 12-17 NLSWRITEELSE parameter 4-7
multiple-tier connection to UniVerse node ID, changing A-9
server 20-3 node name, changing A-9
nodes
N adding A-7
deleting A-9
naming listing A-9
files on UNIX 7-18 nonhashed files 1-2
files on Windows NT 7-18 NORESET option A-57, A-83
NETTIME parameter 4-5
network services O
changing telnet session port
number 19-9 OCVDATE parameter 4-7
defining telnet connection OPENCHK parameter 4-7
parameters 19-9 OPTMEM parameter 4-7
specifying telnet session
timeouts 19-10 P
starting the UniRPC daemon 19-5
stopping the UniRPC daemon 19-5 Package menu A-6
Network Services window 19-8 PAKTIME parameter 4-7
Index-11
PROCPRMT parameter 4-8 deactivating A-44
PROCRCMD parameter 4-8 listing status A-44
PSEMNUM parameter 4-8 recovering .uvconfig file 4-2
PTERM command 10-25, A-57, A-83, Recovery
B-1 menu A-22
PTERM.FILE file 1-4 option A-23
publisher 13-1 RECOVERY.CHECKPOINT
reconciling hot standby with 13-27 command 1-9, A-45
publishing files 13-7, 13-10, 13-11 RECOVERY.CONSISTENT
publishing system 13-7 command 1-9, A-47
starting 13-9 Registry 19-8
stopping 13-9 RELEASE command 1-8
RELEASE.LFILE command 1-9, A-43
Q releasing
Full log files for reuse A-43
QBREAK parameter 4-9 full tape devices for reuse A-43
QDEPTH parameter 4-9 removing
QSBRNCH parameter 4-9 labels from tapes 7-8
QSDEPTH parameter 4-9 shared memory 18-12
QSMXKEY parameter 4-9 replication 13-1–13-30
QSRUNSZ parameter 4-9 and ALTER.TABLE 13-28
Queue Management menu A-48, A-49 and CLEAR.FILE 13-28
and CNAME 13-28
R configuring 13-7, 13-8
configuring a subscriber 13-16
RAID command 1-5 and disk space 13-29
rc 3-6 and DROP.TABLE 13-28
rc.local 3-6 fail-over mode 13-2
READL locks, see shared record locks failure 13-30
READU locks, see update record locks hot standby 13-2, 13-7
REALITY accounts, transferring to managing 13-1, 13-4, 13-7
UniVerse 7-2 publishing 13-7
REALITY flavor 6-4, 6-5 publishing files 13-10, 13-11
rebooting, see booting and RESIZE 13-28
reconciling hot standby with restrictions 13-28
publisher 13-27 setting up 13-2–13-3
RECORD command 1-7 starting the publishing system 13-9
record locks 9-6 starting the subscribing
recoverable files system 13-17
activating A-44
Index-13
shared file locks 9-3 changing characteristics of print
shared memory 18-5, 18-6 jobs 11-15
adding a BASIC program to 18-11 changing order of print jobs 11-14
analysis utility 14-5 continuing suspended print
changing memory allocation jobs 11-19
of A-66 daemon 11-25, 11-26
designating programs to run management 11-22
in 18-8 resetting when hung 11-22
loading 18-9 starting 11-22
loading programs into A-66 stopping 11-22
removing a program from 18-13 defining a printer 11-16
updating a program in 18-12 determining when a job was
using BASIC programs from 18-10 printed 11-21
Shared Memory menu A-62, A-63 displaying log files 11-20
shared record locks 9-2 enabling and disabling
SHDISPATCH parameter 4-10 queuing 11-36, A-55, A-81
shell startup files, enabling error logging 11-14
/usr/ardent/uv/bin/uv 8-5 error log files 11-14
SHM.TO.LOAD holding print jobs 11-18
file 18-7 incorrect form 11-36
record 18-8 killing print jobs 11-18
shutdown (system) 3-6, 3-7 lock file 11-35
shutdown command 3-7, 3-8 moving spool directory 11-13
SHUTDOWN.RECOVERY moving spooler directory 11-23
command 1-9, A-41 nonexistent driver 11-38
single-user mode 3-7 printer groups 11-4
SLEEP command 1-7 printing to a file 11-31
sp.config file 11-1, 11-24, 11-40, A-58– queue administration A-83
A-60, A-74 releasing print jobs from Hold
special files 10-13 status 11-18
SPOOL command 11-38, A-48, A-49 reprinting a print job 11-19
Spooler retaining a file in the print
menu A-48, A-49, A-53, A-54, A-61, queue 11-17
A-80, A-81 setting job priority 11-16
option A-53, A-57, A-61, A-79 specifying lines to print 11-17
window 11-9 specifying number of copies to
spooler print 11-16
altering response time 11-14 specifying pages to print 11-16
attaching a form to a job 11-16 spool directory 11-23
spool queue log file 11-20
Index-15
tar command 12-20 triggers 13-28
TCP port 19-8 troubleshooting the spooler
TCP/IP 19-1, 19-2, 20-2 configuration changes do not take
hosts file, see /etc/hosts effect 11-40
telnet sessions 19-8 jobs do not go active 11-37
configuring 19-9 TSTIMEOUT parameter 4-10
controlling access to UniVerse 6-14 tty command 10-13
defining connection two-tier connection to UniVerse
parameters 19-9 server 20-3
specifying timeouts 19-10 TXMEM parameter 4-10
TERM TXMODE parameter 4-10
command 10-22
environment variable 10-12, 10-13, U
10-16
termcap C-1, C-6 UCI (Uni Call Interface) 20-1
terminals 10-13, C-1 UDRBLKS parameter 4-11
configuring 10-13, 10-25 UDRMODE parameter 4-11, 13-3,
terminating processes 14-4 13-27, 13-28
terminfo C-1, C-4, C-6 ULIMIT parameter 4-11
terminfo directory 1-4 UMASK command 1-7, 6-12, 8-2
terminfo.src C-1 umask command 8-2, 8-3
THDR512 parameter 4-10 UNASSIGN command 1-5
timeouts UniObjects 20-1, 20-3
open connection 19-7 UniObjects for Java 20-2, 20-3
in telnet sessions 19-10 UniRPC
transaction logging 1-9, A-23 administering 19-1
disabling A-41 BASIC administration
enabling A-41 programs 19-1
menus A-38–A-47 port number A-9
setting modes A-40 UniRPC daemon (unirpcd)
setting up A-39 starting 19-5, A-7
shutting down, see disabling stopping 19-5, A-10
suspending A-41 UniRPC daemon (unirpcd) 19-1
Transaction Logging menu A-38–A-39 UniRPC service
transactions, locks and 9-5 stopping 3-4
transferring accounts 7-1 unirpcd daemon
from UNIX to Windows NT 7-16 starting A-7
non-UniVerse accounts to stopping A-10
UniVerse 7-1 unirpcd daemon, see UniRPC daemon
Transport Type drop-down list box 2-3 unirpcservices file 19-2, 19-6–19-7
Index-17
MAP 1-5, 18-4 uvrestore 12-17
MASTER 1-8 VCATALOG 1-5, 18-4
MESSAGE 1-7, 17-4 VLIST 1-5
MKFILELIST 1-9 VVOC 1-7
PASSWD 1-7, 8-3 UniVerse Configuration Editor
PHANTOM 1-7 window 4-13
PORT.STATUS 1-8, 14-4 UniVerse file types, see file types
PRINT.ADMIN A-83 UniVerse Resource service
PTERM 10-25 starting 3-2
RAID 1-5 stopping 3-4
RECORD 1-7 UniVerse servers 20-2
RECOVERY.CHECKPOINT 1-9, adding a server definition 2-2
A-45 connecting to a server 2-4, 20-2
RECOVERY.CONSISTENT 1-9, deleting a server definition 2-4
A-47 modifying a server definition 2-3
RELEASE 1-8 UniVerse System Administration
RELEASE.LFILE 1-9, A-43 menus, see System Adminis-
RESIZE 1-7 tration menus
RUN 18-2 UniVerse Telnet service
running on a server 2-6 stopping 3-4
SEMAPHORE.STATUS 1-9 UniVerse User Administration
SET.LOG.ATTR 1-9, A-40 window 14-2, 14-4, 14-5
SET.TERM.TYPE 10-21, 10-22, UNIX
10-23, 10-26 naming files 7-18
SHUTDOWN.RECOVERY 1-9, security, see security on UNIX
A-41 systems
SLEEP 1-7 UNIX account environment 5-1
STATUS 1-8, 14-13 UNIX commands
STATUS USERS 10-13 acct.restore 7-1, 7-3, 7-4, 7-6, 7-7, 7-8,
SUSPEND.FILES 1-7 7-9
SUSPEND.RECOVERY 1-9, A-41 analyze.shm 14-5
T.LOAD 12-17 chmod 8-2, A-54, A-80
TANDEM 1-8 cron 14-14
TERM 10-22 df 14-11
UMASK 1-7, 6-12, 8-2 du 14-11
UNASSIGN 1-5 find 12-9, 14-12
UNLOCK 1-9 magrst 7-1, 7-3, 7-4, 7-6, 7-8
USERS 1-8 mesg 17-4
uvbackup 12-7 reset 10-25
uvdlockd 9-13 shutdown 3-7, 3-8
Index-19
UVSPOOL parameter 4-11
UVSYNC parameter 4-11
UVTEMP parameter 4-11
V
VCATALOG command 1-5, 18-4
VDIVDEF parameter 4-11
viewing
device definitions 10-12
printer definitions 11-4
tape drive definitions 10-10
VLIST command 1-5
VOC entry
dispatch type field 18-14
fields in 18-13
processor mode field 18-15
VOC file 5-2, 8-5
adding commands to 18-13
creation 6-12
customizing 6-14
saving commands to 16-4
VOCLIB file 8-6
VVOC command 1-7
W
wait printer status 11-37
well-known port number, see port
number
who command 14-13
wide zero parameter D-1
WIDE0 parameter 4-11
Windows Print Manager 8-1, 11-1
Windows NT
naming files 7-18
Registry 19-8
word length 11-3
write command 17-4
Comments
Name:________________________________________ Date:_________________
Address:____________________________________________________________
____________________________________________________________________