Top
NetCOBOL V11.0 COBOL File Access RoutinesUser's Guide
FUJITSU Software

3.12 cobfa_reclen()

Returns the length of the current record.

long  cobfa_reclen  (
  void            /* no arguments */
);

Description

When handling files with variable length records, returns the length of the record just read. Unpredictable values are returned if the read function failed or there have been intervening function calls. This function is valid after calls to:

Execution Conditions

Always accessible.

Return Values

Length (in bytes) of the current record.