INSERT AFILE Example


Example:

 

  

WRITE

IFILE,KEY;VARIABLES...

  

INSERT

AFILE

 

Logical file:

AFILE

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.

 



PL/B Language Reference INSERT (IFILE) Examples INSERTITEM Example