New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Absent Member.
Absent Member.
1052 views

Relative Record Number file Read problem in Visual COBOl

Hi

I am trying to read an RRN (Relative Record Number File) in Visual COBOL, The file was created in Micro Focus and Now we will be using this in Visual COBOL as part of Migration/Up-gradation to Visual COBOL.

when i open this file in program it is successful but when trying to read it with RRN number, i am getting an error code "23" that is record not found.

Let me know how can i handle/correct this in Visual COBOL.

0 Likes
1 Reply
Highlighted
Micro Focus Expert
Micro Focus Expert

If this is a relative file as in organization is relative then the handling shouldn't have changed between previous products such as Net Express/Server Express and Visual COBOL.

Is it a specific record number that you cannot access or can you not access and record within the file by relative key?

Can you show me what the file definition looks like and the open and read statements that you are using?

Thanks.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.