PreviousRebuild Converting an RM/COBOL ApplicationNext"

Chapter 4: Introduction to Conversion Series 3

Conversion Series 3 supports certain extensions that enable you to submit source programs written in the RM/COBOL language directly to this COBOL system.

You need to follow two steps to convert an RM/COBOL application and make it suitable for input to this COBOL system:

  1. Submit your RM/COBOL source programs to this COBOL system.

  2. Use Convert3 to convert existing data files from RM/COBOL format to the format used by this system.

4.1 RM/COBOL Source Programs

To submit RM/COBOL source programs to this COBOL system which contain syntax not supported in the standard COBOL language, you must set the RM system directive. See your Object COBOL User Guide for details of this directive. When you set the RM directive, the additional syntax required, as documented in your Language Reference - Additional Topics, is enabled.

You will need to alter your source programs only if they contain RM/COBOL features which are not supported by this COBOL system. You may also want to change your source programs if they contain features which behave differently under both COBOL systems, in order to force this system to emulate the behavior of the RM/COBOL system. See the chapter RM/COBOL Source Compatibility for details.

You must run the tabx program before submitting any source programs containing TAB characters to this COBOL system. This program expands TAB characters into a form which can be processed by this COBOL system. See the chapter Converting an RM/COBOL Application for details.

4.2 Converting Data Files

Convert3, the file conversion utility, converts specified data files from RM/COBOL format to the format used by this system. This ensures that when you run your RM/COBOL programs in this COBOL environment, you can still access existing data files that they have produced.

To convert your data files to the format used by this system, you must supply Convert3 with the syntactically correct RM/COBOL source programs which produced them.

See the chapters Converting RM/COBOL Data Files, Running Convert3 and Using the File Conversion Program for full details on Convert3.

Any RM data file which contains both the index and the data cannot be converted to Micro Focus format by the conversion program created by Convert3.

You must convert this data file to separate data and index files, using RMISAM or the equivalent utility in your RM product.

4.3 Enhancing your Converted Application

Once you have successfully submitted your RM/COBOL source programs to this COBOL system, you may wish to take advantage of some of the advanced features offered to you by this system. These features include:

Full details on these features and their associated syntax can be found in your Language Reference and Language Reference - Additional Topics.

To use these features, you must specify certain system directives when you submit your source programs to this COBOL system. For example, you must set the ANS85 directive if you use ANSI'85 syntax in your source programs. See your Object COBOL User Guide for full details of all system directives, and the features they enable.


Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.

PreviousRebuild Converting an RM/COBOL ApplicationNext"