Here is an example using ARCDFLT:
SET ARCDFLT=C:\TESTARC\CONFIG.ARC
The example above is equivalent to:
ARCMAIN DEFAULT=C:\TESTARC\CONFIG.ARC
Almost all runtime parameters can be set as defaults in the file that is pointed to by ARCDFLT. This avoids long command-line arguments. ARCMAIN loads the contents of the file pointed to by ARCDFLT when ARCMAIN builds runtime parameters using these rules:
- If the path of a DEFAULT parameter file includes embedded spaces or special characters, enclose the path with single (’) or double (") quote marks.
- Permanently set ARCDFLT using . However. if a parameter is specified multiple times in different places, the override priority is:
- Parameters set in ARCENVX
- Actual runtime parameters on the command line
- Parameters set in ARCENV
- Parameters set in the default file pointed to by ARCDFLT