
Standard Library
CDataFile Class
This base class provides a standard interface from a Visual C++ function to a COBOL routine that handles indexed-sequential file I/O to a database file. If the MicroFocus NetExpress COBOL compiler is used, the data files may be accessed with either the proprietary indexed-sequential file system shipped with NetExpress or Pervasive SQL. The linkage section is as follows:
LINKAGE SECTION.
01 FUNCTION-KEY PIC S9999 USAGE COMP-5.
01 FILE-RECORD.
03 PRIMARY-KEY PIC X(key-length).
03 FILLER PIC X(rec-length).
PROCEDURE DIVISION USING FUNCTION-KEY, FILE-RECORD.
DETERMINE-KEY.
GO TO OPEN-READ, OPEN-WRITE, OPEN-BOTH, CLOSE-FILE,
START-READ, READ-NEXT, READ-RECORD, ADD-RECORD,
UPDATE-RECORD, DELETE-RECORD, COMMIT-FILE,
VALIDATE-DATA, DEPENDING ON FUNCTION-KEY.
This class must be inherited by a class that defines the variables in the
constructor. The member functions and variables are as follows:
[ CBinaryFile
| TCommandLineInfo
| CDataFile
| TDateCtrl
| CDDE
| CDdeClient
| CDdeServer
]
[ CDirectoryLocator
| CDirectoryDialog
| CDirectoryFind
| CDirectoryNew
| CFileCopy
| TFrameWnd
]
[ InterfaceExcel
| CMaintFn
| CPrintFile
| CProcDialog
| TPrintDialog
| CProcPropertyPage
]
[ CProgress
| CRegistry
| CSDisCreate
| CSDisFile
| CSDisPage
| CSDisView
| CTableFile
]
[ CTaskIcon
| TPresent
| TTime
| TDate
| TDateTime
| CTransferData
| TWinApp
| CXlTable
]
[ Stand-alone Programs
| Standard Library
| Conversion Functions
| Utility Functions
| COBOL Functions
]
[ Windows NT Library
| COBOL Library
| COBOL Interface
| Command Prompt Abbreviations
| Purchase Instructions
]
[ Home
| Areas of Expertise
| "We Do Windows"
| Clients and Projects
| Software Samples
| Package Software Available
]
[ Contact Information
| Business Software Philosophy
| Church Software Philosophy
]
All contents of this web site are Copyright © Titus Information Systems,
Inc., Phoenix, Arizona, U.S.A.