# File Processing Functions

> Source: https://manual.pvxplus.com/pxplus-user-guide/file-handling/processing-data-files/file-processing-functions

There are twelve file processing functions - all expect a file number as first argument.

|  |  |
| --- | --- |
| **[FIB( )](https://manual.pvxplus.com/functions/fib)** | Same as **FID( )** but always returns PxPlus native format. |
| **[FID( )](https://manual.pvxplus.com/functions/fid)** | Returns a description of characteristics of the file specified; returns 1 of 5 formats depending on the **['FF'](https://manual.pvxplus.com/parameters/ff)** parameter. |
| **[FIN( )](https://manual.pvxplus.com/functions/fin)** | Returns detailed physical aspects of the file specified. |
| **[IND( )](https://manual.pvxplus.com/functions/ind)** | Returns an index of the next record in the file. Generates an error at the end of file. |
| **[KEC( )](https://manual.pvxplus.com/functions/kec)** | Returns a key of the current (last read/written) record.Generates an error at the start of file. |
| **[KEF( )](https://manual.pvxplus.com/functions/kef)** | Returns the key of first record on the file. Generates an error if no records exist. |
| **[KEL( )](https://manual.pvxplus.com/functions/kel)** | Returns the key of the last record on the file. Generates an error if no records exist. |
| **[KEN( )](https://manual.pvxplus.com/functions/ken)** | Returns the key of the record after the next record to be read. |
| **[KEP( )](https://manual.pvxplus.com/functions/kep)** | Returns the key of the previous record - keyed files only. Generates an error at the start of file. |
| **[KEY( )](https://manual.pvxplus.com/functions/key)** | Returns the key of the next record. Generates an error at the end of file. |
| **[RCD( )](https://manual.pvxplus.com/functions/rcd)** | Returns contents of a record - equivalent to **READ RECORD**. See **[Processing Records](https://manual.pvxplus.com/pxplus-user-guide/file-handling/processing-data-files/processing-records)**. |
| **[RNO( )](https://manual.pvxplus.com/functions/rno)** | Returns the record number of a specified record in key sequence. |

See **[System Functions](https://manual.pvxplus.com/functions)** for a complete list of system functions.
