DataBlade Module Installation and Registration Guide
Chapter 3: Registering with the BladeManager Command Line
Home
Contents
Index
Master Index
New Book
Using BladeManager
This section describes how to complete the tasks described in the following subsections:
"Starting and Stopping BladeManager"
"Obtaining Help for Commands"
"Setting Confirmation"
"Executing BladeManager Commands Automatically at Startup"
"Executing Multiple BladeManager Commands"
Starting and Stopping BladeManager
To start BladeManager, enter the following command at the
UNIX
system prompt or the
MS-DOS
command prompt:
blademgr
Your screen displays a prompt consisting of the value of the current database server (the value of the
INFORMIXSERVER
environment variable when you start BladeManager) and the angle bracket (>). To execute BladeManager commands, enter the command name.
Important:
If BladeManager fails to execute, make sure that Informix environment variables are set to run Informix database utilities. See
"Prerequisite Tasks"
for more information.
To exit BladeManager, enter one of the following commands:
bye
exit
quit
an end-of-file key sequence, such as
CTRL-D
or
CTRL-Z
Obtaining Help for Commands
To see a list of BladeManager commands and their syntax, enter one of the following commands:
help
?
Setting Confirmation
If confirmation is on, BladeManager prompts you to confirm the following tasks:
Register a DataBlade module with the
register
command
Unregister a DataBlade module with the
unregister
command
Install a client file with the
add client
command
Uninstall a client file with the
del client
command
When confirmation is off, BladeManager issues no confirmation prompt when you execute these commands. Setting confirmation off is useful when you use BladeManager in batch operations by sending commands to it from a file.
To set confirmation on, enter the following command:
set confirm on
To set confirmation off, enter the following command:
set confirm off
Executing BladeManager Commands Automatically at Startup
When BladeManager starts, it searches for the batch file
blademgr.run
in the current directory. If BladeManager finds the file, it executes any commands in it before displaying the prompt that allows you to enter commands. You can edit this file and place commands in it that are automatically executed whenever BladeManager starts.
For example, if you do not want to be prompted for confirmation each time you register a DataBlade module, you can put the
set confirm off
command in
blademgr.run
to turn confirmation off automatically whenever you run BladeManager.
If you include multiple commands in
blademgr.run
, separate each command with a carriage return.
Executing Multiple BladeManager Commands
To execute a series of BladeManager commands using shell redirection, enter the following command:
blademgr <
filename.txt
filename
.
txt
is the name of a text file containing one or more BladeManager commands, each on a separate line.
DataBlade Module Installation and Registration Guide
, version 3.6
Copyright © 1998, Informix Software, Inc. All rights reserved.