Skip to main content

[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

[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