BUSINESS SOFTWARE, INC. (BSI) CONFIDENTIAL AND PROPRIETARY INFORMATION

Step 5 -- Disconnect from the Database

Close the database connection as follows:

Note: It clears the cache of all data.

 

C Instructions:

 

/*
** Disconnect from the database at the end
*/
if (!DisconnectDataSource(NULL))
  printf("Disconnect data source error\n");

 

COBOL Instructions:

Using TSO as a connection method, it is not necessary to disconnect from the database. If you are using a different connection method, the database syntax is shown below:

CALL "TF1003".

 

 

 

©Copyright 2021 Business Software, Inc
Unpublished - Rights Reserved Under the Copyright Laws of the United States