Micro Focus Server Express
OO Programming with Object COBOL
MERANT
Issue 1
January 1999
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary
marks and names used herein are protected by international law.
MERANT has made every effort to ensure that this book 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 products for any particular purpose
is expressly excluded and in no event will MERANT be liable for any
consequential loss.
Micro Focus® and Animator® are registered
trademarks, and MERANT, Micro Focus COBOL, and Object COBOL
are trademarks of MERANT International Limited
UNIX® and X/Open® are registered trademarks of X/Open Company
Limited
Copyright© 1999 MERANT International Limited
All Rights Reserved
Preface
This book explains how you use Micro Focus OO extensions to COBOL for
object-oriented programming. It includes explanations of concepts, programming
tutorials, programming documentation and information about the Micro Focus Class
Library.
Audience
You should be familiar with the COBOL language and with your operating
system. You should read the Getting
Started book and be familiar with the COBOL development cycle
described in the Server Express
User Guide before reading other books in the book set.
The notation used in the books is as follows:
- Enter refers to the carriage-return or Enter key. Where commands to
be typed are shown, the Enter key is not shown. It is treated as implicit that
the Enter key must be pressed at the end of the line.
- Hexadecimal numbers are enclosed in quotation marks and preceded by a
lower-case "x" or "h"; for example, x"9D", h"03FF".
The "x" is used when the hexadecimal number represents a character
string; the "h" when it represents a numerical value.
- With COMP-X and COMP-5, PIC X is used rather than PIC 99. Unlike PIC 99,
PIC X shows the length of the data item directly and so demonstrates more
clearly the use of COMP-X, which is to define a binary item of the specified
number of bytes.
The notation used to describe the format of command lines is as follows:
- F1=Help appears on every menu in character-mode Micro Focus
software. It invokes a help screen describing the current menu. F1=Help
is not described in the documentation.
- What appears on your screen may differ in minor ways (for example, version
numbers) from that illustrated in the books. This will not affect the operation
of your software.
This book:
- Introduces you to the Micro Focus support for object-oriented (OO)
programming.
- Provides a reading-list for newcomers who want to learn about the
principles of OO programming.
- Provides a set of tutorials which teach you how to develop programs using
the Object COBOL language and class library.
- Describes how you can both use Object COBOL classes in COBOL programs, and
how to write your own.
- Describes the Micro Focus Class Library frameworks.