Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

10.2 Procedure from external C stored routine creation to execution

To create and execute an external C stored routine:

  1. Create an external C stored routine.
  2. Register the C library file.
  3. Define the external C stored routine.
  4. Execute the external C stored routine.

The following figure shows the procedure from external C stored routine creation to execution.

Figure 10-1 Procedure from external C stored routine creation to execution

[Figure]

Note
The C library file extension depends on the OS.

Explanation
  1. Creation of an external C stored routine. For details, see 10.2.1 Creating an external C stored routine.
  2. Registration of the C library file into the HiRDB system. For details, see 10.2.2 Registering the C library file.
  3. Definition of the external C stored routine. For details, see 10.2.3 Defining the external C stored routine.
  4. Execution of the external C stored routine. For details, see 10.2.4 Executing the external C stored routine.
Organization of this section
10.2.1 Creating an external C stored routine
10.2.2 Registering the C library file
10.2.3 Defining the external C stored routine
10.2.4 Executing the external C stored routine