home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv6.zip
/
vac22os2
/
ibmcobol
/
samples
/
elookup1
/
dbclass.vce
< prev
next >
Wrap
Text File
|
1997-08-22
|
1KB
|
35 lines
//* ---------------------------------------
//* DBCLASS.VCE
//* This is an import file for the Employee
//* Lookup sample. It contains the definition
//* for a data type, DTArea, and a dynamic
//* link library used as class part.
//* ---------------------------------------
//* --- Definition for DTArea data type
//* ----- This defines a large data area
//* ----- used to pass information from the
//* ----- DBClass object to the nonvisual part.
//VBBeginTypeInfo: DTArea, "Data area ",
//VBCopy: dataarea.cpy
//VBPartDataFile: dataarea.vcb
//VBEndTypeInfo: DTArea
//* --- Definition for DBClass
//* ----- This is the definition for an OO COBOL
//* ----- class that is compiled into a DLL and
//* ----- invoked from the visual parts of the sample.
//* ----- This class will access a DB2 database.
//VBBeginPartInfo: DBClass,"Access a DB2 database"
//VBParent: SOMObject
//VBPartDataFile: dbclass.vcb
//VBLibFile: dbclass.lib
//VBComposerInfo: class
//* ----- Methods in the class
//VBAction: setSrchName,"set method for search name",01 SRCHNAME VarLengthString.,
//VBAction: doSearch, "data area",, 01 DataArea DTArea.
//VBEndPartInfo: DBClass