Previous Topic Next topic Print topic


Example of external filename assignment

 select fd-name
     assign to external envvar.

In this example, envvar must be an environment variable. Before executing the program, you must issue a SET command to relate envvar to the physical filename you want to use:

Windows:
set envvar=c:\test.dat
UNIX:
set envvar=/tmp/test.dat

At run-time, the filename fd-name is assigned to the file test.dat in the root directory on the c: drive.

Previous Topic Next topic Print topic