#11 Move corresponding misses some moves

Tim Josling

According to one of the COBOL clarification documented from J4, move corresponding is supposed
to do moves where the entire a of b etc hierarchy provides uniqueness, and it is not necessary
that each level or item is unique.


01 x.
02 y pic x.
02 y.
03 z pic x.

01 xx.
02 y pic x.
02 y.
03 z pic x.

move corr x to xx.

should do

move z of y of x to z of y of zz.

Even though the y in each case is no unique on its own, the hierarchy as a whole is unique.

Fixing this will require a restrucure to the move corr analysis code.


  • Tim Josling

    Tim Josling - 2001-06-27
    • assigned_to: timjosling --> nobody
  • Tim Josling

    Tim Josling - 2001-07-01
    • assigned_to: nobody --> timjosling
    • status: open --> closed-fixed
  • Tim Josling

    Tim Josling - 2001-07-01

    Logged In: YES

    Fixed and uploaded today.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks