When you compile from the command line using the cobol command, you include any directives as part of the command. This applies to command line fields in the IDE and any compilation started from a prompt.
For example:
cobol program1.cbl ANIM COPYEXT"abc";