Assigning Filenames

The ASSIGN clause in the SELECT clause is used to specify either a physical filename or a logical name which can be mapped to a physical name at run time.

There are three types of filename assignment:

Run-time mapping of filenames is available for all three types of filename assignment.

 select input-file
     assign to "data/prog".