Introduction MTB Statements File System Compiler Applications Reference Guide Index

Language Structure Data Division I/O Format Division Procedure Division Mnemonics

FILE (lun) POS=file-position

Syntax: FILE (lun) POS=file-position
Discussion: This statement is used to move the file pointer to the beginning or end of a file.

POS=BOF moves the pointer to the beginning of the file.

POS=EOF moves the pointer to the end of the file.

See FILE.