Copyright © 1999 MERANT International Limited. All rights
This document and the proprietary marks and names used herein are protected by international law.
MERANT has made every effort to ensure that this manual is correct and accurate but reserves the right to make changes without notice at its sole discretion at any time.
The software described in this document is supplied under a license and may be used or copied only in accordance with the terms of such license, and in particular any warranty of fitness of MERANT software products for any particular purpose is expressly excluded and in no event will MERANT be liable for any consequential losses.
Micro Focus® is a registered trademark and Form Designer, MERANT, Micro Focus COBOL and Server Express are trademarks of MERANT International Limited.
UNIX® is a registered trademark of X/Open Company Limited.
Oracle® is a registered trademark of Oracle Corporation.
Informix® is a registered trademark of Informix Corporation
Sybase is a trademark of Sybase, Inc.
Microsoft®, Windows®, and Windows for Workgroups®, are registered trademarks of Microsoft Corporation.
Visual Basic and Windows NT are trademarks of Microsoft Corporation
IBM® and DB2® are registered trademarks of International Business Machines Corporation.
All Rights Reserved
This book describes how you can use Server Express to create a COBOL application that uses embedded SQL to access a relational database.
Note: Use of COBSQL is supported only for standard procedural COBOL programs. You cannot use COBSQL with Object Oriented COBOL syntax (OO programs) or with nested programs.
This book is for Server Express COBOL programmers who want to create or modify COBOL applications which access relational databases using embedded SQL.
It is assumed that you are already familiar with SQL. You should also be familiar with the relational database you will be accessing, including the configuration of any client software that may be needed.
The following type styles and conventions have been used in this book:
cat script_name | more
The italic text denotes a variable that you type as part of the command.
column_nameis like the
pattern_value, or is not like the
pattern_value, depending on the absence or presence of the optional word
column_name [NOT] LIKE pattern_value
This paragraph only applies to OpenESQL and not to DB2 or COBSQL.