Introduction to Conversion Series 3 | RM/COBOL Source Compatibility |
To successfully transfer your source programs and their associated data files from an RM/COBOL to this environment, you must be familiar with:
We advise that you carry out the following steps to ensure successful migration from the RM/COBOL environment to this COBOL environment:
If disk space on your system is limited you may not be able to have both the old and the new copies of all your data files present on your system at the same time. If this is the case, load and unload the data files gradually onto your system during the conversion process.
If your RM/COBOL source programs contain any TAB characters, you must run the tabx program before you can successfully submit them to this COBOL system. This is necessary because each COBOL system handles TAB characters differently. Under the RM/COBOL system the first TAB stop is at character position 8, while subsequent TAB stops are at four character intervals up to position 72. However, under this COBOL system, the first TAB stop is at character position 9, while subsequent TAB stops are at eight character intervals.
The tabx program expands any TAB characters in your RM/COBOL source programs to spaces. The resulting source code can be submitted successfully to either the RM/COBOL or this COBOL system.
UNIX:
To run tabx on UNIX, enter the following command line:
tabx [-options] input-filename [output-filename]
DOS and OS/2:
To run tabx on DOS and OS/2, enter the following command line:
tabx [/options] input-filename [output-filename]
where the parameters are:
options |
Can be any of the following:
|
||||||
input-filename |
The file containing the RM/COBOL source program | ||||||
output-filename |
The file to which the source program output by
tabx, is directed. If you do not specify output-filename ,
tabx directs its output to input-filename , so overwriting
the original contents of input-filename |
If you do not specify any parameters, tabx displays the required format of the parameters as above.
tabx -v myfile.cbl myfile.new
expands the TAB characters in the file myfile.cbl and outputs a new file, myfile.new.
tabx -l filelist
tabx treats each line of the file filelist as a command line.
tabx myfile.cbl
expands the TAB characters in the file myfile.cbl and overwrites myfile.cbl with the resulting source program.
Copyright © 1999 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names
used herein are protected by international law.
Introduction to Conversion Series 3 | RM/COBOL Source Compatibility |