Program Modifications Required by convert3 [ 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
Program Modifications Required by convert3
The following sections list the areas in which you may need to make
modifications to an RM/COBOL source program before you use it as input to
convert3.
The REDEFINES Clause
convert3 cannot process data files whose definition includes a REDEFINES
clause. If a record description in the FILE SECTION contains a REDEFINES
clause, you must divide this record description into separate record
descriptions.
You must also make sure that each record type in a file with multiple
record types is identifiable by either:
* a user-written subroutine, or
* an item that is common to each record type
See Record Type Specification in Chapter 9 for more information about
handling multiple record files.
The USAGE IS INDEX Clause
convert3 cannot process items with USAGE IS INDEX in a record
description. If a record description contains such an item, you can
alter the item to have a PICTURE string of S9(4) COMP-1.
The USAGE Clause with Group Items
convert3 cannot process group items with a USAGE clause at the group
level. To overcome this, add a USAGE clause to each elementary item
within the group.
Continuation Columns
convert3 cannot process source program statements with a continuation
marker in column 7. This limitation applies only from the beginning of
your source program to the end of the file section. To overcome it alter
the layout of your source program so that it does not require
continuation markers.
The DECIMAL POINT IS COMMA Clause
convert3 cannot process the DECIMAL POINT IS COMMA clause in the
SPECIAL-NAMES paragraph. To overcome this limitation remove the DECIMAL
POINT IS
COMMA clause.
Uniqueness of Names in Record Descriptions
All data names in record descriptions must be unique. Therefore, you
must remove all qualified data names from record descriptions in the
RM/COBOL source program.
DEPENDING Names
If a record description contains a DEPENDING phrase, the data name in the
DEPENDING phrase must occur in the same record.
PICTURE Strings
The maximum length of a PICTURE string in a record description is 20
characters. However, you can overcome this limitation by splitting any
PICTURE strings which exceed this limit into two, and defining a FILLER
item with a PICTURE string which corresponds to the size of the second
half of the original string.
MPE/iX 5.0 Documentation