Creating a DB2 Everyplace application

This sample uses a DB2 Everyplace Win32 console application to test the remote query and stored procedure adapter. The sample application is called myclient.exe. The sample application uses the following three parameters:

    Account Name:   Identify the account to access.
          Option:   Identify the action to perform. The options are:
                       1: Check balance. 
                       2: Transfer from savings to checking.
                       3: Transfer from checking to savings.
          Amount:   Amount to transfer between checking and saving.
 

For example, to transfer $1000 from savings to checking on the Michael account, enter the following command:

myclient.exe Michael 2 1000

The following response is returned:

	Saving = 4000
	Checking = 6000
 

Související koncepce

Související úlohy

Související odkazy