When you compile from the command line using the cob command, you include any directives as part of the command.
For example:
cob -C "SOURCEFORMAT(VARIABLE) COPYEXT(abc)" program1.cbl