To create and execute an external C stored routine:
- Create an external C stored routine.
- Register the C library file.
- Define the external C stored routine.
- 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]](FIGURE/ZU100010.GIF)
- Note
- The C library file extension depends on the OS.
- Explanation
- Creation of an external C stored routine. For details, see 10.2.1 Creating an external C stored routine.
- Registration of the C library file into the HiRDB system. For details, see 10.2.2 Registering the C library file.
- Definition of the external C stored routine. For details, see 10.2.3 Defining the external C stored routine.
- 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
All Rights Reserved. Copyright (C) 2011, Hitachi, Ltd.