informix
DataBlade Module Installation and Registration Guide
Registering with the BladeManager Command-Line Interface

Using BladeManager

This section describes how to complete the tasks described in the following subsections:

Starting and Stopping BladeManager

To start BladeManager, enter the following command at the UNIX or the MS-DOS command line prompt:

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 an 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:

Obtaining Help for Commands

To see a list of BladeManager commands and their syntax, enter one of the following commands:

Setting Confirmation

If confirmation is on, BladeManager prompts you to confirm the following tasks:

When confirmation is off, BladeManager issues no confirmation prompt when you execute these commands. You might want to turn confirmation off when you use BladeManager in batch operations, so you can send commands to BladeManager from a file.

To turn confirmation on, enter the following command:

To turn confirmation off, enter the following command:

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 it displays 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:

The filename.txt specification in the example represents the name of a text file that contains one or more BladeManager commands, each on a separate line.

Removing BladeManager Objects for Server Reversion

If you want to revert to an earlier version of your database server, you must remove every database object added since the database server and database were upgraded. BladeManager adds its objects to a database whenever you connect to a database with BladeManager. To remove BladeManager objects from the specified database, enter the following command:

To successfully revert to a previous version, the following conditions must be true about your database:

For more information on server reversion, see the Informix Migration Guide.


DataBlade Module Installation and Registration Guide, Version 4.0
Copyright © 1999, Informix Software, Inc. All rights reserved