RM vs Visual Cobol RM Relative Files

I'm in the slow process of migrating from RM w/Linux to Visual Cobol RM ... with DevHub to allow use of the Linux while coding in Windows/Eclipse.

I've just encountered a problem with Relative Files. In "Standard" RM the relative file ... if you "read next" is in Sequence.

1,2,3,4,5,6,7,8,9 erc.

Via Visual Cobol RM ... the Relative Key is a bit of a mess.

1,6,7,8,9,10,11,12,19,23,24,25 ...

I really discovered this problem when my transitioned code tried to access Record #2, which doesn't exist according to VC.

Any ideas on what I will need to do to get the program to work as written? I don't, unfortunately, have the time to do a file migration on all the systems and files.

I've attached the simple program, and the file that proves my point. RM when set of results Visual Cobol RM different set.

Any help would be appreciated.

Test.zip
Parents Reply Children
No Data