Skip to main content

The directives file for compilation

  • May 27, 2011
  • 1 reply
  • 1 view

[Migrated content. Thread originally posted on 26 May 2011]

Hello all,

Can we specify which directive file to use when compiling from the command line. I know we can specify the DIR directive in netexpress projects or as $SET in the code, but can it be done from command line ?

I want to compile 2 sets of files that will use 2 different directives.

-PTeng

1 reply

[Migrated content. Thread originally posted on 26 May 2011]

Hello all,

Can we specify which directive file to use when compiling from the command line. I know we can specify the DIR directive in netexpress projects or as $SET in the code, but can it be done from command line ?

I want to compile 2 sets of files that will use 2 different directives.

-PTeng
Hi ,

The USE directive is best for this:-

cobol mycobol.cbl use"mydirfile.dir";

Regards
David