Setting Compiler directives from the command line

When you compile from the command line using the cob command, you include any directives as part of the command. This applies to command line fields in the IDE (for example the Command line arguments field of a Debug Configuration's Start Options) and any compilation started from a prompt.

For example:

cob program1.cbl SOURCEFORMAT"VARIABLE" COPYEXT"abc"