INSERT AFILE Example
Example:
WRITE
IFILE,KEY;VARIABLES...
INSERT
AFILE
Logical file:
Key:
The key information is extracted from the previously written variables.
The record and key are written to IFILE, the secondary key is inserted in AFILE.