When migrating any working storage record that contains level 77 items, the
migration tool does the following:
- Splits the working storage record that contains level 77 items into two
basicRecords -- one for the working storage structure and one for the level 77
items. The new level 77 record name is the original working storage
record name with a customer-supplied suffix.
- Places the new level 77 record in the same file with the original working
storage record.
- Issues an informational message that the level 77 record is being
created.
|
When migrating any working storage record that contains level 77 items, the
migration tool does the same things mentioned in the Migrating with the
associated part column.
|
When migrating a program, if the primary working storage record is
available and contains level 77 items, the migration tool adds a record
declaration to the program for the new level 77 record if the primary working
storage record contained level 77 items.
|
When migrating a program, if the primary working storage record is not
available, the migration tool does not know whether the primary working
storage record contains level 77 items. The migration tool does
not include a record declaration for a level 77 record.
|
When migrating a function, if the working storage record is available, the
migration tool changes qualified references to the level 77 items within the
function to use the new level 77 record name.
|
When migrating a function, if the working storage record is not available,
the migration tool does not change the qualification of item
names.
|
Potential problem: A problem only arises for the level 77
item if there are two records of the same name, possibly in different
subsystems, and the item is a level 77 item in one record and not in
another.
Possible solution: Move the item to a (new) common record
and change the item qualification in all functions. Alternatively, do
not qualify the item in the functions.
Considerations for new use: There is a potential problem
if you specify the original working storage record as the inputRecord property
for a new program. Be sure to consider whether you also need to add a
declaration for the new level 77 record.
|
Potential Problem 1: A problem arises if the primary
working storage record contained level 77s and the program used the level
77s. Preprocessing for the program will fail due to missing item
definitions.
Solution: Add the level 77 record to the program.
Potential Problem 2: A problem arises for a function if
the qualified data item is really a VAGen level 77 item.
Solution: Modify the function to provide the correct
qualifier for the data item.
Potential Problem 3: The same problem listed under the
Migrating with the associated part column can also occur.
You can use the same solution.
Considerations: The same considerations for new use listed
under the Migrating with the associated part also apply.
|