DB Access Class Library for COBOL V1.0 API Reference - Microsoft(R) Windows(R) - - Microsoft(R) Windows NT(R) - - Microsoft(R) Windows(R) 2000 -
Contents Index PreviousNext

UpChapter 4 Examples of Using the DB Access Class Library
Up4.2 Use an Object of the FJDB-COMMAND Class
Up4.2.2 Execute an SQL statement by using an object of the FJDB-COMMAND class

4.2.2.1 Data Update Example (Using an object of the FJDB-COMMAND class to execute an SQL statement)


It is a figure of following image handled.

1.Create an object of the FJDB-COMMAND class.

2.Using the BIND-PARAMETERS method in the FJDB-COMMAND class, associate the bind table and the object of the FJDB-COMMAND class.

3.Load the variables registered in the bind table with the parameter values that are specified at SQL statement execution.

4.Execute the SQL statement by using the EXECUTE-COMMAND method in the FJDB-COMMAND class.

image


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 1998-2000