This chapter contains a sample COBOL tableBASE call template—the purpose is to demonstrate some of the tableBASE features and best practices. The samples will allow programmers to more easily and efficiently implement the conversion of their existing applications into tableBASE applications. Use of the samples should also simplify the tableBASE access interface for the programmer by isolating most tableBASE calls from the main program.
The template provides working examples of best practices for tableBASE calls; it also provides examples of error checking for tableBASE calls.
Programmers can tailor the samples for their own use, for their own specific requirements.
MODELPGM is the main program, and it calls TBTMPLAT.