>>-----set command_line_linkage=---.-TRUE--.------>< +-FALSE-+
TRUE | The command line can be accessed via the Linkage Section |
FALSE | The command line cannot be accessed via the Linkage Section |
Default: | FALSE |
IDE equivalent: | Use the Application.config file of the project - right-click the file in Solution Explorer and click Open, then select the Run-time Configuration tab. |
When using this tunable, the command line will be passed to the main program using the following parameter structure:
Linkage section. 01 CommandLinePass. 03 CommandLineLen pic 9(4) comp. 03 CommandLine pic x(256).
CommandLineLen contains the length of the parameters being passed and CommandLine contains the actual arguments being passed.
Comments:
This run-time tunable is provided for backward compatibility only. It works only with linked executables.
There is also an equivalent Compiler directive that provides this functionality (COMMAND-LINE-LINKAGE). If both the tunable and the directive are set, the setting for the directive take precedence.