POSITEOF


 

The POSITEOF instruction positions the file pointer to the End Of File (EOF). Once positioned to the end of file, new records may be added sequentially without overwriting existing records. The instruction uses the following format:

 

 

[label]

POSITEOF

{file}

 

Where:

label

Optional. A Program Execution Label.

file

Required. A previously defined and opened FILE variable that is positioned to end of file.

Flags Affected: NONE

 

 

See Also: Example Code, Disk I/O Instructions

 



PL/B Language Reference OPENDEFAULT PREPARE