SQL Option Demonstration Programs

To help you get working with SQL Option as quickly as possible, we supply several demonstration programs located in your %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\sql\xdb folder. The following lists each demonstration program and summarizes the functionality demonstrated by each:

test1.cbl OPEN, FETCH, CLOSE, DELETE, and EXECUTE IMMEDIATE statements
test2.cbl Scrolling through records and entering Y or N at the prompt
test3.cbl CREATE TABLE, ALTER TABLE, UPDATE, and CREATE INDEX statements
test4.cbl Joining tables
test5.cbl Using Dynamic SQL PREPARE and EXECUTE statements
test6.cbl OPEN, FETCH, UPDATE, DELETE, and CLOSE statements
OO_Sample.app Coding an OO application for use with the SQL Option