With static filename assignment, the filename is specified in the SELECT clause as a literal:
select filename assign to literal.
If the filename of the physical file that you are creating contains spaces, the filename is automatically surrounded by quotes for you.
In the following Windows example, opening stockfile causes the file warehs.buy in the current directory on the b: drive to be opened:
select stockfile assign to "b:warehs.buy".
In the following UNIX example, opening stockfile causes the file warehs.buy in the current directory to be opened:
select stockfile assign to "warehs.buy".
In this Windows example, a WRITE statement causes data to be output to prn:, the first parallel printer:
select printfile assign to "prn:".
In this Windows example, opening input-file opens the file prog in the directory data (relative to the current directory):
select input-file assign to "data\prog".