File Positioning


Table 18. Position of the File Pointer When a File Is Opened with No POSITION= Specifier

-qposition suboptions Implicit OPEN Explicit OPEN
STATUS = 'NEW' STATUS = 'OLD' STATUS = 'UNKNOWN'
File exists File does not exist File exists File does not exist File exists File does not exist File exists File does not exist
option not specified Start Start Error Start Start Error Start Start
appendold Start Start Error Start End Error Start Start
appendunknown Start Start Error Start Start Error End Start
appendold and appendunknown Start Start Error Start End Error End Start

IBM Copyright 2003