>>-----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 (Windows) or TRUE (UNIX) |
IDE equivalent: | > Pass the command line to a main program via Linkage section |
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.