Sequential files - Add records to existing file

0 Likes

Problem:

When opening a seq. file with open output the records are gone. How to add records?

Resolution:

Open the file with OPEN EXTEND

After a successful OPEN statement, the file is positioned at its first logical record. (The only exception to this rule is that a sequential access file opened with the EXTEND phrase is positioned after its last record. Records written to such a file are appended to the file.)

Old KB# 2652
Comment List
Related
Recommended