HP 3000 Manuals

COBOL/HP-UX Compatibility Guide for the Series 700 and 800 : COPYRIGHT NOTICE [ COBOL/HP-UX Compatibility Guide for the Series 700 and 800 ] MPE/iX 5.0 Documentation


COBOL/HP-UX Compatibility Guide for the Series 700 and 800


COBOL/HP-UX Compatibility Guide for the Series 700 and 800 HP 9000 Computers Printed in U.S.A. HP Part No. B2433-90011 Edition Third Edition E0293
(c) Copyright 1993 Hewlett-Packard Company. This document contains information which is protected by copyright. All rights are reserved. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Restricted Rights Legend Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in sub-paragraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013. Hewlett-Packard Company 3000 Hanover Street Palo Alto, CA 94304 U.S.A. Rights for non-DOD U.S. Government Departments and Agencies are as set forth in FAR 52.227-19(c)(1,2). Use of this manual and flexible disks(s) or tape cartridge(s) supplied for this pack is restricted to this product only. Additional copies of the programs can be made for security and back-up purposes only. Resale of the programs in their present form or with alterations, is expressly prohibited. (c)Copyright 1980, 1984, 1986 AT&T Technologies, Inc. UNIX is a registered trademark of UNIX System Laboratories Inc. in the U.S.A. and other countries. COBOL is an industry language and is not the property of any company or group of companies or group of organizations. No warranty, expressed or implied, is made by any contributor or by the CODASYL Programming Language Committee as to the accuracy and functioning of the programming system and language. Moreover, no responsibility is assumed by any contributor, or by the committee, in connection herewith. The authors and copyright holders of the copyrighted material used herein: FLOW-MATIC (Trademark for Sperry Rand Corporation) Programming for the Univac(R) I and II, Data Automation Systems copyrighted 1958, 1959, by Sperry Rand Corporation; IBM(R) Commercial Translator Form No. F28-8013, copyrighted 1959 by IBM; FACT, DS127A5260-2760, copyrighted 1960 by Minneapolis-Honeywell. have specifically authorized the use of this material in whole or in part, in the COBOL specifications. Such authorization extends to the reproduction and use of COBOL specifications in programming manuals or similar publications. 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 Micro Focus software products for any particular purpose is expressly excluded and in no event will Micro Focus be liable for any consequential loss. Micro Focus 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 descretion at any time. Micro Focus(R) is a registered trademark of Micro Focus Ltd. Micro Focus(TM), VS COBOL(TM), ANIMATOR(TM), LEVEL II COBOL(TM), LEVEL II COBOL/ET(TM), and Professional COBOL(TM) are trademarks of Micro Focus Ltd. IBM(R) is a registered trademark of International Business Machines Corporation. Systems Application Architecture(TM) is a trademark of International Business Machines Corporation Data General(R) is a registered trademark of Data General Corporation RM/COBOL(R) is a registered trademark of Ryan-McFarland Corporation. Microsoft(R) is a registered trademark of Microsoft Corporation UNIX(R) is a registered trademark of AT&T PANVALET(TM) is a trademark of Pansophic LIBRARIAN(TM) is a trademark of Computer Associates X/Open(R) is a registered trademark of the X/Open Company Limited in the UK and other countries. (c) Copyright 1978, 1992 by Micro Focus Ltd. All rights reserved. Printed February 1993 Legal Notices The information contained in this document is subject to change without notice. HEWLETT-PACKARD MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance or use of this material. Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard. Warranty A copy of the specific warranty terms applicable to your Hewlett-Packard product and replacement parts can be obtained from your local Sales and Service Office. Print History New editions are complete revisions of the manual. The dates on the title page change only when a new edition is printed. The software code printed alongside the date indicates the version level of the software product at the time the manual was issued. Many product updates and fixes do not require manual changes and, conversely, manual corrections may be done without accompanying product changes. Therefore, do not expect a one-to-one correspondence between product updates and manual updates. First Edition June 1991 35328B.04.50 Second Edition November 1991 35328B.06.25 Third Edition February 1993 B2433B.07.00 Additional Documentation The following documents are supplied with COBOL/HP-UX. * COBOL/HP-UX Implementation Notes for Series 700/800 (part number B2433-90001) * COBOL/HP-UX Getting Started (part number B2433-90005) replaces 35328-90002 * COBOL/HP-UX Language Reference Manual Vol. 1 & 2 (part number B2433-90007) replaces 35328-90001 * COBOL/HP-UX Operating Guide (part number B2433-90009) replaces 35328-90002 * COBOL/HP-UX Compatibility Guide (part number B2433-90011) replaces 35328-90003 * COBOL/HP-UX Error Messages (part number B2433-90013) replaces 35328-90002 * COBOL/HP-UX Master Index (part number B2433-90015) * COBOL/HP-UX Pocket Guide (part number B2433-90017) replaces 35328-90012 Refer to the following documents for more information on the HP-UX operating system: * HP-UX Reference (part number B2355-90033) * HP-UX System Administration Tasks Manual (part number B3108-90012) * Installing and Updating HP-UX (part number B3108-90006) * How HP-UX Works: Concepts for the System Administrator (part number B2355-90029) * Installing and Administering NFS Services (part number B1013-90009) * Programming on HP-UX (part number B2355-90026) * HP Symbolic Debugger User's Guide (part number B2355-90044) Preface This COBOL system supports many dialects of COBOL. This guide describes how to migrate applications from other COBOL systems to run with this COBOL system. The final part of this guide provides lists for each dialect convering the features supported by this sytem, historical details of when the support was first provided and the compiler directives required for compatibility. This COBOL system supports the COBOL language described in your Language Reference. Audience The aim of this Guide is to enable you to migrate from any of the environments: * IBM OS/VS COBOL * IBM VS COBOL II * Microsoft COBOL v2.2 * RM/COBOL * DG Interactive COBOL to this COBOL environment. It is intended to be used by users who either want to: * convert applications written in the selected COBOL language to the Micro Focus COBOL language, and to enhance them using the advanced language and development features offered by this COBOL system, or: * retain the use of the selected COBOL on some machine environments while moving to this COBOL environment on others. If you fall into this category you will want to maintain a common set of source programs which are suitable for all environments. * convert the selected COBOL formatted files to the file format used with this system. It is assumed that you are familiar with the COBOL language, and have access to the documents listed in the section Related Publications below. Related Publications This manual is designed to be used in conjunction with the following manuals which are also supplied with your system: * Language Reference * COBOL System Reference * Error Messages For Conversion Series 5, you must also have access to revision 2 of The Data General Interactive COBOL Programmer's Reference Manual. Notation in this Manual * Throughout this manual the Micro Focus COBOL language is referred to as the MF COBOL language. * When items are enclosed in brace { }, you may choose one and only one of the items in the braces. * When items are enclosed in square [ ], you may choose one of the items in the brackets or none of the items. * Running headers contain the title of the chapter and the running footer contains the title of the publication. * The page number is composed of two numbers: the first is the chapter number and the second is the page within the chapter. * Throughout this manual, system directives and their parameters are shown in the following format: DIRECTIVE (PARAMETER) Note that, if using a UNIX based system, you must enclose the entire parameter string within quotation marks, for example: "NOMF RM(ANSI) REMOVE(COL)" See your COBOL Reference for details of the format of directives applicable to your system. About this Manual This manual is split into a number of parts. Each part covers particular areas of compatibiltiy. Part I - Conversion Series 1 - IBM/370 Mainframe Compatibility This part describes how you can configure your COBOL system to allow you to process IBM/370 programs (that is, programs written in IBM VS COBOL II and OS/VS COBOL) directly. It also lists known incompatibilities that you may encounter when migrating IBM/370 mainframe programs to this COBOL system. Part II - Conversion Series 2 - Microsoft COBOL V2.2 This part describes how you can configure your COBOL system to allow you to process Microsoft COBOL Version 2.2 programs directly. It also lists know problems you may encounter when you use your Microsoft COBOL Version 2.2 programs on this COBOL system. Included in this part is a description of the REBUILD utility which, when invoked, will enable you to convert files from the Microsoft COBOL Version 2.2 format to this COBOL format. Part III - Conversion Series 3 - RM/COBOL V2. This part details how you can use this COBOL system to process Version 2 RM/COBOL source programs directly. This part also describes the convert 3 files conversion utility, which converts data files created by RM/COBOL programs into data files that can be accessed by the same programs under this COBOL system. Part IV - Conversion Series 5 - DG Interactive COBOL This part details how you can use this COBOL system to process DG Interactive COBOL source programs directly. This COBOL system supports the Micro Focus COBOL language. This part also describes the use of a pair of utilities: * reform5, which reformats a DG Interactive COBOL source code program so it can be submitted to this COBOL system. * convert5, which converts data files created by DG Interactive COBOL programs into data files that can be accessed by the same programs once they have been reformatted to the datafile format used with this COBOL system. Part V - Dialect Summary The COBOL system that this part reflects provides support for many dialects of COBOL. This Dialect Summary lists for each dialect: * the features supported by VS COBOL * historical details of when such support was introduced to Micro Focus produced compilers * details of the compiler directives which can be used to secure compatibility with the dialects


MPE/iX 5.0 Documentation