ILE COBOL Programmer's Guide

FILE STATUS

When the FILE STATUS clause is specified, the system moves a value into the status key data item after each input/output request that explicitly or implicitly refers to this file. This 2-character value indicates the run status of the statement. When input records are unblocked and output records are blocked, file status values that are caused by OS/400 exceptions are set only when a block is processed. For more information about blocking records, refer to Unblocking Input Records and Blocking Output Records.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]