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 products for any particular purpose is expressly excluded and in no event will MERANT be liable for any consequential loss.
Micro Focus®, Animator® and Forms-2® are registered trademarks, and Dialog System, Forms, Micro Focus COBOL, Object COBOL, Panels, Panels Version 2, Professional COBOL, RTE, Screens, Xilerator and XM are trademarks ofMERANT International Limited
IBM®, AT®, OS/2® and PC® are registered trademarks, and CICS, CICS OS/2, Common User Access, CUA, Presentation Managerand SAA are trademarks of International Business Machines Corporation
Microsoft®, CodeView®, MS® and TrueType® are registered trademarks, and NT, Visual Basic, Win32, Windows and Windows NT are trademarks of Microsoft Corporation
Data General® is a registered trademark, and DG ICOBOL is a trademark of Data General Corporation
Intel® is a registered trademark, and Intel 8086 is a trademark of Intel Corporation
Motif and OSF are trademarks of Open Software Foundation, Inc
PowerBuilder is a trademark of Powersoft Corporation
RM/COBOL® is a registered trademark of Ryan-McFarland Corporation
UNIX® and X/Open® are registered trademarks of X/Open Company Limited
Copyright© 1999 MERANT International Limited
All Rights Reserved
The Micro Focus Object COBOL Programmer's Guides are complete guides to specific areas of the Micro Focus COBOL systems.
This guide contains everything you need to know to create user interfaces with a Micro Focus COBOL system, covering both character and graphical user interfaces.
You should be familiar with the COBOL language and with your operating system. You should read the Getting Started book for this COBOL system and be familiar with the COBOL development cycle described in the User Guide before reading other books in the book set.
Micro Focus COBOL systems are available for DOS, Windows, Windows 95, Windows NT, and OS/2 V2.1 or later, and for many varieties of UNIX. Both 32-bit and 16-bit versions are available (16-bit is not available on UNIX.)
Some of the books supplied with this COBOL system are generic across all these environments. Other books are specific to your operating system, but might contain some generic chapters. The chapter Welcome! in your Getting Started book explains this in detail.
In the books, unless otherwise stated:
In a generic book or chapter, text that does not apply to all supported environments and COBOL systems is marked by a side heading in the left margin. A side heading applies to the paragraph it is next to, unless it is next to the first paragraph in a section, in which case it applies to that whole section.
The following examples of side headings show what they mean:
This text applies to the 32-bit COBOL system on UNIX.
DOS, Windows and OS/2:
This text applies to the 16-bit or 32-bit COBOL system on DOS, Windows, Windows 95, Windows NT, and OS/2 V2.1 or later.
This text applies to the 16-bit COBOL system on DOS, Windows, Windows 95, Windows NT, and OS/2 V2.1 or later.
This text applies to the 32-bit COBOL system on UNIX, Windows 95, Windows NT, and OS/2 V2.1 or later.
32-bit for Windows NT and OS/2:
This text applies to the 32-bit COBOL system on Windows 95, Windows NT, and OS/2 V2.1 or later.
The notation used in the books is as follows:
The notation used to describe the format of command lines is as follows:
DOS, Windows and OS/2:
On DOS, Windows and OS/2 you can type them in upper, lower, or mixed case except where otherwise stated.
On UNIX you must type them in upper or lower case as shown.
This book is divided into several parts, as follows:
This book contains descriptions of COBOL System Library Routines. Each description contains the routine name and function and the following entries (as appropriate):
|Syntax:||Shows the CALL statement you could use to call the
The optional RETURNING clause is also shown. Every routine returns a value showing the result of the operation. Unless otherwise indicated, zero indicates success, nonzero indicates failure. This value is left in the data item specified in the RETURNING clause, in this reference, status-code. If this clause is omitted, the value is left in the special register RETURN-CODE. (If call-convention bit two is set, RETURN-CODE is not changed.)
status-code must be a numeric data item capable of holding positive values from 0 to 65535; for example, PIC X(2) COMP-5.
The name of the routine must be coded in upper case.
|Parameters:||Describes any parameters shown in the RETURNING and USING clause. A parameter enclosed in brackets, for example, [parameter1] is optional and might not be needed for all forms of the routine.|
|On Entry:||Indicates which of the parameters shown are passed on entry|
|On Exit:||Indicates which of the parameters shown are returned
Where bits of one or more bytes are referenced, bit 0 is the least significant (rightmost) bit.
|Comments:||Provides any additional information necessary for the successful use of the routine|
|Related Topics:||Lists other related topics.|