Skip to main content

The directives file for compilation

  • May 27, 2011
  • 1 reply
  • 0 views

[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

  • Author
  • Rocketeer
  • 19312 replies
  • May 27, 2011

[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