INFORMIX DataBlade Developers Kit Tutorial

List of Exercises

Exercise 1: Creating a Simple User-Defined Routine, continued


3

Use BladeSmith to generate the source code and the SQL registration scripts.

Choose Generate DataBlade. The Generate DataBlade dialog box appears.

Click the Format property and choose either DOS or UNIX for the file format, depending on your platform.

Select the DataBlade node at the top of the file tree and click Generate DataBlade.

After BladeSmith has finished generating code, click Close to close the Generate DataBlade dialog box.

BladeSmith generates the basic C code and SQL scripts necessary for your DataBlade module:

  • The source code files are saved in the AddInts\src\C directory.
  • The SQL scripts are saved in the AddInts\scripts directory.

For more information about the Generate DataBlade command, see the DataBlade Developers Kit User's Guide.

The BladeSmith portion of this exercise is complete; you can exit BladeSmith.


Copyright © 1998, Informix Software, Inc. All rights reserved.