IFILE Examples
Example 1:
|
|
|
DIFILE is an ISAM file with the maximum record size set to 256 bytes (default).
Example 2:
|
|
|
|
BIFILE is an ISAM file with the maximum record size set to 504 bytes. Duplicate records are not allowed and all new records are written at the End of File, thus deleted record space is not reused.
Example 3:
|
|
|
|
TFILE is an ISAM file with variable length records allowed and a maximum record length of 120 bytes. The records 'can' be space compressed and are written at the End of File.
Example 4:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PTRFILE is a Pointer Variable that contains the address of another IFILE variable at execution time. This assignment is usually accomplished via the parameterized CALL instruction. Once initialized, PTRFILE may be used as any other IFILE variable. It takes on all the attributes of the pointed to IFILE variable.
Example 5:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This instruction defines a global ISAM file that is associated with a database and a view.
![]() |